Skip to content

Commit ad8acb0

Browse files
alan-agius4Keen Yee Liau
authored andcommitted
build: bump angular dev packages to latest next versions
1 parent 08d7d02 commit ad8acb0

File tree

13 files changed

+109
-102
lines changed

13 files changed

+109
-102
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
"typescript": "3.5.3"
8181
},
8282
"devDependencies": {
83-
"@angular/compiler": "~9.0.0-next.2",
84-
"@angular/compiler-cli": "~9.0.0-next.2",
83+
"@angular/compiler": "~9.0.0-next.3",
84+
"@angular/compiler-cli": "~9.0.0-next.3",
8585
"@bazel/bazel": "0.28.1",
8686
"@bazel/buildifier": "0.28.0",
8787
"@bazel/jasmine": "0.36.1",

packages/angular_devkit/build_angular/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,19 @@
6464
"worker-plugin": "3.1.0"
6565
},
6666
"devDependencies": {
67-
"@angular/animations": "~9.0.0-next.2",
67+
"@angular/animations": "~9.0.0-next.3",
6868
"@angular/cdk": "~8.1.0",
69-
"@angular/common": "~9.0.0-next.2",
70-
"@angular/compiler": "~9.0.0-next.2",
71-
"@angular/compiler-cli": "~9.0.0-next.2",
72-
"@angular/core": "~9.0.0-next.2",
73-
"@angular/forms": "~9.0.0-next.2",
69+
"@angular/common": "~9.0.0-next.3",
70+
"@angular/compiler": "~9.0.0-next.3",
71+
"@angular/compiler-cli": "~9.0.0-next.3",
72+
"@angular/core": "~9.0.0-next.3",
73+
"@angular/forms": "~9.0.0-next.3",
7474
"@angular/material": "~8.1.0",
75-
"@angular/platform-browser": "~9.0.0-next.2",
76-
"@angular/platform-browser-dynamic": "~9.0.0-next.2",
77-
"@angular/platform-server": "~9.0.0-next.2",
78-
"@angular/router": "~9.0.0-next.2",
79-
"@angular/service-worker": "~9.0.0-next.2",
75+
"@angular/platform-browser": "~9.0.0-next.3",
76+
"@angular/platform-browser-dynamic": "~9.0.0-next.3",
77+
"@angular/platform-server": "~9.0.0-next.3",
78+
"@angular/router": "~9.0.0-next.3",
79+
"@angular/service-worker": "~9.0.0-next.3",
8080
"codelyzer": "^5.0.0",
8181
"bootstrap": "^4.0.0",
8282
"font-awesome": "^4.7.0",

packages/angular_devkit/build_ng_packagr/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"ng-packagr": "^4.0.0 || ^5.0.0"
1515
},
1616
"devDependencies": {
17-
"@angular/compiler": "~9.0.0-next.2",
18-
"@angular/compiler-cli": "~9.0.0-next.2",
17+
"@angular/compiler": "~9.0.0-next.3",
18+
"@angular/compiler-cli": "~9.0.0-next.3",
1919
"@angular-devkit/core": "0.0.0",
2020
"ng-packagr": "~5.5.0",
2121
"tslib": "^1.10.0"

packages/ngtools/webpack/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"webpack": "^4.0.0"
3434
},
3535
"devDependencies": {
36-
"@angular/compiler": "~9.0.0-next.2",
37-
"@angular/compiler-cli": "~9.0.0-next.2",
36+
"@angular/compiler": "~9.0.0-next.3",
37+
"@angular/compiler-cli": "~9.0.0-next.3",
3838
"typescript": "3.5.3",
3939
"webpack": "4.39.2"
4040
}

packages/schematics/angular/utility/latest-versions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
export const latestVersions = {
1010
// These versions should be kept up to date with latest Angular peer dependencies.
11-
Angular: '~9.0.0-next.2',
11+
Angular: '~9.0.0-next.3',
1212
RxJs: '~6.4.0',
1313
ZoneJs: '~0.10.1',
1414
TypeScript: '~3.5.3',

packages/schematics/angular/workspace/files/tsconfig.json.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
]
2121
},
2222
"angularCompilerOptions": {
23-
"enableIvy": true,
2423
"fullTemplateTypeCheck": true,
2524
"strictInjectionParameters": true
2625
}

