You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrates the app dependencies to a form compatible with NativeScript 6.0. Running this command will not affect the codebase of the application and you might need to do additional changes manually.
11
+
12
+
The migrate command will update **"webpack.config.js"**, **"karma.conf.js"**, **"tsconfig.tns.json"**(not for code sharing projects) and **"package-lock.json"**. The original files will be moved to **".migration_backup"** folder.
13
+
The following folders will be removed: **"hooks"**, **"platforms"** and **"node_modules"**. The **"hooks"** folder will also be backed up in **".migration_backup"** folder.
14
+
15
+
The **"nativescript-dev-sass"** and **"nativescript-dev-typescript"** dependencies will be replaced with **"node-sass"** and **"typescript"** respectively.
16
+
The **"nativescript-dev-less"** dependency will be removed, but to enable LESS CSS support the user should follow the steps in this<% if(isConsole) { %> feature request: https://github.com/NativeScript/nativescript-dev-webpack/issues/967.<% } %><% if(isHtml) { %> [feature request](https://github.com/NativeScript/nativescript-dev-webpack/issues/967).<% } %>
17
+
18
+
The following dependencies will be updated if needed:
19
+
* tns-core-modules
20
+
* tns-core-modules-widgets
21
+
* tns-platform-declarations
22
+
* nativescript-dev-webpack
23
+
* nativescript-camera
24
+
* nativescript-geolocation
25
+
* nativescript-imagepicker
26
+
* nativescript-permissions
27
+
* nativescript-social-share
28
+
* nativescript-ui-chart
29
+
* nativescript-ui-dataform
30
+
* nativescript-ui-gauge
31
+
* nativescript-ui-listview
32
+
* nativescript-ui-sidedrawer
33
+
* nativescript-ui-calendar
34
+
* nativescript-ui-autocomplete
35
+
* nativescript-cardview
36
+
* nativescript-datetimepicker
37
+
* kinvey-nativescript-sdk
38
+
* nativescript-plugin-firebase
39
+
* nativescript-vue
40
+
* nativescript-unit-test-runner
41
+
* karma-webpack
42
+
* karma-jasmine
43
+
* karma-mocha
44
+
* karma-chai
45
+
* karma-qunit
46
+
* karma
47
+
48
+
### Commands
49
+
50
+
Usage | Synopsis
51
+
------|-------
52
+
General | `$ tns migrate`
53
+
54
+
<% if(isHtml) { %>
55
+
56
+
### Related Commands
57
+
58
+
Command | Description
59
+
----------|----------
60
+
[update](update.html) | Updates the project with the latest versions of iOS/Android runtimes and cross-platform modules.
61
+
[help](help.html) | Lists the available commands or shows information about the selected command.
62
+
[doctor](doctor.html) | Checks your system for configuration problems which might prevent the NativeScript CLI from working properly.
0 commit comments