@@ -37,16 +37,16 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
37
37
] ;
38
38
39
39
private migrationDependencies : IMigrationDependency [ ] = [
40
- { packageName : constants . TNS_CORE_MODULES_NAME , verifiedVersion : "6.0.0-next -2019-06-20-155941-01 " } ,
41
- { packageName : constants . TNS_CORE_MODULES_WIDGETS_NAME , verifiedVersion : "6.0.0-next-2019-06-20-155941-01 " } ,
42
- { packageName : "tns-platform-declarations" , verifiedVersion : "6.0.0-next -2019-06-27-082418-01 " } ,
40
+ { packageName : constants . TNS_CORE_MODULES_NAME , verifiedVersion : "6.0.0-rc -2019-06-28-175837-02 " } ,
41
+ { packageName : constants . TNS_CORE_MODULES_WIDGETS_NAME , verifiedVersion : "6.0.0" } ,
42
+ { packageName : "tns-platform-declarations" , isDev : true , verifiedVersion : "6.0.0-rc -2019-06-28-175837-02 " } ,
43
43
{ packageName : "node-sass" , isDev : true , verifiedVersion : "4.12.0" } ,
44
44
{ packageName : "typescript" , isDev : true , verifiedVersion : "3.4.1" } ,
45
45
{ packageName : "less" , isDev : true , verifiedVersion : "3.9.0" } ,
46
46
{ packageName : "nativescript-dev-sass" , isDev : true , replaceWith : "node-sass" } ,
47
47
{ packageName : "nativescript-dev-typescript" , isDev : true , replaceWith : "typescript" } ,
48
48
{ packageName : "nativescript-dev-less" , isDev : true , replaceWith : "less" } ,
49
- { packageName : constants . WEBPACK_PLUGIN_NAME , isDev : true , shouldAddIfMissing : true , verifiedVersion : "0.25.0-next -2019-06-21-150426-03 " } ,
49
+ { packageName : constants . WEBPACK_PLUGIN_NAME , isDev : true , shouldAddIfMissing : true , verifiedVersion : "1.0.0-rc -2019-07-02-161545-02 " } ,
50
50
{ packageName : "nativescript-camera" , verifiedVersion : "4.5.0" } ,
51
51
{ packageName : "nativescript-geolocation" , verifiedVersion : "5.1.0" } ,
52
52
{ packageName : "nativescript-imagepicker" , verifiedVersion : "6.2.0" } ,
@@ -64,7 +64,7 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
64
64
//TODO update with compatible with webpack only hooks
65
65
{ packageName : "nativescript-plugin-firebase" , verifiedVersion : "9.0.1" } ,
66
66
//TODO update with no prerelease version compatible with webpack only hooks
67
- { packageName : "nativescript-vue" , verifiedVersion : "2.3.0-rc.0 " } ,
67
+ { packageName : "nativescript-vue" , verifiedVersion : "2.3.0-rc.1 " } ,
68
68
{ packageName : "nativescript-permissions" , verifiedVersion : "1.3.0" } ,
69
69
{ packageName : "nativescript-cardview" , verifiedVersion : "3.2.0" } ,
70
70
{
@@ -76,8 +76,8 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
76
76
77
77
get verifiedPlatformVersions ( ) : IDictionary < string > {
78
78
return {
79
- [ this . $devicePlatformsConstants . Android . toLowerCase ( ) ] : "6.0.0-2019-06-11-172137-01 " ,
80
- [ this . $devicePlatformsConstants . iOS . toLowerCase ( ) ] : "6.0.0-2019-06-10-154118-03 "
79
+ [ this . $devicePlatformsConstants . Android . toLowerCase ( ) ] : "6.0.0-rc- 2019-06-27-172817-03 " ,
80
+ [ this . $devicePlatformsConstants . iOS . toLowerCase ( ) ] : "6.0.0-rc- 2019-06-28-105002-01 "
81
81
} ;
82
82
}
83
83
@@ -165,7 +165,7 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
165
165
matchBase : true ,
166
166
nodir : true ,
167
167
absolute : false ,
168
- root : projectData . appDirectoryPath
168
+ cwd : projectData . appDirectoryPath
169
169
} ;
170
170
171
171
const jsFiles = glob . sync ( "*.@(js|ts|js.map)" , globOptions ) ;
@@ -176,7 +176,7 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
176
176
177
177
const allGeneratedFiles = autoGeneratedJsFiles . concat ( autoGeneratedJsMapFiles ) . concat ( autoGeneratedCssFiles ) ;
178
178
for ( const generatedFile of allGeneratedFiles ) {
179
- const sourceFile = path . join ( projectData . projectDir , generatedFile ) ;
179
+ const sourceFile = path . join ( projectData . appDirectoryPath , generatedFile ) ;
180
180
const destinationFile = path . join ( backupDir , generatedFile ) ;
181
181
const destinationFileDir = path . dirname ( destinationFile ) ;
182
182
this . $fs . ensureDirectoryExists ( destinationFileDir ) ;
0 commit comments