Skip to content

feat(migrate): 8.5.0 migrations #5725

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
Mar 28, 2023
Merged
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
20 changes: 10 additions & 10 deletions lib/controllers/migrate-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class MigrateController
{
packageName: "@nativescript/core",
minVersion: "6.5.0",
desiredVersion: "~8.4.0",
desiredVersion: "~8.5.0",
shouldAddIfMissing: true,
},
{
Expand All @@ -125,7 +125,7 @@ export class MigrateController
{
packageName: "@nativescript/types",
minVersion: "7.0.0",
desiredVersion: "~8.4.0",
desiredVersion: "~8.5.0",
isDev: true,
},
{
Expand Down Expand Up @@ -158,7 +158,7 @@ export class MigrateController
{
packageName: "nativescript-vue",
minVersion: "2.7.0",
desiredVersion: "~2.9.2",
desiredVersion: "~2.9.3",
async shouldMigrateAction(
dependency: IMigrationDependency,
projectData: IProjectData,
Expand All @@ -184,7 +184,7 @@ export class MigrateController
{
packageName: "@nativescript/angular",
minVersion: "10.0.0",
desiredVersion: "~14.2.0",
desiredVersion: "~15.2.0",
async shouldMigrateAction(
dependency: IMigrationDependency,
projectData: IProjectData,
Expand Down Expand Up @@ -289,13 +289,13 @@ export class MigrateController
{
packageName: "@nativescript/ios",
minVersion: "6.5.3",
desiredVersion: "~8.4.0",
desiredVersion: "~8.5.0",
isDev: true,
},
{
packageName: "@nativescript/android",
minVersion: "7.0.0",
desiredVersion: "~8.4.0",
desiredVersion: "~8.5.0",
isDev: true,
},
];
Expand Down Expand Up @@ -1295,7 +1295,7 @@ export class MigrateController

private async migrateNativeScriptAngular(): Promise<IMigrationDependency[]> {
const minVersion = "10.0.0";
const desiredVersion = "~14.2.0";
const desiredVersion = "~15.2.0";

const dependencies: IMigrationDependency[] = [
{
Expand Down Expand Up @@ -1349,13 +1349,13 @@ export class MigrateController
{
packageName: "rxjs",
minVersion: "6.6.0",
desiredVersion: "~7.5.0",
desiredVersion: "~7.6.0",
shouldAddIfMissing: true,
},
{
packageName: "zone.js",
minVersion: "0.11.1",
desiredVersion: "~0.11.5",
desiredVersion: "~0.13.0",
shouldAddIfMissing: true,
},

Expand Down Expand Up @@ -1394,7 +1394,7 @@ export class MigrateController
{
packageName: "nativescript-vue-template-compiler",
minVersion: "2.7.0",
desiredVersion: "~2.9.2",
desiredVersion: "~2.9.3",
isDev: true,
shouldAddIfMissing: true,
},
Expand Down