nativescript 8.9.0-rc.0 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,7 +43,7 @@ class MigrateController extends update_controller_base_1.UpdateControllerBase {
|
|
|
43
43
|
{
|
|
44
44
|
packageName: "@nativescript/core",
|
|
45
45
|
minVersion: "6.5.0",
|
|
46
|
-
desiredVersion: "~8.
|
|
46
|
+
desiredVersion: "~8.9.0",
|
|
47
47
|
shouldAddIfMissing: true,
|
|
48
48
|
},
|
|
49
49
|
{
|
|
@@ -53,7 +53,7 @@ class MigrateController extends update_controller_base_1.UpdateControllerBase {
|
|
|
53
53
|
{
|
|
54
54
|
packageName: "@nativescript/types",
|
|
55
55
|
minVersion: "7.0.0",
|
|
56
|
-
desiredVersion: "~8.
|
|
56
|
+
desiredVersion: "~8.9.0",
|
|
57
57
|
isDev: true,
|
|
58
58
|
},
|
|
59
59
|
{
|
|
@@ -103,7 +103,7 @@ class MigrateController extends update_controller_base_1.UpdateControllerBase {
|
|
|
103
103
|
{
|
|
104
104
|
packageName: "@nativescript/angular",
|
|
105
105
|
minVersion: "10.0.0",
|
|
106
|
-
desiredVersion: "^
|
|
106
|
+
desiredVersion: "^19.0.0",
|
|
107
107
|
async shouldMigrateAction(dependency, projectData, loose) {
|
|
108
108
|
if (!this.hasDependency(dependency, projectData)) {
|
|
109
109
|
return false;
|
|
@@ -150,7 +150,7 @@ class MigrateController extends update_controller_base_1.UpdateControllerBase {
|
|
|
150
150
|
packageName: "typescript",
|
|
151
151
|
isDev: true,
|
|
152
152
|
minVersion: "3.7.0",
|
|
153
|
-
desiredVersion: "~5.
|
|
153
|
+
desiredVersion: "~5.7.0",
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
packageName: "node-sass",
|
|
@@ -182,13 +182,13 @@ class MigrateController extends update_controller_base_1.UpdateControllerBase {
|
|
|
182
182
|
{
|
|
183
183
|
packageName: "@nativescript/ios",
|
|
184
184
|
minVersion: "6.5.3",
|
|
185
|
-
desiredVersion: "~8.
|
|
185
|
+
desiredVersion: "~8.9.0",
|
|
186
186
|
isDev: true,
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
packageName: "@nativescript/android",
|
|
190
190
|
minVersion: "7.0.0",
|
|
191
|
-
desiredVersion: "~8.
|
|
191
|
+
desiredVersion: "~8.9.0",
|
|
192
192
|
isDev: true,
|
|
193
193
|
},
|
|
194
194
|
];
|
|
@@ -307,9 +307,7 @@ class MigrateController extends update_controller_base_1.UpdateControllerBase {
|
|
|
307
307
|
this.spinner.succeed("Migration complete.");
|
|
308
308
|
this.$logger.info("");
|
|
309
309
|
this.$logger.printMarkdown("Project has been successfully migrated. The next step is to run `ns run <platform>` to ensure everything is working properly." +
|
|
310
|
-
"\n\nPlease note that you may need additional changes to complete the migration."
|
|
311
|
-
// + "\n\nYou may restore your project with `ns migrate restore`"
|
|
312
|
-
);
|
|
310
|
+
"\n\nPlease note that you may need additional changes to complete the migration.");
|
|
313
311
|
// print markdown for next steps:
|
|
314
312
|
// if no runtime has been added, print a message that it will be added when they run ns run <platform>
|
|
315
313
|
// if all is good, run ns migrate clean to clean up backup folders
|
|
@@ -803,7 +801,7 @@ class MigrateController extends update_controller_base_1.UpdateControllerBase {
|
|
|
803
801
|
}
|
|
804
802
|
async migrateNativeScriptAngular() {
|
|
805
803
|
const minVersion = "10.0.0";
|
|
806
|
-
const desiredVersion = "~
|
|
804
|
+
const desiredVersion = "~19.1.0";
|
|
807
805
|
const dependencies = [
|
|
808
806
|
{
|
|
809
807
|
packageName: "@angular/animations",
|
|
@@ -862,7 +860,7 @@ class MigrateController extends update_controller_base_1.UpdateControllerBase {
|
|
|
862
860
|
{
|
|
863
861
|
packageName: "zone.js",
|
|
864
862
|
minVersion: "0.11.1",
|
|
865
|
-
desiredVersion: "~0.
|
|
863
|
+
desiredVersion: "~0.15.0",
|
|
866
864
|
shouldAddIfMissing: true,
|
|
867
865
|
},
|
|
868
866
|
// devDependencies
|
package/package.json
CHANGED