Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Commit 7e687c1

Browse files
netleshrigor789
andauthored
feat: update dependencies to latest (#147)
* updated all packages in package.json * Revert "updated all packages in package.json" This reverts commit 9a70f2f. * Revert "chore: bump versions and add debug mode by default (#145)" This reverts commit 247160d. * tested all updates * deps: updated devtools deps Co-authored-by: rigor789 <[email protected]>
1 parent 247160d commit 7e687c1

File tree

4 files changed

+25
-33
lines changed

4 files changed

+25
-33
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# JetBrains project files
22
.idea
3+
yarn.lock

template/app/main.js

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
import Vue from 'nativescript-vue'
22
import App from './components/App'
3+
{{#devtools}}import VueDevtools from 'nativescript-vue-devtools'
34

4-
{{#store}}import store from './store'{{/store}}
5-
{{#devtools}}import VueDevtools from 'nativescript-vue-devtools'{{/devtools}}
6-
7-
{{#devtools}}
85
if(TNS_ENV !== 'production') {
96
Vue.use(VueDevtools)
107
}
118
{{/devtools}}
12-
9+
{{#store}}import store from './store'{{/store}}
10+
1311
// Prints Vue logs when --env.production is *NOT* set while building
1412
Vue.config.silent = (TNS_ENV === 'production')
15-
// Prints Colored logs when --env.production is *NOT* set while building
16-
Vue.config.debug = (TNS_ENV !== 'production')
1713

1814
{{#if_eq preset "SideDrawer"}}
1915
Vue.registerElement(

template/app/main.ts

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
import Vue from 'nativescript-vue'
22
import App from './components/App'
3+
{{#devtools}}import VueDevtools from 'nativescript-vue-devtools'
34

4-
{{#store}}import store from './store'{{/store}}
5-
{{#devtools}}import VueDevtools from 'nativescript-vue-devtools'{{/devtools}}
6-
7-
{{#devtools}}
85
if(TNS_ENV !== 'production') {
96
Vue.use(VueDevtools)
107
}
118
{{/devtools}}
9+
{{#store}}import store from './store'{{/store}}
1210

1311
// Prints Vue logs when --env.production is *NOT* set while building
1412
Vue.config.silent = (TNS_ENV === 'production')
15-
// Prints Colored logs when --env.production is *NOT* set while building
16-
// @ts-ignore
17-
Vue.config.debug = (TNS_ENV !== 'production')
1813

1914
{{#if_eq preset "SideDrawer"}}
2015
Vue.registerElement(

template/package.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,35 @@
88
"id": "{{ app_id }}",
99
"templateVersion": "v2",
1010
"tns-android": {
11-
"version": "6.0.0"
11+
"version": "6.5.0"
1212
},
1313
"tns-ios": {
14-
"version": "6.0.1"
14+
"version": "6.5.0"
1515
}
1616
},
1717
"dependencies": { {{#store}}
1818
"vuex": "^3.1.1",{{/store}}{{#devtools}}
19-
"@vue/devtools": "^5.0.6",
20-
"nativescript-socketio": "^3.2.1",
21-
"nativescript-vue-devtools": "^1.2.0",
22-
"nativescript-toasty": "^1.3.0",{{/devtools}}{{#if_eq preset "SideDrawer"}}
23-
"nativescript-ui-sidedrawer": "^7.0.0",{{/if_eq}}{{#unless_eq color_scheme "none"}}
19+
"@vue/devtools": "^5.3.3",
20+
"nativescript-socketio": "^3.3.1",
21+
"nativescript-vue-devtools": "^1.4.0",
22+
"nativescript-toasty": "^3.0.0-alpha.2",{{/devtools}}{{#if_eq preset "SideDrawer"}}
23+
"nativescript-ui-sidedrawer": "^8.0.1",{{/if_eq}}{{#unless_eq color_scheme "none"}}
2424
"@nativescript/theme": "^2.2.1",{{/unless_eq}}
25-
"nativescript-vue": "^2.5.0",
26-
"tns-core-modules": "^6.0.0"
25+
"nativescript-vue": "^2.6.0",
26+
"tns-core-modules": "^6.5.1"
2727
},
2828
"devDependencies": {
2929
"@babel/core": "^7.0.0",
3030
"@babel/preset-env": "^7.0.0",
31-
"babel-loader": "^8.0.2",
32-
"nativescript-dev-webpack": "^1.0.0",
33-
"nativescript-vue-template-compiler": "^2.5.0",
34-
"nativescript-worker-loader": "~0.9.0",
35-
"node-sass": "^4.9.2",{{#if_eq lang "typescript"}}
36-
"tns-platform-declarations": "^6.0.0",
37-
"typescript": "^3.2.4",
38-
"@types/node": "^12.12.16",
39-
"vue": "^2.5.22",{{/if_eq}}
40-
"vue-loader": "^15.4.0"
31+
"babel-loader": "^8.1.0",
32+
"nativescript-dev-webpack": "^1.5.1",
33+
"nativescript-vue-template-compiler": "^2.6.0",
34+
"nativescript-worker-loader": "~0.11.0",
35+
"node-sass": "^4.13.1",{{#if_eq lang "typescript"}}
36+
"tns-platform-declarations": "^6.5.1",
37+
"typescript": "^3.8.3",
38+
"@types/node": "^13.11.1",
39+
"vue": "^2.6.11",{{/if_eq}}
40+
"vue-loader": "^15.9.1"
4141
}
4242
}

0 commit comments

Comments
 (0)