-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Labels
Milestone
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- Cross-platform modules: 5.4.0
- Android Runtime: 5.4.0
- iOS Runtime: 5.4.2
- Plugin(s):
{
"nativescript": {
"id": "org.nativescript.appVue1",
"tns-android": {
"version": "5.4.0"
},
"tns-ios": {
"version": "5.4.2"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"repository": "<fill-your-repository-here>",
"dependencies": {
"nativescript-theme-core": "~1.0.4",
"nativescript-vue": "~2.2.0",
"tns-core-modules": "~5.4.0"
},
"devDependencies": {
"@babel/core": "~7.1.0",
"@babel/preset-env": "~7.1.0",
"babel-loader": "~8.0.0",
"nativescript-dev-webpack": "~0.24.0",
"nativescript-vue-template-compiler": "~2.2.0",
"node-sass": "^4.7.1",
"vue-loader": "~15.4.0"
},
"gitHead": "8c1a4866a66daab09bf5ef8e5a96472687192373",
"readme": "NativeScript Application"
}
Describe the bug
After using tns migrate for a project with Vue 2.2, nativescript-vue-template-compiler package is not updated - its still ~2.2
To Reproduce
$ tns create myApp --template [email protected]
$ cd myApp
$ tns migrate
# now check the project's package.json - `nativescript-vue-template-compiler` version is still 2.2, while it should be 2.3
Expected behavior
After migrate, the nativescript-vue-template-compiler package should be migrated. In case it is not installed in the project before calling tns migrate, the migrate command should not add it.
Additional context
WORKAROUND: npm i --save-dev nativescript-vue-template-compiler@~2.3