Skip to content

Commit 7b0cca9

Browse files
authored
chore: update to latest dependencies (#340)
* chore: update to latest dependencies * chore: remove nsconfig
1 parent d0c398e commit 7b0cca9

3 files changed

Lines changed: 20 additions & 23 deletions

File tree

nsconfig.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
"nativescript": {
1919
"id": "org.nativescript.groceries",
2020
"tns-android": {
21-
"version": "6.0.0"
21+
"version": "6.0.1"
2222
},
2323
"tns-ios": {
24-
"version": "6.0.1"
24+
"version": "6.0.2"
2525
}
2626
},
2727
"scripts": {
@@ -40,27 +40,26 @@
4040
"update-ns-webpack": "update-ns-webpack"
4141
},
4242
"dependencies": {
43-
"@angular/common": "~8.0.0",
44-
"@angular/compiler": "~8.0.0",
45-
"@angular/core": "~8.0.0",
46-
"@angular/forms": "~8.0.0",
47-
"@angular/http": "8.0.0-beta.10",
48-
"@angular/platform-browser": "~8.0.0",
49-
"@angular/platform-browser-dynamic": "~8.0.0",
50-
"@angular/router": "~8.0.0",
43+
"@angular/common": "~8.2.0",
44+
"@angular/compiler": "~8.2.0",
45+
"@angular/core": "~8.2.0",
46+
"@angular/forms": "~8.2.0",
47+
"@angular/platform-browser": "~8.2.0",
48+
"@angular/platform-browser-dynamic": "~8.2.0",
49+
"@angular/router": "~8.2.0",
5150
"email-validator": "^2.0.4",
52-
"nativescript-angular": "~8.0.0",
51+
"nativescript-angular": "~8.2.0",
5352
"nativescript-iqkeyboardmanager": "~1.3.0",
5453
"nativescript-social-share": "~1.5.1",
5554
"nativescript-unit-test-runner": "0.7.0",
5655
"reflect-metadata": "~0.1.8",
57-
"rxjs": "^6.3.3",
56+
"rxjs": "^6.4.0",
5857
"tns-core-modules": "~6.0.1",
59-
"zone.js": "^0.8.4"
58+
"zone.js": "^0.9.1"
6059
},
6160
"devDependencies": {
62-
"@angular/compiler-cli": "8.0.0",
63-
"@ngtools/webpack": "8.0.0",
61+
"@angular/compiler-cli": "8.2.0",
62+
"@ngtools/webpack": "8.2.0",
6463
"@types/chai": "~4.1.7",
6564
"@types/mocha": "~5.2.5",
6665
"@types/node": "~10.12.18",
@@ -73,14 +72,14 @@
7372
"karma": "4.1.0",
7473
"karma-jasmine": "2.0.1",
7574
"karma-nativescript-launcher": "^0.4.0",
75+
"karma-webpack": "3.0.5",
7676
"lazy": "1.0.11",
7777
"mocha": "~5.2.0",
7878
"mocha-junit-reporter": "~1.18.0",
7979
"mocha-multi": "~1.0.1",
8080
"nativescript-dev-appium": "next",
81-
"nativescript-dev-webpack": "~1.0.1",
81+
"nativescript-dev-webpack": "~1.1.0",
8282
"tslint": "^5.4.2",
83-
"typescript": "3.4.5",
84-
"karma-webpack": "3.0.5"
83+
"typescript": "~3.5.3"
8584
}
8685
}

webpack.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ module.exports = env => {
3535

3636
const {
3737
// The 'appPath' and 'appResourcesPath' values are fetched from
38-
// the nsconfig.json configuration file
39-
// when bundling with `tns run android|ios --bundle`.
40-
appPath = "app",
38+
// the nsconfig.json configuration file.
39+
appPath = "src",
4140
appResourcesPath = "App_Resources",
4241

4342
// You can provide the following flags when running 'tns run android|ios'
@@ -197,7 +196,7 @@ module.exports = env => {
197196
module: {
198197
rules: [
199198
{
200-
test: nsWebpack.getEntryPathRegExp(appFullPath, entryPath),
199+
include: join(appFullPath, entryPath),
201200
use: [
202201
// Require all Android app components
203202
platform === "android" && {

0 commit comments

Comments
 (0)