@@ -121,7 +121,7 @@ export class MigrateController
121
121
{
122
122
packageName : "@nativescript/core" ,
123
123
minVersion : "6.5.0" ,
124
- desiredVersion : "~8.5 .0" ,
124
+ desiredVersion : "~8.7 .0" ,
125
125
shouldAddIfMissing : true ,
126
126
} ,
127
127
{
@@ -131,7 +131,7 @@ export class MigrateController
131
131
{
132
132
packageName : "@nativescript/types" ,
133
133
minVersion : "7.0.0" ,
134
- desiredVersion : "~8.5 .0" ,
134
+ desiredVersion : "~8.7 .0" ,
135
135
isDev : true ,
136
136
} ,
137
137
{
@@ -190,7 +190,7 @@ export class MigrateController
190
190
{
191
191
packageName : "@nativescript/angular" ,
192
192
minVersion : "10.0.0" ,
193
- desiredVersion : "^16 .0.0" ,
193
+ desiredVersion : "^17 .0.0" ,
194
194
async shouldMigrateAction (
195
195
dependency : IMigrationDependency ,
196
196
projectData : IProjectData ,
@@ -262,7 +262,7 @@ export class MigrateController
262
262
packageName : "typescript" ,
263
263
isDev : true ,
264
264
minVersion : "3.7.0" ,
265
- desiredVersion : "~4.8.4 " ,
265
+ desiredVersion : "~5.4.0 " ,
266
266
} ,
267
267
{
268
268
packageName : "node-sass" ,
@@ -274,7 +274,7 @@ export class MigrateController
274
274
{
275
275
packageName : "sass" ,
276
276
minVersion : "0.0.0" , // ignore
277
- desiredVersion : "~ 1.49.9" ,
277
+ desiredVersion : "^ 1.49.9" ,
278
278
isDev : true ,
279
279
// shouldRemove: true,
280
280
} ,
@@ -295,13 +295,13 @@ export class MigrateController
295
295
{
296
296
packageName : "@nativescript/ios" ,
297
297
minVersion : "6.5.3" ,
298
- desiredVersion : "~8.5 .0" ,
298
+ desiredVersion : "~8.7 .0" ,
299
299
isDev : true ,
300
300
} ,
301
301
{
302
302
packageName : "@nativescript/android" ,
303
303
minVersion : "7.0.0" ,
304
- desiredVersion : "~8.5 .0" ,
304
+ desiredVersion : "~8.7 .0" ,
305
305
isDev : true ,
306
306
} ,
307
307
] ;
@@ -1235,14 +1235,14 @@ export class MigrateController
1235
1235
1236
1236
// update
1237
1237
configContents . compilerOptions = configContents . compilerOptions || { } ;
1238
- configContents . compilerOptions . target = "es2017 " ;
1238
+ configContents . compilerOptions . target = "es2020 " ;
1239
1239
configContents . compilerOptions . module = "esnext" ;
1240
1240
configContents . compilerOptions . moduleResolution = "node" ;
1241
1241
configContents . compilerOptions . experimentalDecorators = true ;
1242
1242
configContents . compilerOptions . removeComments = false ;
1243
1243
1244
1244
configContents . compilerOptions . lib = [
1245
- ...new Set ( [ ...( configContents . compilerOptions . lib || [ ] ) , "es2017 " ] ) ,
1245
+ ...new Set ( [ ...( configContents . compilerOptions . lib || [ ] ) , "ESNext " ] ) ,
1246
1246
] ;
1247
1247
1248
1248
if ( isAngular ) {
@@ -1310,7 +1310,7 @@ export class MigrateController
1310
1310
1311
1311
private async migrateNativeScriptAngular ( ) : Promise < IMigrationDependency [ ] > {
1312
1312
const minVersion = "10.0.0" ;
1313
- const desiredVersion = "~16.2 .0" ;
1313
+ const desiredVersion = "~17.3 .0" ;
1314
1314
1315
1315
const dependencies : IMigrationDependency [ ] = [
1316
1316
{
0 commit comments