Skip to content

Commit 78d9c3a

Browse files
author
VladimirAmiorkov
committed
chore: make router-tab-view example webpack compatible
1 parent 99bc7ed commit 78d9c3a

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

e2e/router-tab-view/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"@angular/platform-browser-dynamic": "8.0.0",
2424
"@angular/router": "8.0.0",
2525
"nativescript-angular": "file:../../nativescript-angular",
26+
"nativescript-dev-webpack": "webpack",
2627
"nativescript-theme-core": "~1.0.4",
2728
"reflect-metadata": "~0.1.8",
2829
"rxjs": "~6.3.3",
@@ -41,7 +42,9 @@
4142
"mochawesome": "~3.1.2",
4243
"nativescript-dev-appium": "next",
4344
"nativescript-dev-typescript": "next",
44-
"typescript": "~3.4.5"
45+
"typescript": "~3.4.5",
46+
"@angular/compiler-cli": "8.0.0",
47+
"@ngtools/webpack": "8.0.0"
4548
},
4649
"scripts": {
4750
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",

e2e/router-tab-view/tsconfig.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,22 @@
1616
"*": [
1717
"./node_modules/tns-core-modules/*",
1818
"./node_modules/*"
19+
],
20+
"~/*": [
21+
"app/*"
1922
]
2023
}
2124
},
25+
"include": [
26+
"../../nativescript-angular",
27+
"**/*"
28+
],
2229
"exclude": [
30+
"../../nativescript-angular/node_modules",
31+
"../../nativescript-angular/**/*.d.ts",
2332
"node_modules",
24-
"platforms"
33+
"platforms",
34+
"**/*.aot",
35+
"e2e"
2536
]
2637
}

tests/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"nativescript": {
33
"id": "org.nativescript.ngtests",
44
"tns-ios": {
5-
"version": "6.0.0-2019-06-06-144931-01"
5+
"version": "next"
66
},
77
"tns-android": {
8-
"version": "6.0.0-2019-06-10-092203-01"
8+
"version": "next"
99
}
1010
},
1111
"name": "ngtests",
@@ -61,7 +61,7 @@
6161
"lazy": "1.0.11",
6262
"mocha": "6.1.4",
6363
"nativescript-dev-typescript": "next",
64-
"nativescript-dev-webpack": "~0.25.0-webpack-2019-06-06-120047-02",
64+
"nativescript-dev-webpack": "webpack",
6565
"sinon": "^7.3.2",
6666
"tslint": "^4.5.1",
6767
"typescript": "~3.4.5"

0 commit comments

Comments
 (0)