Skip to content

Commit bdb0e1d

Browse files
committed
chore: update to angular 4 final & fix animations
Fix #1880
1 parent 20e68d5 commit bdb0e1d

File tree

5 files changed

+58
-55
lines changed

5 files changed

+58
-55
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"author": "Minko Gechev <mgechev>",
4747
"license": "MIT",
4848
"devDependencies": {
49-
"@angular/compiler-cli": "^4.0.0-rc.2",
50-
"@angular/platform-server": "^4.0.0-rc.2",
49+
"@angular/compiler-cli": "^4.0.0",
50+
"@angular/platform-server": "^4.0.0",
5151
"@types/async": "^2.0.32",
5252
"@types/browser-sync": "^0.0.34",
5353
"@types/express": "^4.0.33",
@@ -80,9 +80,9 @@
8080
"gulp-cached": "^1.1.0",
8181
"gulp-concat": "^2.6.0",
8282
"gulp-concat-css": "^2.3.0",
83-
"gulp-filter": "^4.0.0-rc.2",
83+
"gulp-filter": "^4.0.0",
8484
"gulp-inject": "^4.1.0",
85-
"gulp-inline-ng2-template": "^4.0.0-rc.2",
85+
"gulp-inline-ng2-template": "^4.0.0",
8686
"gulp-load-plugins": "^1.3.0",
8787
"gulp-plumber": "~1.1.0",
8888
"gulp-postcss": "^6.2.0",
@@ -92,7 +92,7 @@
9292
"gulp-replace": "^0.5.4",
9393
"gulp-sass": "^3.0.0",
9494
"gulp-sourcemaps": "2.2.0",
95-
"gulp-template": "^4.0.0-rc.2",
95+
"gulp-template": "^4.0.0",
9696
"gulp-tslint": "7.0.1",
9797
"gulp-typescript": "^3.0.2",
9898
"gulp-uglify": "^2.0.0",
@@ -133,15 +133,15 @@
133133
"yargs": "^6.0.0"
134134
},
135135
"dependencies": {
136-
"@angular/animations": "^4.0.0-rc.2",
137-
"@angular/common": "^4.0.0-rc.2",
138-
"@angular/compiler": "^4.0.0-rc.2",
139-
"@angular/core": "^4.0.0-rc.2",
140-
"@angular/forms": "^4.0.0-rc.2",
141-
"@angular/http": "^4.0.0-rc.2",
142-
"@angular/platform-browser": "^4.0.0-rc.2",
143-
"@angular/platform-browser-dynamic": "^4.0.0-rc.2",
144-
"@angular/router": "^4.0.0-rc.2",
136+
"@angular/animations": "^4.0.0",
137+
"@angular/common": "^4.0.0",
138+
"@angular/compiler": "^4.0.0",
139+
"@angular/core": "^4.0.0",
140+
"@angular/forms": "^4.0.0",
141+
"@angular/http": "^4.0.0",
142+
"@angular/platform-browser": "^4.0.0",
143+
"@angular/platform-browser-dynamic": "^4.0.0",
144+
"@angular/router": "^4.0.0",
145145
"@angular/service-worker": "^1.0.0-beta.6",
146146
"core-js": "^2.4.1",
147147
"intl": "^1.2.5",

src/client/app/app.module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { AboutModule } from './about/about.module';
99
import { HomeModule } from './home/home.module';
1010
import { SharedModule } from './shared/shared.module';
1111

12+
1213
@NgModule({
1314
imports: [BrowserModule, HttpModule, AppRoutingModule, AboutModule, HomeModule, SharedModule.forRoot()],
1415
declarations: [AppComponent],

tools/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
*.js
22
*.js.map
3-
3+
env/env-config.interface.metadata.json

tools/config/seed.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ export class SeedConfig {
374374
'@angular/platform-browser': 'node_modules/@angular/platform-browser/bundles/platform-browser.umd.js',
375375
'@angular/platform-browser-dynamic': 'node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
376376
'@angular/router': 'node_modules/@angular/router/bundles/router.umd.js',
377+
'@angular/animations/browser': 'node_modules/@angular/animations/bundles/animations-browser.umd.js',
377378

378379
'@angular/common/testing': 'node_modules/@angular/common/bundles/common-testing.umd.js',
379380
'@angular/compiler/testing': 'node_modules/@angular/compiler/bundles/compiler-testing.umd.js',
@@ -421,6 +422,7 @@ export class SeedConfig {
421422
// `src/client`.
422423
[join(this.TMP_DIR, this.BOOTSTRAP_DIR, '*')]: `${this.TMP_DIR}/${this.BOOTSTRAP_DIR}/*`,
423424
'@angular/platform-browser/animations': 'node_modules/@angular/platform-browser/bundles/platform-browser-animations.umd.js',
425+
'@angular/animations/browser': 'node_modules/@angular/animations/bundles/animations-browser.umd.js',
424426
'dist/tmp/node_modules/*': 'dist/tmp/node_modules/*',
425427
'node_modules/*': 'node_modules/*',
426428
'*': 'node_modules/*'

yarn.lock

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,56 @@
22
# yarn lockfile v1
33

44

5-
"@angular/animations@^4.0.0-rc.2":
6-
version "4.0.0-rc.3"
7-
resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-4.0.0-rc.3.tgz#e294cbc6b3a9404811377c537aad478ad953b7b8"
5+
"@angular/animations@^4.0.0":
6+
version "4.0.0"
7+
resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-4.0.0.tgz#f6efb67ca3f3816d2dbf19b8f570371f2d205edc"
88

9-
"@angular/common@^4.0.0-rc.2":
10-
version "4.0.0-rc.2"
11-
resolved "https://registry.yarnpkg.com/@angular/common/-/common-4.0.0-rc.2.tgz#69f68639270d71b2e8c552e4fa939975fcb88304"
9+
"@angular/common@^4.0.0":
10+
version "4.0.0"
11+
resolved "https://registry.yarnpkg.com/@angular/common/-/common-4.0.0.tgz#ca18983222fdab4ecaa7a8b99eda6ff661e6dc92"
1212

13-
"@angular/compiler-cli@^4.0.0-rc.2":
14-
version "4.0.0-rc.2"
15-
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-4.0.0-rc.2.tgz#49730cb232d48aba25d68541eb9166bf5330dd2b"
13+
"@angular/compiler-cli@^4.0.0":
14+
version "4.0.0"
15+
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-4.0.0.tgz#35b2d40cd35135aecec4be659532148f5ac67da6"
1616
dependencies:
17-
"@angular/tsc-wrapped" "4.0.0-rc.2"
17+
"@angular/tsc-wrapped" "4.0.0"
1818
minimist "^1.2.0"
1919
reflect-metadata "^0.1.2"
2020

21-
"@angular/compiler@^4.0.0-rc.2":
22-
version "4.0.0-rc.2"
23-
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-4.0.0-rc.2.tgz#643e199e6792413f42cf149a9cf1672284787c11"
21+
"@angular/compiler@^4.0.0":
22+
version "4.0.0"
23+
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-4.0.0.tgz#e1aa061a6f8ef269f9748af1a7bc290f9d37ed6c"
2424

25-
"@angular/core@^4.0.0-rc.2":
26-
version "4.0.0-rc.2"
27-
resolved "https://registry.yarnpkg.com/@angular/core/-/core-4.0.0-rc.2.tgz#59535050e5d0e6141417186eee571296f8e9c3d0"
25+
"@angular/core@^4.0.0":
26+
version "4.0.0"
27+
resolved "https://registry.yarnpkg.com/@angular/core/-/core-4.0.0.tgz#fd877e074b29dfa9c63b96a21995fc7556d423a3"
2828

29-
"@angular/forms@^4.0.0-rc.2":
30-
version "4.0.0-rc.2"
31-
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-4.0.0-rc.2.tgz#6d9df97783b6023d652d97369db13d6ad6c7fa9e"
29+
"@angular/forms@^4.0.0":
30+
version "4.0.0"
31+
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-4.0.0.tgz#03163047a2e84af42106270da2e1f47ab0fafc37"
3232

33-
"@angular/http@^4.0.0-rc.2":
34-
version "4.0.0-rc.2"
35-
resolved "https://registry.yarnpkg.com/@angular/http/-/http-4.0.0-rc.2.tgz#145ecd17f483b97e7750bb9e00b60e48ff82b67a"
33+
"@angular/http@^4.0.0":
34+
version "4.0.0"
35+
resolved "https://registry.yarnpkg.com/@angular/http/-/http-4.0.0.tgz#45a538eac42a0b13f3744c7e8bafeb17d58da31c"
3636

37-
"@angular/platform-browser-dynamic@^4.0.0-rc.2":
38-
version "4.0.0-rc.2"
39-
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-4.0.0-rc.2.tgz#f2bbab322706dc6361d46647e1e2b7c26f036a1c"
37+
"@angular/platform-browser-dynamic@^4.0.0":
38+
version "4.0.0"
39+
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-4.0.0.tgz#d1d9de80fe1e02735be89f512e0faf5a80d57fa5"
4040

41-
"@angular/platform-browser@^4.0.0-rc.2":
42-
version "4.0.0-rc.2"
43-
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-4.0.0-rc.2.tgz#bcca05ce85d320ee0b257640f15479b59fed20f0"
41+
"@angular/platform-browser@^4.0.0":
42+
version "4.0.0"
43+
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-4.0.0.tgz#512ae9ab19ccc25fa79027f44e291bcee236cd2b"
4444

45-
"@angular/platform-server@^4.0.0-rc.2":
46-
version "4.0.0-rc.2"
47-
resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-4.0.0-rc.2.tgz#3b09f4e2f2dc1b7d723fbbdc6b99117019c0f9de"
45+
"@angular/platform-server@^4.0.0":
46+
version "4.0.0"
47+
resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-4.0.0.tgz#d76d61787cd3be3ce8ed46043d6a8c82572f567d"
4848
dependencies:
4949
parse5 "^3.0.1"
5050
xhr2 "^0.1.4"
5151

52-
"@angular/router@^4.0.0-rc.2":
53-
version "4.0.0-rc.2"
54-
resolved "https://registry.yarnpkg.com/@angular/router/-/router-4.0.0-rc.2.tgz#66fc5be012caa38441314d0a0b9c9b6a723c471a"
52+
"@angular/router@^4.0.0":
53+
version "4.0.0"
54+
resolved "https://registry.yarnpkg.com/@angular/router/-/router-4.0.0.tgz#f4a2dc83b44e023db1d6f2c12ca5a37a22c66afc"
5555

5656
"@angular/service-worker@^1.0.0-beta.6":
5757
version "1.0.0-beta.7"
@@ -60,9 +60,9 @@
6060
base64-js "^1.1.2"
6161
jshashes "^1.0.5"
6262

63-
"@angular/[email protected]-rc.2":
64-
version "4.0.0-rc.2"
65-
resolved "https://registry.yarnpkg.com/@angular/tsc-wrapped/-/tsc-wrapped-4.0.0-rc.2.tgz#d7023d93f4576b6f776ffc7175ff760e7e133705"
63+
"@angular/[email protected]":
64+
version "4.0.0"
65+
resolved "https://registry.yarnpkg.com/@angular/tsc-wrapped/-/tsc-wrapped-4.0.0.tgz#ea91eeda98029cdb0a4ac37d5e25d9d12a4333c1"
6666
dependencies:
6767
tsickle "^0.21.0"
6868

@@ -2438,7 +2438,7 @@ gulp-concat@^2.6.0:
24382438
through2 "^2.0.0"
24392439
vinyl "^2.0.0"
24402440

2441-
gulp-filter@^4.0.0-rc.2:
2441+
gulp-filter@^4.0.0:
24422442
version "4.0.0"
24432443
resolved "https://registry.yarnpkg.com/gulp-filter/-/gulp-filter-4.0.0.tgz#395f58a256c559cdb9e0d157f1caaf5248a38dcb"
24442444
dependencies:
@@ -2458,7 +2458,7 @@ gulp-inject@^4.1.0:
24582458
stream-to-array "^2.3.0"
24592459
through2 "^2.0.1"
24602460

2461-
gulp-inline-ng2-template@^4.0.0-rc.2:
2461+
gulp-inline-ng2-template@^4.0.0:
24622462
version "4.0.0"
24632463
resolved "https://registry.yarnpkg.com/gulp-inline-ng2-template/-/gulp-inline-ng2-template-4.0.0.tgz#a145f216f79a0da6c9c6b17bce47e199018cd838"
24642464
dependencies:
@@ -2562,7 +2562,7 @@ [email protected]:
25622562
through2 "2.X"
25632563
vinyl "1.X"
25642564

2565-
gulp-template@^4.0.0-rc.2:
2565+
gulp-template@^4.0.0:
25662566
version "4.0.0"
25672567
resolved "https://registry.yarnpkg.com/gulp-template/-/gulp-template-4.0.0.tgz#05de36808c6fb9966578d5a94ee72cee08cdc53b"
25682568
dependencies:

0 commit comments

Comments
 (0)