Skip to content

feat(@schematics/angular): use ngcc on postinstall #15801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
"typescript": "3.5.3"
},
"devDependencies": {
"@angular/compiler": "9.0.0-next.9",
"@angular/compiler-cli": "9.0.0-next.9",
"@angular/compiler": "9.0.0-next.10",
"@angular/compiler-cli": "9.0.0-next.10",
"@bazel/bazel": "0.29.0",
"@bazel/buildifier": "0.29.0",
"@bazel/jasmine": "0.37.1",
Expand Down
24 changes: 12 additions & 12 deletions packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,20 @@
"worker-plugin": "3.2.0"
},
"devDependencies": {
"@angular/animations": "9.0.0-next.9",
"@angular/animations": "9.0.0-next.10",
"@angular/cdk": "8.2.2",
"@angular/common": "9.0.0-next.9",
"@angular/compiler": "9.0.0-next.9",
"@angular/compiler-cli": "9.0.0-next.9",
"@angular/core": "9.0.0-next.9",
"@angular/forms": "9.0.0-next.9",
"@angular/localize": "9.0.0-next.9",
"@angular/common": "9.0.0-next.10",
"@angular/compiler": "9.0.0-next.10",
"@angular/compiler-cli": "9.0.0-next.10",
"@angular/core": "9.0.0-next.10",
"@angular/forms": "9.0.0-next.10",
"@angular/localize": "9.0.0-next.10",
"@angular/material": "8.2.2",
"@angular/platform-browser": "9.0.0-next.9",
"@angular/platform-browser-dynamic": "9.0.0-next.9",
"@angular/platform-server": "9.0.0-next.9",
"@angular/router": "9.0.0-next.9",
"@angular/service-worker": "9.0.0-next.9",
"@angular/platform-browser": "9.0.0-next.10",
"@angular/platform-browser-dynamic": "9.0.0-next.10",
"@angular/platform-server": "9.0.0-next.10",
"@angular/router": "9.0.0-next.10",
"@angular/service-worker": "9.0.0-next.10",
"codelyzer": "^5.0.0",
"bootstrap": "^4.0.0",
"font-awesome": "^4.7.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/angular_devkit/build_ng_packagr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"ng-packagr": "^4.0.0 || ^5.0.0"
},
"devDependencies": {
"@angular/compiler": "9.0.0-next.9",
"@angular/compiler-cli": "9.0.0-next.9",
"@angular/compiler": "9.0.0-next.10",
"@angular/compiler-cli": "9.0.0-next.10",
"@angular-devkit/core": "0.0.0",
"ng-packagr": "~5.6.0",
"tslib": "^1.10.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/ngtools/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"webpack": "^4.0.0"
},
"devDependencies": {
"@angular/compiler": "9.0.0-next.9",
"@angular/compiler-cli": "9.0.0-next.9",
"@angular/compiler": "9.0.0-next.10",
"@angular/compiler-cli": "9.0.0-next.10",
"typescript": "3.5.3",
"webpack": "4.41.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/schematics/angular/utility/latest-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

export const latestVersions = {
// These versions should be kept up to date with latest Angular peer dependencies.
Angular: '~9.0.0-next.9',
Angular: '~9.0.0-next.10',
RxJs: '~6.5.3',
ZoneJs: '~0.10.2',
TypeScript: '~3.5.3',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"postinstall": "ivy-ngcc --properties es2015 --create-ivy-entry-points"
},
"private": true,
"dependencies": {
Expand Down
133 changes: 84 additions & 49 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# yarn lockfile v1


"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-9.0.0-next.9.tgz#ad169fe6f171a9c917a5c2a0a8ade9159fe9cb3c"
integrity sha512-0d1DNSfaVlPNa4irmHvb7xGo/N6D0eV/mxVGhsisNKQlVKzyMB5/zE/Un0snKa7tkfhU0hvwnMYp5WDl1k5Osg==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-9.0.0-next.10.tgz#965e5f1b9533fc1177dd122c21dadd8f7a349d2b"
integrity sha512-KEH0oW2JCIUCsdA6NjJIP8V0fEYWLkccYwBGXvlhDnNW5d5JLhNEpjugrFaREYIQD/Qguu71eoZDFTdaJr7e/g==
dependencies:
tslib "^1.9.0"

Expand All @@ -18,17 +18,17 @@
optionalDependencies:
parse5 "^5.0.0"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/common/-/common-9.0.0-next.9.tgz#e80cf09429960747780b7271fca056daca5e7796"
integrity sha512-mGb32CNcA5E4kAfalXgGS79nYWajLB25ifokuKjlgzPw396wVUyE30X9IglPX9w9pq2fXuyYpmDLUhzB4E4fMw==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/common/-/common-9.0.0-next.10.tgz#1d57400d0c4af121546177b143b5ab10be0bf8f2"
integrity sha512-PrXIb+5f6IuZSgWpn0YpOWIYHCDcBJMihMBafHk+VaWtAPjdXGBo9PeBhXROPXGQrcMxorZHBCaj7REZcrh3Ug==
dependencies:
tslib "^1.9.0"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-9.0.0-next.9.tgz#99e56e2ecf37d83cb8137edf893f5326b55998b1"
integrity sha512-TVMdrCHJ9tLPZiRulzAQwsttV6wpOFoDqEEbXV5pY5eHBcv2lP7vJxm5FfJ3XEqMdMyx68h0W4N8TYBraDaGJw==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-9.0.0-next.10.tgz#6465bd2b98bbbf8e6ec29260de4ee48c69272d23"
integrity sha512-D4deoczwl6iNTjWtd4Cp8bQYmH9GE1CI64bK2WQLEp35UZRizRSFvFSht/7+BzdiEi7/+Sn31MiDUdkQCnYe2A==
dependencies:
canonical-path "1.0.0"
chokidar "^2.1.1"
Expand All @@ -41,31 +41,35 @@
tslib "^1.9.0"
yargs "13.1.0"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-9.0.0-next.9.tgz#a0dd68d931b74f0eb1d4342965548c8a403529ba"
integrity sha512-vRywLqsf1VQHuXkSgsjJY1HNVz9GGS3z9KcIwTW+CZsDNteULmLOIHTWxguBx4MfLz77TlOGtiDxosUqxqVZcA==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-9.0.0-next.10.tgz#299a0d5b63e68debe1b2469b12bda61f76d47450"
integrity sha512-02+et2JJ8lkwBTFj+OiLcDat8mWgpLJRpUFFWzHJyEOIkfv/maDMmF6pQzI6X8YCyKaaOEIXaNZcfIYshewxJA==
dependencies:
tslib "^1.9.0"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/core/-/core-9.0.0-next.9.tgz#c78fc8228d692e3c24dc5f6862644131242d29cc"
integrity sha512-8UJE+3ZVuNNVKcKewtx7jR0K7dHpcsPc9RE0UHil6QBNuyvyaVgDb7pSYdIEs2dx0pX78akvM8VF87Fvc20xWw==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/core/-/core-9.0.0-next.10.tgz#6617be2e5e757b081e2c2bb52278240586020214"
integrity sha512-YXQacLAB4yk1bFztUr0XdHCeZAMsX3UXxisEdJwB1TT+6XTthMC0rv4ja3pwgz6oXGRP7hSLKdx3UWj3xE2BLw==
dependencies:
tslib "^1.9.0"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-9.0.0-next.9.tgz#dc6c41257e1e4cec94c91b4f929ee4c09550c3db"
integrity sha512-iFQprmypUFh/g5Y3R0jF/CcUsitfwB55cUVAfhkBOGPTj8IGBcwJEEtrWxsOdvJieAHRFfQgVcTxmXQHSDKb3Q==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-9.0.0-next.10.tgz#2b46797ba2da0555077fc4a4184a284edbf7d17d"
integrity sha512-oBamuJ3Y7lLwnBGcrJUlmj4px8KtVj+elQPkUY54D/r394/RLmck839o62dljPR2vd0wVjhPKkbUl7aUIDrvEw==
dependencies:
tslib "^1.9.0"

"@angular/[email protected]":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-9.0.0-next.9.tgz#c6370a2a176659087a4cb609de982f13bc1a9803"
integrity sha512-Je43V3nMZTjDrhHfnjfOxslxfOZiNyawwSNUz3FX7KfxVx638pzrabgR7hRbIkD6wsginEIpVSKFJ+M9Pr6BFQ==
"@angular/[email protected]":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-9.0.0-next.10.tgz#cc1a117a5a00c612e17e184344c6aec10f591607"
integrity sha512-QuEWm+fHLtzbF/ifM6fWG51jIioZxK/rjACZqAchlfG1SAfUA66rHygHrxrXmVf+0OnABeJafk+XJM3payV5jQ==
dependencies:
"@babel/core" "^7.5.5"
glob "7.1.2"
yargs "13.1.0"

"@angular/[email protected]":
version "8.2.2"
Expand All @@ -74,40 +78,40 @@
dependencies:
tslib "^1.7.1"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.0.0-next.9.tgz#aa0f375d45af24ff8175a26cd6f297caa0f4e489"
integrity sha512-SIZOsqc5uP9NvmPTNBaZwOquya3ml9COsk3RJFxyDMDWfgGmms0sbk0qNDyErREPZOr2jIP86LP399GNKuMEDw==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.0.0-next.10.tgz#49650e94eab8e468b2e2934d5ba46b7105a7a8dc"
integrity sha512-RfDSqTZYHiHRc2j7OyppbrgYX1hTtUPqJOpNwytMwoyzwG3aHg9iNzlVw6h7b99euBxBpVwR96fmws2x52DFKw==
dependencies:
tslib "^1.9.0"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-9.0.0-next.9.tgz#3bf47fe66b02aac4dddce37baf825f5a7746600b"
integrity sha512-KsBlk/QXKt5IBKB9YunjJdV+RwhiURaxf5wxuFkk72HkLGmQh4aAV1eoviztIwnCn8mu6xgmCF8wsnPfNxL4bw==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-9.0.0-next.10.tgz#496d99a169a7b7941f6046ba9dc2852150a3745e"
integrity sha512-PDcDscEwkEXhFhmiwn5dIs7MjmspgjeJJlW+JDHPPZntqgqiTIXiOhhDwvGyo0/Yi9cT1IP63w8gHbZp9Sx36w==
dependencies:
tslib "^1.9.0"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-9.0.0-next.9.tgz#84211e11d90857aa18e7b0c83a221a5c17093971"
integrity sha512-CFVS1HOurJ1H7Nag9mWnjUfp/HL5L2NwEwT89d31NcbHCblv0ou+ifzN8x4M0FPjSWWaNtRVnQev+E1zQ9eULw==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-9.0.0-next.10.tgz#6be104812274259c6e822b754ab137f762da1125"
integrity sha512-PnEhgE6p4+mo76vymN0yINGcTtMPZSX+9kIJWTCo7pF+s3ExnZl+usHuFV9fBPn2REvnZQlPR0DytyA75ZOYgg==
dependencies:
domino "^2.1.2"
tslib "^1.9.0"
xhr2 "^0.1.4"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/router/-/router-9.0.0-next.9.tgz#d2695bb0576f4a60cfe1c1fb35fa62ca6c89f01e"
integrity sha512-kKQfDZx5l3ePwIKI0kk7ujqCjDpK8MYHXZqwfumIqFiFcifIQRDENF5WxTMXaua70kTTQxDsnpNYGXGCEMKIZg==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/router/-/router-9.0.0-next.10.tgz#d36aa9763d99fd532616eac985399118f881eced"
integrity sha512-Il0KaD3Orm5HWGZvywJy8I9oH3uJVQZFX3FlZweaOsmlsAlrRw9tE4n51aOOVDff/NwJANdDLoQ5Kd8tBRqRPQ==
dependencies:
tslib "^1.9.0"

"@angular/[email protected].9":
version "9.0.0-next.9"
resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-9.0.0-next.9.tgz#a697db6e75a684e8c4fc479a05e01c9faae23595"
integrity sha512-NDmHMZ8B0PKytuxz4yEmoqFJZoxKINCaZzTH0FUxgXcdkHN69XLBc4f2wBxdnk9nT5YSJhSDOgoDCTURMssAWw==
"@angular/[email protected].10":
version "9.0.0-next.10"
resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-9.0.0-next.10.tgz#b096478e49a7a16df10753531cb5cb9ee8bf91b0"
integrity sha512-krY0c+E3cZJ0zZ+/IKm4iQjAAk+kJgf92S1tYvU8qDebZHaiq3wA/Fjs+ziyHtY4NCcrRtIAGl3g6TvnKLMvwg==
dependencies:
tslib "^1.9.0"

Expand Down Expand Up @@ -138,6 +142,26 @@
semver "^5.4.1"
source-map "^0.6.1"

"@babel/core@^7.5.5":
version "7.6.3"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.6.3.tgz#44de824e89eaa089bb12da7337bc9bdff2ab68f9"
integrity sha512-QfQ5jTBgXLzJuo7Mo8bZK/ePywmgNRgk/UQykiKwEtZPiFIn8ZqE6jB+AnD1hbB1S2xQyL4//it5vuAUOVAMTw==
dependencies:
"@babel/code-frame" "^7.5.5"
"@babel/generator" "^7.6.3"
"@babel/helpers" "^7.6.2"
"@babel/parser" "^7.6.3"
"@babel/template" "^7.6.0"
"@babel/traverse" "^7.6.3"
"@babel/types" "^7.6.3"
convert-source-map "^1.1.0"
debug "^4.1.0"
json5 "^2.1.0"
lodash "^4.17.13"
resolve "^1.3.2"
semver "^5.4.1"
source-map "^0.6.1"

"@babel/generator@^7.4.0", "@babel/generator@^7.6.2":
version "7.6.2"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.6.2.tgz#dac8a3c2df118334c2a29ff3446da1636a8f8c03"
Expand Down Expand Up @@ -4828,6 +4852,18 @@ glob-parent@~5.1.0:
dependencies:
is-glob "^4.0.1"

[email protected]:
version "7.1.2"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"

[email protected], glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
version "7.1.4"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
Expand Down Expand Up @@ -9131,7 +9167,6 @@ sauce-connect-launcher@^1.2.4:

"sauce-connect-proxy@https://saucelabs.com/downloads/sc-4.5.4-linux.tar.gz":
version "0.0.0"
uid dc5efcd2be24ddb099a85b923d6e754754651fa8
resolved "https://saucelabs.com/downloads/sc-4.5.4-linux.tar.gz#dc5efcd2be24ddb099a85b923d6e754754651fa8"

saucelabs@^1.5.0:
Expand Down