tests/angular_devkit/build_angular/hello-world-app-ivy/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,5 @@
1717
"es2017",
1818
"dom"
1919
]
20-
},
21-
"angularCompilerOptions": {
22-
"enableIvy": true
2320
}
2421
}

tests/angular_devkit/build_ng_packagr/ng-packaged-ivy/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,5 @@
1616
"es2017",
1717
"dom"
1818
]
19-
},
20-
"angularCompilerOptions": {
21-
"enableIvy": true
2219
}
2320
}

tests/angular_devkit/build_webpack/angular-app/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"es2017",
1717
"dom"
1818
]
19+
},
20+
"angularCompilerOptions": {
21+
"enableIvy": false
1922
}
2023
}

tests/legacy-cli/e2e/assets/webpack/test-app/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"name": "test",
33
"license": "MIT",
44
"dependencies": {
5-
"@angular/common": "~9.0.0-next.2",
6-
"@angular/compiler": "~9.0.0-next.2",
7-
"@angular/compiler-cli": "~9.0.0-next.2",
8-
"@angular/core": "~9.0.0-next.2",
9-
"@angular/platform-browser": "~9.0.0-next.2",
10-
"@angular/platform-browser-dynamic": "~9.0.0-next.2",
11-
"@angular/platform-server": "~9.0.0-next.2",
12-
"@angular/router": "~9.0.0-next.2",
5+
"@angular/common": "~9.0.0-next.3",
6+
"@angular/compiler": "~9.0.0-next.3",
7+
"@angular/compiler-cli": "~9.0.0-next.3",
8+
"@angular/core": "~9.0.0-next.3",
9+
"@angular/platform-browser": "~9.0.0-next.3",
10+
"@angular/platform-browser-dynamic": "~9.0.0-next.3",
11+
"@angular/platform-server": "~9.0.0-next.3",
12+
"@angular/router": "~9.0.0-next.3",
1313
"@ngtools/webpack": "0.0.0",
1414
"core-js": "^3.0.0",
1515
"rxjs": "^6.4.0",

tests/legacy-cli/e2e/assets/webpack/test-app/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
// Test comment
32
"compilerOptions": {
43
"baseUrl": "",
54
"module": "es2015",
Lines changed: 36 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,37 @@
1-
import {normalize} from 'path';
2-
import {createProjectFromAsset} from '../../../utils/assets';
3-
import {exec} from '../../../utils/process';
4-
import {expectFileSizeToBeUnder, replaceInFile, expectFileToMatch} from '../../../utils/fs';
5-
6-
7-
export default function(skipCleaning: () => void) {
8-
return Promise.resolve()
9-
.then(() => createProjectFromAsset('webpack/test-app'))
10-
.then(() => exec(normalize('node_modules/.bin/webpack-cli')))
11-
// Note: these sizes are without Build Optimizer or any advanced optimizations in the CLI.
12-
.then(() => expectFileSizeToBeUnder('dist/app.main.js', 483 * 1024))
13-
.then(() => expectFileSizeToBeUnder('dist/0.app.main.js', 25 * 1024))
14-
.then(() => expectFileSizeToBeUnder('dist/1.app.main.js', 2 * 1024))
15-
// test resource urls without ./
16-
.then(() => replaceInFile('app/app.component.ts',
17-
'./app.component.html', 'app.component.html'))
18-
.then(() => replaceInFile('app/app.component.ts',
19-
'./app.component.scss', 'app.component.scss'))
20-
// test the inclusion of metadata
21-
// This build also test resource URLs without ./
22-
.then(() => exec(normalize('node_modules/.bin/webpack-cli'), '--mode=development'))
23-
.then(() => expectFileToMatch('dist/app.main.js', 'AppModuleNgFactory'))
24-
.then(() => skipCleaning());
1+
import { normalize } from 'path';
2+
import { createProjectFromAsset } from '../../../utils/assets';
3+
import { getGlobalVariable } from '../../../utils/env';
4+
import { expectFileSizeToBeUnder, expectFileToMatch, replaceInFile } from '../../../utils/fs';
5+
import { exec } from '../../../utils/process';
6+
import { updateJsonFile } from '../../../utils/project';
7+
8+
9+
export default async function (skipCleaning: () => void) {
10+
const webpackCLIBin = normalize('node_modules/.bin/webpack-cli');
11+
const isIvy = getGlobalVariable('argv')['ivy'];
12+
13+
await createProjectFromAsset('webpack/test-app');
14+
if (!isIvy) {
15+
await updateJsonFile('tsconfig.json', config => {
16+
config.angularCompilerOptions.enableIvy = false;
17+
});
18+
}
19+
20+
await exec(webpackCLIBin);
21+
22+
// Note: these sizes are without Build Optimizer or any advanced optimizations in the CLI.
23+
await expectFileSizeToBeUnder('dist/app.main.js', (isIvy ? 565 : 483) * 1024);
24+
await expectFileSizeToBeUnder('dist/0.app.main.js', 1 * 1024);
25+
await expectFileSizeToBeUnder('dist/1.app.main.js', 2 * 1024);
26+
27+
// test resource urls without ./
28+
await replaceInFile('app/app.component.ts', './app.component.html', 'app.component.html');
29+
await replaceInFile('app/app.component.ts', './app.component.scss', 'app.component.scss');
30+
31+
// test the inclusion of metadata
32+
// This build also test resource URLs without ./
33+
await exec(webpackCLIBin, '--mode=development');
34+
await expectFileToMatch('dist/app.main.js', `AppModule${isIvy ? '' : 'NgFactory'}`);
35+
36+
skipCleaning();
2537
}

yarn.lock

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

44

5-
"@angular/animations@~9.0.0-next.2":
6-
version "9.0.0-next.2"
7-
resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-9.0.0-next.2.tgz#8c54d9e48948d798b6cf69428b614613ad68d9e0"
8-
integrity sha512-Fx0jqxbxC6/wKowPsKG0vUKaf8cu2/8eKx5/UVoRvdC2S0at3Ud49SKvJD0XcSL1tqVFbYOAvURmkNZSFQlLGA==
5+
"@angular/animations@~9.0.0-next.3":
6+
version "9.0.0-next.3"
7+
resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-9.0.0-next.3.tgz#ce20fe948f0327fd8f8faa59f4bfd3967cdb54f3"
8+
integrity sha512-wkAfZ21AH43qPuOKnNQn27KPuIGS4fPCOi+QtPI0E2QH0+iHaXnwVMjB7UYbZM/KMT2ewg0s/s2Jt82Oc3kxyg==
99
dependencies:
1010
tslib "^1.9.0"
1111

@@ -18,17 +18,17 @@
1818
optionalDependencies:
1919
parse5 "^5.0.0"
2020

21-
"@angular/common@~9.0.0-next.2":
22-
version "9.0.0-next.2"
23-
resolved "https://registry.yarnpkg.com/@angular/common/-/common-9.0.0-next.2.tgz#aac53c8725f768eb0afbb5c6912050606324a5c7"
24-
integrity sha512-kBTuqoJo2L318+sVQJWmL6gJDSxdkqpdXWb4QPa5P7tk1/ptPXDD4w5qBA3yXfZfD1bUFP37URVhVA/h+CyNDQ==
21+
"@angular/common@~9.0.0-next.3":
22+
version "9.0.0-next.3"
23+
resolved "https://registry.yarnpkg.com/@angular/common/-/common-9.0.0-next.3.tgz#347ef82c8c4b29371551ed1e643d4f235f7b59f2"
24+
integrity sha512-9j8QpL6F+AgTjuy7PLiK76v/tbU0XuDu+vx/hmoVSyEjt/zge4io/BgKv7/Ut+HgUfqjkusFZ/ystJ2OJ3XY3Q==
2525
dependencies:
2626
tslib "^1.9.0"
2727

28-
"@angular/compiler-cli@~9.0.0-next.2":
29-
version "9.0.0-next.2"
30-
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-9.0.0-next.2.tgz#c8907665db7e49a6ddcc07c52d20bf487d19e62e"
31-
integrity sha512-bsDWWBrNV+BtexyQj/Wglw56+b8TBAm+AwUwdXFi/kFvneq7mg9zdmVW2o5azRS5ixdXlzAG9K3qemD9EGHk7w==
28+
"@angular/compiler-cli@~9.0.0-next.3":
29+
version "9.0.0-next.3"
30+
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-9.0.0-next.3.tgz#11e59406270c2516fd66e4b675212decd59d063f"
31+
integrity sha512-g8fuuz9A8ZrvEXyy6JQxLESg5G8pcFQveyUi6RNDCFxjcnk0NHVLxcCzt1KnnsoWWfPhRtEerOCB3rX0JSgj5w==
3232
dependencies:
3333
canonical-path "1.0.0"
3434
chokidar "^2.1.1"
@@ -41,24 +41,24 @@
4141
tslib "^1.9.0"
4242
yargs "13.1.0"
4343

44-
"@angular/compiler@~9.0.0-next.2":
45-
version "9.0.0-next.2"
46-
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-9.0.0-next.2.tgz#dd9e5b4c8bd355da6d78dec057655e71571dd947"
47-
integrity sha512-D4yrilNn3DTRn9O/Z6Y/zkAEwZjTDwJvDETnXjK3FDrSOATavUq3GHHsVJcC43QvPSVWoX7biuRpI225oNB1EQ==
44+
"@angular/compiler@~9.0.0-next.3":
45+
version "9.0.0-next.3"
46+
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-9.0.0-next.3.tgz#6e60dd862ab0f2e88a25cd361e49e97c6edabb29"
47+
integrity sha512-J+5tKY7IQcgDMLAg81UT9n5mFZ2/AaYM1eH6NLPe9qywTbHr2rqklrP0deAXny3LrDv/BzeB9XeMF3WaQnfsyQ==
4848
dependencies:
4949
tslib "^1.9.0"
5050

51-
"@angular/core@~9.0.0-next.2":
52-
version "9.0.0-next.2"
53-
resolved "https://registry.yarnpkg.com/@angular/core/-/core-9.0.0-next.2.tgz#25d1d04bc9c8d35a6ba5ec7581006671370e40ad"
54-
integrity sha512-ftoNegNFbCQm7zf9OOVgV/nUZfx8OQFWu/zwsm/hyonI7BicfZs/B1h2Tn9iemWzkcJzlnH4Cnh+2NV1jcTZuw==
51+
"@angular/core@~9.0.0-next.3":
52+
version "9.0.0-next.3"
53+
resolved "https://registry.yarnpkg.com/@angular/core/-/core-9.0.0-next.3.tgz#d1dfa4a03ebe182effb8481bcefcb934f6e3cab4"
54+
integrity sha512-BC8uaU60pvopSvtgSxb1rG/6vRz5J+KqPHz8E+laDsFqVcuXxOzdIJrFkYk+lVjoBZlKLppTmxstEj8wl2ZZYw==
5555
dependencies:
5656
tslib "^1.9.0"
5757

58-
"@angular/forms@~9.0.0-next.2":
59-
version "9.0.0-next.2"
60-
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-9.0.0-next.2.tgz#e6bfcf638eecedba3dca7d072982bcf37eb5e408"
61-
integrity sha512-y8YXezn+VY4X2/h1eV4F2c3mCZ5eheyUtq3ZBEAsnrOH2czh3RVE2RuMr3gpXoGHSqq74iGHDCt0qi4ka4R8tQ==
58+
"@angular/forms@~9.0.0-next.3":
59+
version "9.0.0-next.3"
60+
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-9.0.0-next.3.tgz#efbc4dd8279ada2f60a00d0c59801bbbf7e91361"
61+
integrity sha512-2fazhHaO7dw8NEnBvTeKGY37oiD3kMS0ifzrMX+qcR+v0i9Z/D7zQOSPod1ZFLKv3NT8RDMwzA/A9768Q9hk9Q==
6262
dependencies:
6363
tslib "^1.9.0"
6464

@@ -69,40 +69,40 @@
6969
dependencies:
7070
tslib "^1.7.1"
7171

72-
"@angular/platform-browser-dynamic@~9.0.0-next.2":
73-
version "9.0.0-next.2"
74-
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.0.0-next.2.tgz#1e255efd2fb24d4a17b5282fad06405a346761cf"
75-
integrity sha512-WYooQcqDjqqVaMfy2jMUe8ErbWpOe0whpLboyXfuM7Fk7bQwVc3oPE1rPIiujhdbAresHzKnU0YvkC53I2xrkA==
72+
"@angular/platform-browser-dynamic@~9.0.0-next.3":
73+
version "9.0.0-next.3"
74+
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.0.0-next.3.tgz#bdd58969f2db8823289d56465d76ccf001723e7b"
75+
integrity sha512-K/ewX4vv3vE2fn8SpLIqLqc6HMM8TbUo1gVjgwKs/n5b72Tk+vWG7gh8fuJzXd0OMYHVqOd7bmqZNjEO8FiY0w==
7676
dependencies:
7777
tslib "^1.9.0"
7878

79-
"@angular/platform-browser@~9.0.0-next.2":
80-
version "9.0.0-next.2"
81-
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-9.0.0-next.2.tgz#4687ea54dc7a65590103151cc3f68dd6bb4429bd"
82-
integrity sha512-TSfKc70Uw7Ah1NSakJaPct88Gn6ovSlugVEBSBlr/IiY1Cu+/jeaNiSeDe1uBbk6c8W5KZVggRx0Bz46wEKPZA==
79+
"@angular/platform-browser@~9.0.0-next.3":
80+
version "9.0.0-next.3"
81+
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-9.0.0-next.3.tgz#f4a699e37dfc2241baf24e555d819d45c78f22de"
82+
integrity sha512-PdSMzAq8akumBsC9BKx/Ra9UnX3eZPkB3PaMjOsoeVmqH4KRuZAsowrQR8z3f/2d33yPUrGLykjEc8l9aARNSQ==
8383
dependencies:
8484
tslib "^1.9.0"
8585

86-
"@angular/platform-server@~9.0.0-next.2":
87-
version "9.0.0-next.2"
88-
resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-9.0.0-next.2.tgz#b4c2110847ae0a4413be58dd5b942cac403dc34b"
89-
integrity sha512-cSlC5A4AJvPHUyfE2m1DJV8LRmQKG+U+RFlvsoOmF1B44yrgy98plUFY0P/fYRaace7rC/I+9xiAo1SxaQ6Xjw==
86+
"@angular/platform-server@~9.0.0-next.3":
87+
version "9.0.0-next.3"
88+
resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-9.0.0-next.3.tgz#a33371d642c0e726c837873fe40d0664af054f46"
89+
integrity sha512-PuU2DHxf/rHWb3TPUB8R/jMmYu/2ZcniMsRg3LffvcAK+zKUFQnGvhILjvlR/bc3cLapd3WEklJIXJszmBe9Lg==
9090
dependencies:
9191
domino "^2.1.2"
9292
tslib "^1.9.0"
9393
xhr2 "^0.1.4"
9494

95-
"@angular/router@~9.0.0-next.2":
96-
version "9.0.0-next.2"
97-
resolved "https://registry.yarnpkg.com/@angular/router/-/router-9.0.0-next.2.tgz#7888df02845ac2ae71316e560f9f1db2d1ef9bff"
98-
integrity sha512-NNYbcKi5ViiISXkNGTTdvOYsgvi6dI9P+WizBz+uItYcuqwBKog54I/4Byx8CMgGTyZALIzPDbDLXv118deA+Q==
95+
"@angular/router@~9.0.0-next.3":
96+
version "9.0.0-next.3"
97+
resolved "https://registry.yarnpkg.com/@angular/router/-/router-9.0.0-next.3.tgz#7480ec7d756eb0609d66617d7defd52cec6c8d3e"
98+
integrity sha512-TKVwIMluyeBC3rRptIbXgs4EhZPYEjeNZM77Xc0HSnAYMWTk43i6cyVqj6PfdtVj4MfWR7gpyc+orrCZMuF+4A==
9999
dependencies:
100100
tslib "^1.9.0"
101101

102-
"@angular/service-worker@~9.0.0-next.2":
103-
version "9.0.0-next.2"
104-
resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-9.0.0-next.2.tgz#523b7a2736f758344dbd49c4567a46ba02489b71"
105-
integrity sha512-l2xy8AAFEBFo6AVD5ouN714CyeQjhCFM4Q+o373+NVf1xDIf8hrgN3TLdHadfd3Z2BDGADjDD1MjzeE7wxn/9A==
102+
"@angular/service-worker@~9.0.0-next.3":
103+
version "9.0.0-next.3"
104+
resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-9.0.0-next.3.tgz#ea1c0717224e9cd9975e007f4d93dc593532faac"
105+
integrity sha512-rckN+/WrGY0WBPeACP7uPScgl3XudrGrufWSIJyYqjweCvqhjzkTVE1tvyKWxB2GE4te9FNC/I2Ew7QCG2cf8w==
106106
dependencies:
107107
tslib "^1.9.0"
108108

0 commit comments

Comments
 (0)