@@ -37,16 +37,16 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
3737 ] ;
3838
3939 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 " } ,
4343 { packageName : "node-sass" , isDev : true , verifiedVersion : "4.12.0" } ,
4444 { packageName : "typescript" , isDev : true , verifiedVersion : "3.4.1" } ,
4545 { packageName : "less" , isDev : true , verifiedVersion : "3.9.0" } ,
4646 { packageName : "nativescript-dev-sass" , isDev : true , replaceWith : "node-sass" } ,
4747 { packageName : "nativescript-dev-typescript" , isDev : true , replaceWith : "typescript" } ,
4848 { 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 " } ,
5050 { packageName : "nativescript-camera" , verifiedVersion : "4.5.0" } ,
5151 { packageName : "nativescript-geolocation" , verifiedVersion : "5.1.0" } ,
5252 { packageName : "nativescript-imagepicker" , verifiedVersion : "6.2.0" } ,
@@ -64,7 +64,7 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
6464 //TODO update with compatible with webpack only hooks
6565 { packageName : "nativescript-plugin-firebase" , verifiedVersion : "9.0.1" } ,
6666 //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 " } ,
6868 { packageName : "nativescript-permissions" , verifiedVersion : "1.3.0" } ,
6969 { packageName : "nativescript-cardview" , verifiedVersion : "3.2.0" } ,
7070 {
@@ -76,8 +76,8 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
7676
7777 get verifiedPlatformVersions ( ) : IDictionary < string > {
7878 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 "
8181 } ;
8282 }
8383
@@ -165,7 +165,7 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
165165 matchBase : true ,
166166 nodir : true ,
167167 absolute : false ,
168- root : projectData . appDirectoryPath
168+ cwd : projectData . appDirectoryPath
169169 } ;
170170
171171 const jsFiles = glob . sync ( "*.@(js|ts|js.map)" , globOptions ) ;
@@ -176,7 +176,7 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
176176
177177 const allGeneratedFiles = autoGeneratedJsFiles . concat ( autoGeneratedJsMapFiles ) . concat ( autoGeneratedCssFiles ) ;
178178 for ( const generatedFile of allGeneratedFiles ) {
179- const sourceFile = path . join ( projectData . projectDir , generatedFile ) ;
179+ const sourceFile = path . join ( projectData . appDirectoryPath , generatedFile ) ;
180180 const destinationFile = path . join ( backupDir , generatedFile ) ;
181181 const destinationFileDir = path . dirname ( destinationFile ) ;
182182 this . $fs . ensureDirectoryExists ( destinationFileDir ) ;
0 commit comments