Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b461076

Browse files
peterblazejewiczMarkPieszak
authored andcommitted
Update dependencies to be aligned with NG 7.2.0. Fixes #716 (#718)
closes #716 This commit make changes in dependencies entries in package.json to be more aligned to package.json version generated by @angular/cli 7.2.0. This fixes the issue with outcome of script like build:prod Thanks! ```bash npm run clean:install > angular7-aspnetcore-universal@1.0.0-rc4 clean:install /Users/piotrblazejewicz/git/aspnetcore-angular2-universal > npm run clean && rimraf ./node_modules ./bin ./obj ./package-lock.json && dotnet restore Asp2017.csproj && npm i > angular7-aspnetcore-universal@1.0.0-rc4 clean /Users/piotrblazejewicz/git/aspnetcore-angular2-universal > rimraf wwwroot/dist clientapp/dist Restoring packages for /Users/piotrblazejewicz/git/aspnetcore-angular2-universal/Asp2017.csproj... Generating MSBuild file /Users/piotrblazejewicz/git/aspnetcore-angular2-universal/obj/Asp2017.csproj.nuget.g.props. Generating MSBuild file /Users/piotrblazejewicz/git/aspnetcore-angular2-universal/obj/Asp2017.csproj.nuget.g.targets. Restore completed in 1.95 sec for /Users/piotrblazejewicz/git/aspnetcore-angular2-universal/Asp2017.csproj. npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor. > fsevents@1.2.7 install /Users/piotrblazejewicz/git/aspnetcore-angular2-universal/node_modules/fsevents > node install node-pre-gyp WARN Using request for node-pre-gyp https download [fsevents] Success: "/Users/piotrblazejewicz/git/aspnetcore-angular2-universal/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote > node-sass@4.11.0 install /Users/piotrblazejewicz/git/aspnetcore-angular2-universal/node_modules/node-sass > node scripts/install.js Cached binary found at /Users/piotrblazejewicz/.npm/node-sass/4.11.0/darwin-x64-59_binding.node > phantomjs-prebuilt@2.1.16 install /Users/piotrblazejewicz/git/aspnetcore-angular2-universal/node_modules/phantomjs-prebuilt > node install.js Considering PhantomJS found at /usr/local/bin/phantomjs Found PhantomJS at /usr/local/bin/phantomjs ...verifying Writing location.js file PhantomJS is already installed on PATH at /usr/local/bin/phantomjs > node-sass@4.11.0 postinstall /Users/piotrblazejewicz/git/aspnetcore-angular2-universal/node_modules/node-sass > node scripts/build.js Binary found at /Users/piotrblazejewicz/git/aspnetcore-angular2-universal/node_modules/node-sass/vendor/darwin-x64-59/binding.node Testing binary Binary is fine npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN bootstrap@4.3.1 requires a peer of popper.js@^1.14.7 but none is installed. You must install peer dependencies yourself. npm WARN karma-webpack@3.0.5 requires a peer of webpack@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself. added 1328 packages from 1266 contributors and audited 52380 packages in 40.119s found 1 low severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details ``` ```bash npm run build:prod > angular7-aspnetcore-universal@1.0.0-rc4 build:prod /Users/piotrblazejewicz/git/aspnetcore-angular2-universal > npm run clean && npm run build:vendor -- --env.prod && npm run build:webpack -- --env.prod > angular7-aspnetcore-universal@1.0.0-rc4 clean /Users/piotrblazejewicz/git/aspnetcore-angular2-universal > rimraf wwwroot/dist clientapp/dist > angular7-aspnetcore-universal@1.0.0-rc4 build:vendor /Users/piotrblazejewicz/git/aspnetcore-angular2-universal > webpack --config webpack.config.vendor.js --progress --color "--env.prod" env = {"prod":true} [1] Hash: 0cd0fe463be445b08132ce687d8bdad25e6a9daf Version: webpack 4.29.5 Child Hash: 0cd0fe463be445b08132 Time: 6789ms Built at: 2019年02月26日 18:32:15 Asset Size Chunks Chunk Names vendor.js 112 KiB 0 [emitted] vendor Entrypoint vendor = vendor.js Child Hash: ce687d8bdad25e6a9daf Time: 23102ms Built at: 2019年02月26日 18:32:31 Asset Size Chunks Chunk Names vendor.js 2 MiB 0 [emitted] vendor Entrypoint vendor = vendor.js WARNING in ./node_modules/@angular/core/bundles/core.umd.js 18394:19-40 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ dll vendor vendor[3] WARNING in ./node_modules/@angular/core/bundles/core.umd.js 18406:19-106 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ dll vendor vendor[3] > angular7-aspnetcore-universal@1.0.0-rc4 build:webpack /Users/piotrblazejewicz/git/aspnetcore-angular2-universal > webpack --progress --color "--env.prod" [1] Hash: 283e428aa756b4bf9dc86d7e8bceb2c03b314740 Version: webpack 4.29.5 Child Hash: 283e428aa756b4bf9dc8 Time: 48150ms Built at: 2019年02月26日 18:33:22 Asset Size Chunks Chunk Names 1.js 1.08 KiB 1 [emitted] main-client.js 1.78 MiB 0 [emitted] [big] main-client Entrypoint main-client [big] = main-client.js WARNING in ./node_modules/@angular/core/fesm5/core.js 18349:15-36 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ ./ClientApp/boot.browser.ts 2:0-47 13:4-18 WARNING in ./node_modules/@angular/core/fesm5/core.js 18361:15-102 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ ./ClientApp/boot.browser.ts 2:0-47 13:4-18 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. Assets: main-client.js (1.78 MiB) WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. Entrypoints: main-client (1.78 MiB) main-client.js Child Hash: 6d7e8bceb2c03b314740 Time: 49251ms Built at: 2019年02月26日 18:33:24 Asset Size Chunks Chunk Names 1.js 1.21 KiB 1 [emitted] main-server.js 2.96 MiB 0 [emitted] main-server Entrypoint main-server = main-server.js WARNING in ./node_modules/@angular/core/fesm5/core.js 18349:15-36 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ ./ClientApp/boot.server.PRODUCTION.ts 3:0-47 8:0-14 WARNING in ./node_modules/@angular/core/fesm5/core.js 18361:15-102 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ ./ClientApp/boot.server.PRODUCTION.ts 3:0-47 8:0-14 ``` ```bash npm run build:dev > angular7-aspnetcore-universal@1.0.0-rc4 build:dev /Users/piotrblazejewicz/git/aspnetcore-angular2-universal > npm run build:vendor && npm run build:webpack > angular7-aspnetcore-universal@1.0.0-rc4 build:vendor /Users/piotrblazejewicz/git/aspnetcore-angular2-universal > webpack --config webpack.config.vendor.js --progress --color env = undefined [1] Hash: 3a685f0209a95b535a9f17a6a40f1c8908affc70 Version: webpack 4.29.5 Child Hash: 3a685f0209a95b535a9f Time: 6393ms Built at: 2019年02月26日 18:31:26 Asset Size Chunks Chunk Names vendor.js 6.94 MiB vendor [emitted] vendor Entrypoint vendor = vendor.js WARNING in ./node_modules/@angular/core/fesm5/core.js 18349:15-36 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ dll vendor vendor[3] WARNING in ./node_modules/@angular/core/fesm5/core.js 18361:15-102 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ dll vendor vendor[3] Child Hash: 17a6a40f1c8908affc70 Time: 6359ms Built at: 2019年02月26日 18:31:26 Asset Size Chunks Chunk Names vendor.js 7.05 MiB vendor [emitted] vendor Entrypoint vendor = vendor.js WARNING in ./node_modules/@angular/core/bundles/core.umd.js 18394:19-40 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ dll vendor vendor[3] WARNING in ./node_modules/@angular/core/bundles/core.umd.js 18406:19-106 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ dll vendor vendor[3] > angular7-aspnetcore-universal@1.0.0-rc4 build:webpack /Users/piotrblazejewicz/git/aspnetcore-angular2-universal > webpack --progress --color [1] Hash: b4d33732336411f4f0263367da7fc158b6733f0d Version: webpack 4.29.5 Child Hash: b4d33732336411f4f026 Time: 21055ms Built at: 2019年02月26日 18:31:50 Asset Size Chunks Chunk Names 0.js 8.26 KiB 0 [emitted] 0.js.map 81 bytes 0 [emitted] main-client.js 4.07 MiB main-client [emitted] main-client main-client.js.map 7.96 KiB main-client [emitted] main-client Entrypoint main-client = main-client.js main-client.js.map Child Hash: 3367da7fc158b6733f0d Time: 22992ms Built at: 2019年02月26日 18:31:52 Asset Size Chunks Chunk Names 0.js 8.2 KiB 0 [emitted] main-server.js 20.7 MiB main-server [emitted] main-server Entrypoint main-server = main-server.js WARNING in ./node_modules/@angular/core/fesm5/core.js 18349:15-36 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ ./ClientApp/boot.server.ts 3:0-47 8:0-14 WARNING in ./node_modules/@angular/core/fesm5/core.js 18361:15-102 System.import() is deprecated and will be removed soon. Use import() instead. For more info visit https://webpack.js.org/guides/code-splitting/ @ ./ClientApp/boot.server.ts 3:0-47 8:0-14 ```
1 parent 8b0ec8e commit b461076

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

