Skip to content

Commit 7d1982b

Browse files
committed
refactor(ng2): upgrade to ng2 release, cli latest + webpack
1 parent 3045d70 commit 7d1982b

File tree

90 files changed

+599
-3155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+599
-3155
lines changed

.clang-format

Lines changed: 0 additions & 3 deletions
This file was deleted.

.editorconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
# http://editorconfig.org
1+
# Editor configuration, see http://editorconfig.org
22
root = true
33

44
[*]
55
charset = utf-8
66
indent_style = space
77
indent_size = 2
8-
end_of_line = lf
98
insert_final_newline = true
109
trim_trailing_whitespace = true
1110

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010

1111
# IDEs and editors
1212
/.idea
13+
/.vscode
14+
.project
15+
.classpath
16+
*.launch
17+
.settings/
1318

1419
# misc
1520
/.sass-cache

.vscode/launch.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

README.ng.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# MigrationProject
2+
3+
This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.19-3.
4+
5+
## Development server
6+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
7+
8+
## Code scaffolding
9+
10+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class`.
11+
12+
## Build
13+
14+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
15+
16+
## Running unit tests
17+
18+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
19+
20+
## Running end-to-end tests
21+
22+
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
23+
Before running the tests make sure you are serving the app via `ng serve`.
24+
25+
## Deploying to Github Pages
26+
27+
Run `ng github-pages:deploy` to deploy to Github Pages.
28+
29+
## Further help
30+
31+
To get more help on the `angular-cli` use `ng --help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

angular-cli-build.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

angular-cli.json

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,59 @@
11
{
22
"project": {
3-
"version": "1.0.0-beta.5",
3+
"version": "1.0.0-beta.19-3",
44
"name": "angular2-login-seed"
55
},
66
"apps": [
77
{
8-
"main": "src/main.ts",
9-
"tsconfig": "src/tsconfig.json",
10-
"mobile": false
8+
"root": "src",
9+
"outDir": "dist",
10+
"assets": [
11+
"assets",
12+
"favicon.ico"
13+
],
14+
"index": "index.html",
15+
"main": "main.ts",
16+
"test": "test.ts",
17+
"tsconfig": "tsconfig.json",
18+
"prefix": "app",
19+
"mobile": false,
20+
"styles": [
21+
"styles.css"
22+
],
23+
"scripts": [],
24+
"environments": {
25+
"source": "environments/environment.ts",
26+
"dev": "environments/environment.ts",
27+
"prod": "environments/environment.prod.ts"
28+
}
1129
}
1230
],
1331
"addons": [],
1432
"packages": [],
1533
"e2e": {
1634
"protractor": {
17-
"config": "config/protractor.conf.js"
35+
"config": "./protractor.conf.js"
1836
}
1937
},
2038
"test": {
2139
"karma": {
22-
"config": "config/karma.conf.js"
40+
"config": "./karma.conf.js"
2341
}
2442
},
2543
"defaults": {
26-
"prefix": "app",
27-
"sourceDir": "src",
2844
"styleExt": "css",
29-
"prefixInterfaces": false
45+
"prefixInterfaces": false,
46+
"inline": {
47+
"style": false,
48+
"template": false
49+
},
50+
"spec": {
51+
"class": false,
52+
"component": true,
53+
"directive": true,
54+
"module": false,
55+
"pipe": true,
56+
"service": true
57+
}
3058
}
3159
}

app-component-tree.png

-44.9 KB
Binary file not shown.

app.js

Lines changed: 0 additions & 87 deletions
This file was deleted.

bin/www

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)