You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/controllers/migrate-controller.ts
+43-12
Original file line number
Diff line number
Diff line change
@@ -337,7 +337,7 @@ export class MigrateController
337
337
});
338
338
if(shouldMigrate){
339
339
this.$errors.fail(
340
-
`The current application is not compatible with NativeScript CLI 7.0.\n\nRun 'ns migrate' to migrate your project to NativeScript 7.\n\nAlternatively you may try running it with '--force' to skip this check.`
340
+
`The current application is not compatible with NativeScript CLI ${this.$staticConfig.version}.\n\nRun 'ns migrate' to migrate your project to the latest NativeScript version.\n\nAlternatively you may try running it with '--force' to skip this check.`
341
341
);
342
342
}
343
343
}
@@ -1476,6 +1476,18 @@ export class MigrateController
1476
1476
packageName: "vue-loader",
1477
1477
shouldRemove: true,
1478
1478
},
1479
+
{
1480
+
packageName: "babel-loader",
1481
+
shouldRemove: true,
1482
+
},
1483
+
{
1484
+
packageName: "@babel/core",
1485
+
shouldRemove: true,
1486
+
},
1487
+
{
1488
+
packageName: "@babel/preset-env",
1489
+
shouldRemove: true,
1490
+
},
1479
1491
// remove any version of vue
1480
1492
{
1481
1493
packageName: "vue",
@@ -1606,18 +1618,24 @@ export class MigrateController
1606
1618
this.spinner.succeed(`Initialized new ${"webpack.config.js".yellow}`);
Copy file name to clipboardExpand all lines: lib/services/project-config-service.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ export default {
89
89
return;
90
90
}
91
91
this.$logger.warn(
92
-
`You are using the deprecated ${CONFIG_NS_FILE_NAME} file. Just be aware that NativeScript 7 has an improved ${CONFIG_FILE_NAME_DISPLAY} file for when you're ready to upgrade this project.`
92
+
`You are using the deprecated ${CONFIG_NS_FILE_NAME} file. Just be aware that NativeScript now has an improved ${CONFIG_FILE_NAME_DISPLAY} file for when you're ready to upgrade this project.`
0 commit comments