Skip to content

Commit 6f505d9

Browse files
authored
chore: update demos to 6.0 (#232)
* chore: update demos to 6.0 * chore: remove syncAllFiles & bundle
1 parent f5f910a commit 6f505d9

File tree

7 files changed

+42
-51
lines changed

7 files changed

+42
-51
lines changed

demo-angular/nsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

demo-angular/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,38 @@
66
"nativescript": {
77
"id": "org.nativescript.demoangular",
88
"tns-android": {
9-
"version": "5.4.0"
9+
"version": "6.0.0"
1010
},
1111
"tns-ios": {
12-
"version": "5.4.0"
12+
"version": "6.0.1"
1313
}
1414
},
1515
"scripts": {
1616
"build.plugin": "cd ../src && npm run build",
1717
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'"
1818
},
1919
"dependencies": {
20-
"@angular/animations": "~7.2.0",
21-
"@angular/common": "~7.2.0",
22-
"@angular/compiler": "~7.2.0",
23-
"@angular/core": "~7.2.0",
24-
"@angular/forms": "~7.2.0",
25-
"@angular/http": "~7.2.0",
26-
"@angular/platform-browser": "~7.2.0",
27-
"@angular/platform-browser-dynamic": "~7.2.0",
28-
"@angular/router": "~7.2.0",
29-
"nativescript-angular": "~7.2.0",
20+
"@angular/animations": "~8.0.0",
21+
"@angular/common": "~8.0.0",
22+
"@angular/compiler": "~8.0.0",
23+
"@angular/core": "~8.0.0",
24+
"@angular/forms": "~8.0.0",
25+
"@angular/http": "8.0.0-beta.10",
26+
"@angular/platform-browser": "~8.0.0",
27+
"@angular/platform-browser-dynamic": "~8.0.0",
28+
"@angular/router": "~8.0.0",
29+
"nativescript-angular": "~8.0.0",
3030
"nativescript-background-http": "../src",
3131
"nativescript-theme-core": "~1.0.4",
3232
"reflect-metadata": "~0.1.10",
3333
"rxjs": "^6.3.3",
34-
"tns-core-modules": "^5.0.0",
35-
"tns-platform-declarations": "^5.0.0",
36-
"zone.js": "~0.8.26"
34+
"tns-core-modules": "^6.0.0",
35+
"zone.js": "^0.9.1"
3736
},
3837
"devDependencies": {
39-
"nativescript-dev-typescript": "~0.9.0",
40-
"nativescript-dev-webpack": "~0.22.0",
41-
"tslint": "~5.11.0"
38+
"nativescript-dev-webpack": "~1.0.1",
39+
"tslint": "~5.11.0",
40+
"tns-platform-declarations": "^6.0.0",
41+
"typescript": "~3.4.5"
4242
}
4343
}

demo-vue/nsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

demo-vue/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"nativescript": {
33
"id": "org.nativescript.demovue",
44
"tns-android": {
5-
"version": "5.4.0"
5+
"version": "6.0.0"
66
},
77
"tns-ios": {
8-
"version": "5.4.0"
8+
"version": "6.0.1"
99
}
1010
},
1111
"description": "NativeScript Application",
@@ -17,18 +17,18 @@
1717
"dependencies": {
1818
"nativescript-background-http": "../src",
1919
"nativescript-theme-core": "~1.0.4",
20-
"nativescript-vue": "~2.2.0",
21-
"tns-core-modules": "^5.0.0"
20+
"nativescript-vue": "~2.3.0",
21+
"tns-core-modules": "^6.0.0"
2222
},
2323
"devDependencies": {
2424
"@babel/core": "~7.1.0",
2525
"@babel/preset-env": "~7.1.0",
2626
"babel-loader": "~8.0.0",
27-
"nativescript-dev-webpack": "~0.22.0",
28-
"nativescript-dev-typescript": "~0.9.0",
29-
"nativescript-vue-template-compiler": "~2.2.0",
30-
"node-sass": "~4.9.0",
27+
"nativescript-dev-webpack": "~1.0.1",
28+
"nativescript-vue-template-compiler": "~2.3.0",
29+
"node-sass": "~4.12.0",
3130
"ts-loader": "^5.3.1",
32-
"vue-loader": "~15.4.0"
31+
"vue-loader": "~15.4.0",
32+
"typescript": "~3.4.5"
3333
}
34-
}
34+
}

demo/nsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

demo/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"nativescript": {
77
"id": "org.nativescript.demo",
88
"tns-android": {
9-
"version": "5.4.0"
9+
"version": "6.0.0"
1010
},
1111
"tns-ios": {
12-
"version": "5.4.0"
12+
"version": "6.0.1"
1313
}
1414
},
1515
"scripts": {
@@ -19,12 +19,12 @@
1919
"dependencies": {
2020
"nativescript-background-http": "../src",
2121
"nativescript-theme-core": "~1.0.4",
22-
"tns-core-modules": "^5.0.0",
23-
"tns-platform-declarations": "^5.0.0"
22+
"tns-core-modules": "^6.0.0"
2423
},
2524
"devDependencies": {
26-
"nativescript-dev-typescript": "~0.9.0",
27-
"nativescript-dev-webpack": "~0.22.0",
28-
"tslint": "~5.11.0"
25+
"nativescript-dev-webpack": "~1.0.1",
26+
"tslint": "~5.11.0",
27+
"tns-platform-declarations": "^6.0.0",
28+
"typescript": "~3.4.5"
2929
}
30-
}
30+
}

src/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"",
2424
"plugin.link": "npm link && cd ../demo && npm link nativescript-background-http && cd ../src",
2525
"plugin.tscwatch": "npm run tsc -- -w",
26-
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles",
27-
"demo-angular.ios": "npm i && npm run tsc && cd ../demo-angular && tns run ios --syncAllFiles",
28-
"demo-vue.ios": "npm i && npm run tsc && cd ../demo-vue && tns run ios --syncAllFiles --bundle",
29-
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles",
30-
"demo-angular.android": "npm i && npm run tsc && cd ../demo-angular && tns run android --syncAllFiles",
31-
"demo-vue.android": "npm i && npm run tsc && cd ../demo-vue && tns run android --syncAllFiles --bundle",
26+
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios",
27+
"demo-angular.ios": "npm i && npm run tsc && cd ../demo-angular && tns run ios",
28+
"demo-vue.ios": "npm i && npm run tsc && cd ../demo-vue && tns run ios",
29+
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android",
30+
"demo-angular.android": "npm i && npm run tsc && cd ../demo-angular && tns run android",
31+
"demo-vue.android": "npm i && npm run tsc && cd ../demo-vue && tns run android",
3232
"demo.reset": "cd ../demo && rimraf platforms",
3333
"demo-angular.reset": "cd ../demo-angular && rimraf platforms",
3434
"server": "cd ../demo-server && npm run start",

0 commit comments

Comments
 (0)