Skip to content

Commit 3ba3fc6

Browse files
authored
Merge pull request #4830 from NativeScript/kddimitrov/migrate-command-help
docs: introduce help for migrate command
2 parents 9e61ab7 + e082e8a commit 3ba3fc6

File tree

6 files changed

+68
-4
lines changed

6 files changed

+68
-4
lines changed

docs/man_pages/general/migrate.md

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<% if (isJekyll) { %>---
2+
title: tns migrate
3+
position: 15
4+
---<% } %>
5+
6+
# tns migrate
7+
8+
### Description
9+
10+
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.
63+
<% } %>

docs/man_pages/general/package-manager-get.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<% if (isJekyll) { %>---
22
title: tns package-manager get
3-
position: 18
3+
position: 19
44
---<% } %>
55

66
# tns package-manager get

docs/man_pages/general/package-manager-set.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<% if (isJekyll) { %>---
22
title: tns package-manager set
3-
position: 17
3+
position: 18
44
---<% } %>
55

66
# tns package-manager set

docs/man_pages/general/update.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<% if (isJekyll) { %>---
22
title: tns update
3-
position: 15
3+
position: 16
44
---<% } %>
55

66
# tns update

docs/man_pages/general/usage-reporting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<% if (isJekyll) { %>---
22
title: tns usage-reporting
3-
position: 16
3+
position: 17
44
---<% } %>
55

66
# tns usage-reporting

docs/man_pages/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Command | Description
2121
[doctor](general/doctor.html) | Checks your system for configuration problems which might prevent the NativeScript CLI from working properly.
2222
[info](general/info.html) | Displays version information about the NativeScript CLI, core modules, and runtimes.
2323
[proxy](general/proxy.html) | Displays proxy settings.
24+
[migrate](general/migrate.html) | Migrates the app dependencies to a form compatible with NativeScript 6.0.
2425
[update](general/update.html) | Updates the project with the latest versions of iOS/Android runtimes and cross-platform modules.
2526

2627
## Project Development Commands

0 commit comments

Comments
 (0)