Skip to content

chore: update demos to 6.0 #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions demo-angular/nsconfig.json

This file was deleted.

36 changes: 18 additions & 18 deletions demo-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,38 @@
"nativescript": {
"id": "org.nativescript.demoangular",
"tns-android": {
"version": "5.4.0"
"version": "6.0.0"
},
"tns-ios": {
"version": "5.4.0"
"version": "6.0.1"
}
},
"scripts": {
"build.plugin": "cd ../src && npm run build",
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'"
},
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/http": "~7.2.0",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"nativescript-angular": "~7.2.0",
"@angular/animations": "~8.0.0",
"@angular/common": "~8.0.0",
"@angular/compiler": "~8.0.0",
"@angular/core": "~8.0.0",
"@angular/forms": "~8.0.0",
"@angular/http": "8.0.0-beta.10",
"@angular/platform-browser": "~8.0.0",
"@angular/platform-browser-dynamic": "~8.0.0",
"@angular/router": "~8.0.0",
"nativescript-angular": "~8.0.0",
"nativescript-background-http": "../src",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.10",
"rxjs": "^6.3.3",
"tns-core-modules": "^5.0.0",
"tns-platform-declarations": "^5.0.0",
"zone.js": "~0.8.26"
"tns-core-modules": "^6.0.0",
"zone.js": "^0.9.1"
},
"devDependencies": {
"nativescript-dev-typescript": "~0.9.0",
"nativescript-dev-webpack": "~0.22.0",
"tslint": "~5.11.0"
"nativescript-dev-webpack": "~1.0.1",
"tslint": "~5.11.0",
"tns-platform-declarations": "^6.0.0",
"typescript": "~3.4.5"
}
}
3 changes: 0 additions & 3 deletions demo-vue/nsconfig.json

This file was deleted.

20 changes: 10 additions & 10 deletions demo-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"nativescript": {
"id": "org.nativescript.demovue",
"tns-android": {
"version": "5.4.0"
"version": "6.0.0"
},
"tns-ios": {
"version": "5.4.0"
"version": "6.0.1"
}
},
"description": "NativeScript Application",
Expand All @@ -17,18 +17,18 @@
"dependencies": {
"nativescript-background-http": "../src",
"nativescript-theme-core": "~1.0.4",
"nativescript-vue": "~2.2.0",
"tns-core-modules": "^5.0.0"
"nativescript-vue": "~2.3.0",
"tns-core-modules": "^6.0.0"
},
"devDependencies": {
"@babel/core": "~7.1.0",
"@babel/preset-env": "~7.1.0",
"babel-loader": "~8.0.0",
"nativescript-dev-webpack": "~0.22.0",
"nativescript-dev-typescript": "~0.9.0",
"nativescript-vue-template-compiler": "~2.2.0",
"node-sass": "~4.9.0",
"nativescript-dev-webpack": "~1.0.1",
"nativescript-vue-template-compiler": "~2.3.0",
"node-sass": "~4.12.0",
"ts-loader": "^5.3.1",
"vue-loader": "~15.4.0"
"vue-loader": "~15.4.0",
"typescript": "~3.4.5"
}
}
}
3 changes: 0 additions & 3 deletions demo/nsconfig.json

This file was deleted.

16 changes: 8 additions & 8 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"nativescript": {
"id": "org.nativescript.demo",
"tns-android": {
"version": "5.4.0"
"version": "6.0.0"
},
"tns-ios": {
"version": "5.4.0"
"version": "6.0.1"
}
},
"scripts": {
Expand All @@ -19,12 +19,12 @@
"dependencies": {
"nativescript-background-http": "../src",
"nativescript-theme-core": "~1.0.4",
"tns-core-modules": "^5.0.0",
"tns-platform-declarations": "^5.0.0"
"tns-core-modules": "^6.0.0"
},
"devDependencies": {
"nativescript-dev-typescript": "~0.9.0",
"nativescript-dev-webpack": "~0.22.0",
"tslint": "~5.11.0"
"nativescript-dev-webpack": "~1.0.1",
"tslint": "~5.11.0",
"tns-platform-declarations": "^6.0.0",
"typescript": "~3.4.5"
}
}
}
12 changes: 6 additions & 6 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"",
"plugin.link": "npm link && cd ../demo && npm link nativescript-background-http && cd ../src",
"plugin.tscwatch": "npm run tsc -- -w",
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles",
"demo-angular.ios": "npm i && npm run tsc && cd ../demo-angular && tns run ios --syncAllFiles",
"demo-vue.ios": "npm i && npm run tsc && cd ../demo-vue && tns run ios --syncAllFiles --bundle",
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles",
"demo-angular.android": "npm i && npm run tsc && cd ../demo-angular && tns run android --syncAllFiles",
"demo-vue.android": "npm i && npm run tsc && cd ../demo-vue && tns run android --syncAllFiles --bundle",
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios",
"demo-angular.ios": "npm i && npm run tsc && cd ../demo-angular && tns run ios",
"demo-vue.ios": "npm i && npm run tsc && cd ../demo-vue && tns run ios",
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android",
"demo-angular.android": "npm i && npm run tsc && cd ../demo-angular && tns run android",
"demo-vue.android": "npm i && npm run tsc && cd ../demo-vue && tns run android",
"demo.reset": "cd ../demo && rimraf platforms",
"demo-angular.reset": "cd ../demo-angular && rimraf platforms",
"server": "cd ../demo-server && npm run start",
Expand Down