Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit f4c3ba0

Browse files
committed
chore: update to Angular 8
1 parent fd6bfc5 commit f4c3ba0

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

demo/AngularApp/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
}
1414
},
1515
"dependencies": {
16-
"@angular/common": "~7.2.0",
17-
"@angular/compiler": "~7.2.0",
18-
"@angular/core": "~7.2.0",
19-
"@angular/forms": "~7.2.0",
20-
"@angular/http": "~7.2.0",
21-
"@angular/platform-browser": "~7.2.0",
22-
"@angular/platform-browser-dynamic": "~7.2.0",
23-
"@angular/router": "~7.2.0",
16+
"@angular/common": "8.0.0",
17+
"@angular/compiler": "8.0.0",
18+
"@angular/core": "8.0.0",
19+
"@angular/forms": "8.0.0",
20+
"@angular/http": "8.0.0-beta.10",
21+
"@angular/platform-browser": "8.0.0",
22+
"@angular/platform-browser-dynamic": "8.0.0",
23+
"@angular/router": "8.0.0",
2424
"nativescript-angular": "next",
2525
"nativescript-theme-core": "~1.0.2",
2626
"reflect-metadata": "~0.1.8",
@@ -29,8 +29,8 @@
2929
"zone.js": "^0.8.4"
3030
},
3131
"devDependencies": {
32-
"@angular/compiler-cli": "~7.2.0",
33-
"@ngtools/webpack": "~7.2.0",
32+
"@angular/compiler-cli": "8.0.0",
33+
"@ngtools/webpack": "8.0.0",
3434
"@types/chai": "~4.1.7",
3535
"@types/mocha": "~5.2.5",
3636
"@types/node": "~10.12.18",
@@ -45,7 +45,7 @@
4545
"nativescript-dev-sass": "next",
4646
"nativescript-dev-typescript": "next",
4747
"nativescript-dev-webpack": "next",
48-
"typescript": "~3.1.1"
48+
"typescript": "~3.4.5"
4949
},
5050
"scripts": {
5151
"setup": "npm pack ../../ && npm i -D nativescript-dev-webpack*.tgz",

demo/AngularApp/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ module.exports = env => {
9191

9292
const ngCompilerPlugin = new AngularCompilerPlugin({
9393
hostReplacementPaths: nsWebpack.getResolver([platform, "tns"]),
94-
platformTransformers: ngCompilerTransformers.map(t => t(() => ngCompilerPlugin, resolve(appFullPath, entryModule))),
94+
platformTransformers: ngCompilerTransformers.map(t => t(() => ngCompilerPlugin, resolve(appFullPath, entryModule), projectRoot)),
9595
mainPath: join(appFullPath, entryModule),
9696
tsConfigPath: join(__dirname, tsConfigName),
9797
skipCodeGeneration: !aot,

0 commit comments

Comments
 (0)