‎package.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,28 @@
2222
"clean": "rimraf wwwroot/dist clientapp/dist"
2323
},
2424
"dependencies": {
25-
"@angular/animations": "^7.2.0",
26-
"@angular/common": "^7.2.0",
27-
"@angular/compiler": "^7.2.0",
28-
"@angular/core": "^7.2.0",
29-
"@angular/forms": "^7.2.0",
30-
"@angular/http": "^7.2.0",
31-
"@angular/platform-browser": "^7.2.0",
32-
"@angular/platform-browser-dynamic": "^7.2.0",
33-
"@angular/platform-server": "^7.2.0",
34-
"@angular/router": "^7.2.0",
35-
"@nguniversal/aspnetcore-engine": "^7.0.2",
36-
"@nguniversal/common": "^7.0.2",
25+
"@angular/animations": "~7.2.0",
26+
"@angular/common": "~7.2.0",
27+
"@angular/compiler": "~7.2.0",
28+
"@angular/core": "~7.2.0",
29+
"@angular/forms": "~7.2.0",
30+
"@angular/http": "~7.2.0",
31+
"@angular/platform-browser": "~7.2.0",
32+
"@angular/platform-browser-dynamic": "~7.2.0",
33+
"@angular/platform-server": "~7.2.0",
34+
"@angular/router": "~7.2.0",
35+
"@nguniversal/aspnetcore-engine": "^7.1.0",
36+
"@nguniversal/common": "^7.1.0",
3737
"@ngx-translate/core": "^11.0.1",
3838
"@ngx-translate/http-loader": "^4.0.0",
39-
"@types/node": "^10.12.18",
39+
"@types/node": "^11.9.5",
4040
"angular2-router-loader": "^0.3.5",
4141
"angular2-template-loader": "^0.6.2",
4242
"aspnet-prerendering": "^3.0.1",
4343
"aspnet-webpack": "^3.0.0",
4444
"awesome-typescript-loader": "^5.2.1",
45-
"bootstrap": "^4.2.1",
46-
"core-js": "^2.6.1",
45+
"bootstrap": "^4.3.1",
46+
"core-js": "^2.6.5",
4747
"css": "^2.2.4",
4848
"css-loader": "^2.1.0",
4949
"event-source-polyfill": "^1.0.5",
@@ -53,48 +53,48 @@
5353
"isomorphic-fetch": "^2.2.1",
5454
"jquery": "^3.3.1",
5555
"json-loader": "^0.5.7",
56-
"moment": "^2.23.0",
57-
"ngx-bootstrap": "^3.1.4",
58-
"node-sass": "^4.9.0",
59-
"preboot": "^6.0.0-beta.4",
56+
"moment": "^2.24.0",
57+
"ngx-bootstrap": "^3.2.0",
58+
"node-sass": "^4.11.0",
59+
"preboot": "^7.0.0",
6060
"raw-loader": "^1.0.0",
6161
"rimraf": "^2.6.3",
62-
"rxjs": "^6.3.3",
62+
"rxjs": "~6.4.0",
6363
"sass-loader": "^7.1.0",
6464
"style-loader": "^0.23.1",
6565
"to-string-loader": "^1.1.5",
6666
"url-loader": "^1.1.2",
67-
"webpack": "^4.28.1",
67+
"webpack": "^4.29.5",
6868
"webpack-hot-middleware": "^2.24.3",
6969
"webpack-merge": "^4.2.1",
70-
"zone.js": "^0.8.26"
70+
"zone.js": "^0.8.29"
7171
},
7272
"devDependencies": {
73-
"@angular-devkit/build-angular": "~0.6.6",
74-
"@angular/cli": "^7.2.0",
75-
"@angular/compiler-cli": "^7.2.0",
76-
"@ngtools/webpack": "^7.1.4",
77-
"@types/jasmine": "^3.3.5",
78-
"codelyzer": "^4.5.0",
73+
"@angular-devkit/build-angular": "~0.13.3",
74+
"@angular/cli": "~7.3.3",
75+
"@angular/compiler-cli": "~7.2.0",
76+
"@ngtools/webpack": "~7.3.3",
77+
"@types/jasmine": "~2.8.8",
78+
"codelyzer": "~4.5.0",
7979
"istanbul-instrumenter-loader": "^3.0.1",
8080
"jasmine-core": "^3.3.0",
8181
"jasmine-spec-reporter": "^4.2.1",
82-
"karma": "^3.1.4",
83-
"karma-chrome-launcher": "^2.2.0",
84-
"karma-coverage": "^1.1.2",
85-
"karma-jasmine": "^2.0.1",
82+
"karma": "~4.0.0",
83+
"karma-chrome-launcher": "~2.2.0",
84+
"karma-coverage": "~1.1.2",
85+
"karma-jasmine": "~2.0.1",
8686
"karma-mocha-reporter": "^2.2.5",
8787
"karma-phantomjs-launcher": "^1.0.4",
8888
"karma-remap-coverage": "^0.1.5",
8989
"karma-sourcemap-loader": "^0.3.7",
9090
"karma-webpack": "^3.0.5",
9191
"mini-css-extract-plugin": "^0.5.0",
92-
"terser-webpack-plugin": "^1.2.1",
93-
"tslint": "^5.12.0",
94-
"typescript": "^3.1.3",
95-
"uglifyjs-webpack-plugin": "^2.1.1",
96-
"webpack-bundle-analyzer": "^3.0.3",
97-
"webpack-cli": "^3.2.1"
92+
"terser-webpack-plugin": "^1.2.3",
93+
"tslint": "~5.11.0",
94+
"typescript": "~3.2.2",
95+
"uglifyjs-webpack-plugin": "^2.1.2",
96+
"webpack-bundle-analyzer": "^3.0.4",
97+
"webpack-cli": "^3.2.3"
9898
},
9999
"license": "MIT",
100100
"repository": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /