nativescript 8.6.0-vision.4 → 8.6.0-vision.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/README.md +1 -1
  2. package/docs/man_pages/cloud/cloud-setup.md +9 -9
  3. package/docs/man_pages/device/device-android.md +3 -3
  4. package/docs/man_pages/device/device-ios.md +5 -5
  5. package/docs/man_pages/device/device-list-applications.md +4 -4
  6. package/docs/man_pages/device/device-log.md +4 -4
  7. package/docs/man_pages/device/device-run.md +5 -5
  8. package/docs/man_pages/device/device.md +5 -5
  9. package/docs/man_pages/env-configuration/setup.md +3 -3
  10. package/docs/man_pages/general/autocomplete-disable.md +3 -3
  11. package/docs/man_pages/general/autocomplete-enable.md +3 -3
  12. package/docs/man_pages/general/autocomplete-status.md +3 -3
  13. package/docs/man_pages/general/autocomplete.md +6 -6
  14. package/docs/man_pages/general/error-reporting.md +3 -3
  15. package/docs/man_pages/general/extension-install.md +3 -3
  16. package/docs/man_pages/general/extension-uninstall.md +3 -3
  17. package/docs/man_pages/general/extension.md +3 -3
  18. package/docs/man_pages/general/help.md +6 -6
  19. package/docs/man_pages/general/info.md +3 -3
  20. package/docs/man_pages/general/migrate.md +3 -3
  21. package/docs/man_pages/general/package-manager-get.md +3 -3
  22. package/docs/man_pages/general/package-manager-set.md +3 -3
  23. package/docs/man_pages/general/package-manager.md +3 -3
  24. package/docs/man_pages/general/proxy-clear.md +3 -3
  25. package/docs/man_pages/general/proxy-set.md +3 -3
  26. package/docs/man_pages/general/proxy.md +3 -3
  27. package/docs/man_pages/general/update.md +5 -5
  28. package/docs/man_pages/general/usage-reporting.md +3 -3
  29. package/docs/man_pages/lib-management/plugin-add.md +4 -4
  30. package/docs/man_pages/lib-management/plugin-build.md +3 -3
  31. package/docs/man_pages/lib-management/plugin-create.md +7 -7
  32. package/docs/man_pages/lib-management/plugin-install.md +4 -4
  33. package/docs/man_pages/lib-management/plugin-remove.md +4 -4
  34. package/docs/man_pages/lib-management/plugin-update.md +3 -3
  35. package/docs/man_pages/lib-management/plugin.md +4 -4
  36. package/docs/man_pages/project/configuration/generate.md +3 -3
  37. package/docs/man_pages/project/configuration/install.md +6 -6
  38. package/docs/man_pages/project/configuration/platform-add.md +11 -11
  39. package/docs/man_pages/project/configuration/platform-clean.md +6 -6
  40. package/docs/man_pages/project/configuration/platform-remove.md +5 -5
  41. package/docs/man_pages/project/configuration/platform-update.md +11 -11
  42. package/docs/man_pages/project/configuration/platform.md +3 -3
  43. package/docs/man_pages/project/configuration/prepare.md +5 -5
  44. package/docs/man_pages/project/configuration/resources/resources-generate-icons.md +4 -4
  45. package/docs/man_pages/project/configuration/resources/resources-generate-splashes.md +4 -4
  46. package/docs/man_pages/project/configuration/resources/resources-update.md +5 -5
  47. package/docs/man_pages/project/creation/create.md +4 -4
  48. package/docs/man_pages/project/testing/build-android.md +4 -4
  49. package/docs/man_pages/project/testing/build-ios.md +6 -6
  50. package/docs/man_pages/project/testing/build.md +5 -5
  51. package/docs/man_pages/project/testing/debug-android.md +9 -9
  52. package/docs/man_pages/project/testing/debug-ios.md +11 -11
  53. package/docs/man_pages/project/testing/debug.md +4 -4
  54. package/docs/man_pages/project/testing/deploy.md +8 -8
  55. package/docs/man_pages/project/testing/dev-test-android.md +5 -5
  56. package/docs/man_pages/project/testing/dev-test-ios.md +7 -7
  57. package/docs/man_pages/project/testing/preview.md +4 -4
  58. package/docs/man_pages/project/testing/run-android.md +7 -7
  59. package/docs/man_pages/project/testing/run-ios.md +11 -11
  60. package/docs/man_pages/project/testing/run.md +7 -7
  61. package/docs/man_pages/project/testing/test-android.md +7 -7
  62. package/docs/man_pages/project/testing/test-init.md +3 -3
  63. package/docs/man_pages/project/testing/test-ios.md +9 -9
  64. package/docs/man_pages/project/testing/test.md +4 -4
  65. package/docs/man_pages/publishing/apple-login.md +3 -3
  66. package/docs/man_pages/publishing/appstore-upload.md +7 -7
  67. package/docs/man_pages/publishing/appstore.md +5 -5
  68. package/docs/man_pages/publishing/publish-ios.md +7 -7
  69. package/docs/man_pages/publishing/publish.md +6 -6
  70. package/docs/man_pages/start.md +2 -1
  71. package/lib/.d.ts +8 -0
  72. package/lib/bootstrap.js +4 -0
  73. package/lib/color.js +6 -1
  74. package/lib/commands/clean.js +4 -4
  75. package/lib/commands/run.js +7 -3
  76. package/lib/commands/start.js +33 -0
  77. package/lib/commands/typings.js +3 -3
  78. package/lib/common/definitions/config.d.ts +1 -0
  79. package/lib/common/definitions/key-commands.d.ts +61 -0
  80. package/lib/common/definitions/yok.d.ts +5 -0
  81. package/lib/common/header.js +30 -0
  82. package/lib/common/mobile/mobile-core/devices-service.js +11 -13
  83. package/lib/common/yok.js +25 -0
  84. package/lib/config.js +1 -0
  85. package/lib/controllers/migrate-controller.js +5 -5
  86. package/lib/controllers/prepare-controller.js +41 -4
  87. package/lib/controllers/run-controller.js +5 -0
  88. package/lib/definitions/livesync.d.ts +3 -0
  89. package/lib/definitions/prepare.d.ts +3 -0
  90. package/lib/definitions/project.d.ts +2 -0
  91. package/lib/definitions/run.d.ts +4 -1
  92. package/lib/definitions/start-service.d.ts +13 -0
  93. package/lib/helpers/key-command-helper.js +119 -0
  94. package/lib/helpers/livesync-command-helper.js +49 -18
  95. package/lib/key-commands/bootstrap.js +15 -0
  96. package/lib/key-commands/index.js +291 -0
  97. package/lib/services/android-plugin-build-service.js +6 -5
  98. package/lib/services/apple-portal/apple-portal-session-service.js +1 -1
  99. package/lib/services/build-artifacts-service.js +1 -1
  100. package/lib/services/ios-project-service.js +10 -10
  101. package/lib/services/livesync/android-livesync-tool.js +1 -1
  102. package/lib/services/plugins-service.js +2 -1
  103. package/lib/services/start-service.js +104 -0
  104. package/lib/services/webpack/webpack-compiler-service.js +9 -4
  105. package/node_modules/@npmcli/move-file/node_modules/mkdirp/CHANGELOG.md +15 -0
  106. package/node_modules/rimraf/CHANGELOG.md +65 -0
  107. package/node_modules/stringify-package/CHANGELOG.md +16 -0
  108. package/package.json +4 -3
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns usage-reporting
2
+ title: ns usage-reporting
3
3
  position: 17
4
4
  ---<% } %>
5
5
 
6
- # tns usage-reporting
6
+ # ns usage-reporting
7
7
 
8
8
  ### Description
9
9
 
@@ -13,7 +13,7 @@ Configures anonymous usage reporting for the NativeScript CLI. All data gathered
13
13
 
14
14
  Usage | Synopsis
15
15
  ------|-------
16
- General | `$ tns usage-reporting [<Command>]`
16
+ General | `$ ns usage-reporting [<Command>]`
17
17
 
18
18
  ### Arguments
19
19
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns plugin add
2
+ title: ns plugin add
3
3
  position: 1
4
4
  ---<% } %>
5
5
 
6
- # tns plugin add
6
+ # ns plugin add
7
7
 
8
8
  ### Description
9
9
 
@@ -14,8 +14,8 @@ position: 1
14
14
 
15
15
  Usage | Synopsis
16
16
  ------|-------
17
- General | `$ tns plugin add <Plugin>`
18
- Alias | `$ tns plugin install <Plugin>`
17
+ General | `$ ns plugin add <Plugin>`
18
+ Alias | `$ ns plugin install <Plugin>`
19
19
 
20
20
  ### Arguments
21
21
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns plugin build
2
+ title: ns plugin build
3
3
  position: 8
4
4
  ---<% } %>
5
5
 
6
- # tns plugin build
6
+ # ns plugin build
7
7
 
8
8
  ### Description
9
9
 
@@ -14,7 +14,7 @@ position: 8
14
14
 
15
15
  Usage | Synopsis
16
16
  ------|-------
17
- General | `$ tns plugin build`
17
+ General | `$ ns plugin build`
18
18
 
19
19
  <% if(isHtml) { %>
20
20
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns plugin create
2
+ title: ns plugin create
3
3
  position: 1
4
4
  ---<% } %>
5
5
 
6
- # tns plugin create
6
+ # ns plugin create
7
7
 
8
8
  ### Description
9
9
 
@@ -23,8 +23,8 @@ The project is setup for easy commit in Github, which is why the command will as
23
23
 
24
24
  Usage | Synopsis
25
25
  ---|---
26
- Create from the default plugin seed | `$ tns plugin create <Plugin Repository Name> [--path <Directory>]`
27
- Create from a custom plugin seed | `$ tns plugin create <Plugin Repository Name> [--path <Directory>] --template <Template>`
26
+ Create from the default plugin seed | `$ ns plugin create <Plugin Repository Name> [--path <Directory>]`
27
+ Create from a custom plugin seed | `$ ns plugin create <Plugin Repository Name> [--path <Directory>] --template <Template>`
28
28
 
29
29
  ### Options
30
30
 
@@ -33,15 +33,15 @@ Create from a custom plugin seed | `$ tns plugin create <Plugin Repository Name>
33
33
  * `--pluginName` - Used to set the default file and class names in the plugin source.
34
34
  * `--includeTypeScriptDemo` - Specifies if TypeScript demo should be created. Default value is `y` (i.e. `demo` will be created), in case you do not want to create this demo, pass `--includeTypeScriptDemo=n`
35
35
  * `--includeAngularDemo` - Specifies if Angular demo should be created. Default value is `y` (i.e. `demo-angular` will be created), in case you do not want to create this demo, pass `--includeAngularDemo=n`
36
- * `--template` - Specifies the custom seed archive, which you want to use to create your plugin. If `--template` is not set, the NativeScript CLI creates the plugin from the default NativeScript Plugin Seed. `<Template>` can be a URL or a local path to a `.tar.gz` file with the contents of a seed repository.<% if(isHtml) { %> This must be a clone of the [NativeScript Plugin Seed](https://github.com/NativeScript/nativescript-plugin-seed) and must contain a `src` directory with a package.json file and a script at `src/scripts/postclone.js`. After the archive is extracted, the postclone script will be executed with the username (`gitHubUsername`) and plugin name (`pluginName`) parameters given to the `tns plugin create` command prompts. For more information, visit the default plugin seed repository and [examine the source script](https://github.com/NativeScript/nativescript-plugin-seed/blob/master/src/scripts/postclone.js) there. Examples:
36
+ * `--template` - Specifies the custom seed archive, which you want to use to create your plugin. If `--template` is not set, the NativeScript CLI creates the plugin from the default NativeScript Plugin Seed. `<Template>` can be a URL or a local path to a `.tar.gz` file with the contents of a seed repository.<% if(isHtml) { %> This must be a clone of the [NativeScript Plugin Seed](https://github.com/NativeScript/nativescript-plugin-seed) and must contain a `src` directory with a package.json file and a script at `src/scripts/postclone.js`. After the archive is extracted, the postclone script will be executed with the username (`gitHubUsername`) and plugin name (`pluginName`) parameters given to the `ns plugin create` command prompts. For more information, visit the default plugin seed repository and [examine the source script](https://github.com/NativeScript/nativescript-plugin-seed/blob/master/src/scripts/postclone.js) there. Examples:
37
37
 
38
38
  * Using a local file:
39
39
 
40
- `tns plugin create nativescript-testplugin --template ../seeds/seed1.tar.gz`
40
+ `ns plugin create nativescript-testplugin --template ../seeds/seed1.tar.gz`
41
41
 
42
42
  * Using a `.tar.gz` file from a tag called `v4.0` in a Github repository:
43
43
 
44
- `tns plugin create nativescript-testplugin --template https://github.com/NativeScript/nativescript-plugin-seed/archive/v.4.0.tar.gz`<% } %>
44
+ `ns plugin create nativescript-testplugin --template https://github.com/NativeScript/nativescript-plugin-seed/archive/v.4.0.tar.gz`<% } %>
45
45
 
46
46
  ### Arguments
47
47
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns plugin install
2
+ title: ns plugin install
3
3
  position: 3
4
4
  ---<% } %>
5
5
 
6
- # tns plugin install
6
+ # ns plugin install
7
7
 
8
8
  ### Description
9
9
 
@@ -14,8 +14,8 @@ position: 3
14
14
 
15
15
  Usage | Synopsis
16
16
  ------|-------
17
- General | `$ tns plugin install <Plugin>`
18
- Alias | `$ tns plugin add <Plugin>`
17
+ General | `$ ns plugin install <Plugin>`
18
+ Alias | `$ ns plugin add <Plugin>`
19
19
 
20
20
  ### Arguments
21
21
 
@@ -1,20 +1,20 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns plugin remove
2
+ title: ns plugin remove
3
3
  position: 4
4
4
  ---<% } %>
5
5
 
6
- # tns plugin remove
6
+ # ns plugin remove
7
7
 
8
8
  ### Description
9
9
 
10
10
  <% if(isConsole) { %>Uninstalls a plugin by its name.<% } %>
11
- <% if(isHtml) { %>Removes the specified plugin and its dependencies from the local `node_modules` folder and the `dependencies` section in `package.json`. This operation does not remove the plugin from the installed platforms and you need to run `$ tns prepare` to finish uninstalling the plugin.<% } %>
11
+ <% if(isHtml) { %>Removes the specified plugin and its dependencies from the local `node_modules` folder and the `dependencies` section in `package.json`. This operation does not remove the plugin from the installed platforms and you need to run `$ ns prepare` to finish uninstalling the plugin.<% } %>
12
12
 
13
13
  ### Commands
14
14
 
15
15
  Usage | Synopsis
16
16
  ------|-------
17
- General | `$ tns plugin remove <Plugin>`
17
+ General | `$ ns plugin remove <Plugin>`
18
18
 
19
19
  ### Arguments
20
20
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns plugin update
2
+ title: ns plugin update
3
3
  position: 7
4
4
  ---<% } %>
5
5
 
6
- # tns plugin update
6
+ # ns plugin update
7
7
 
8
8
  ### Description
9
9
 
@@ -14,7 +14,7 @@ position: 7
14
14
 
15
15
  Usage | Synopsis
16
16
  ------|-------
17
- General | `$ tns plugin update <Plugin(s)>`
17
+ General | `$ ns plugin update <Plugin(s)>`
18
18
 
19
19
  ### Arguments
20
20
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns plugin
2
+ title: ns plugin
3
3
  position: 10
4
4
  ---<% } %>
5
5
 
6
- # tns plugin
6
+ # ns plugin
7
7
 
8
8
  ### Description
9
9
 
@@ -13,8 +13,8 @@ Lets you manage the plugins for your project.
13
13
 
14
14
  Usage | Synopsis
15
15
  ---|---
16
- List plugins | `$ tns plugin`
17
- Manage plugins | `$ tns plugin <Command>`
16
+ List plugins | `$ ns plugin`
17
+ Manage plugins | `$ ns plugin <Command>`
18
18
 
19
19
  ### Arguments
20
20
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns generate
2
+ title: ns generate
3
3
  position: 9
4
4
  ---<% } %>
5
5
 
6
- # tns generate
6
+ # ns generate
7
7
 
8
8
  ### Description
9
9
 
@@ -13,7 +13,7 @@ Modifies the project by executing a specified schematic to it.
13
13
 
14
14
  Usage | Synopsis
15
15
  ------|-------
16
- General | `$ tns generate <Schematic Name> [--collection <Collection>] [option=value]`
16
+ General | `$ ns generate <Schematic Name> [--collection <Collection>] [option=value]`
17
17
 
18
18
  ### Options
19
19
 
@@ -1,25 +1,25 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns install
2
+ title: ns install
3
3
  position: 1
4
4
  ---<% } %>
5
5
 
6
- # tns install
6
+ # ns install
7
7
 
8
8
  ### Description
9
9
 
10
10
  Installs all dependencies described in a valid `package.json` or installs a selected NativeScript development module as a dev dependency.
11
11
 
12
12
  <% if(isHtml) { %>
13
- The `package.json` file must be a valid `package.json` describing the configuration of a NativeScript project. If missing or corrupted, you can recreate the file by running `$ tns init` in the directory of a NativeScript project.
13
+ The `package.json` file must be a valid `package.json` describing the configuration of a NativeScript project. If missing or corrupted, you can recreate the file by running `$ ns init` in the directory of a NativeScript project.
14
14
  <% } %>
15
15
 
16
16
  ### Commands
17
17
 
18
18
  Usage | Synopsis
19
19
  ---|---
20
- Install all dependencies | `$ tns install [--path]`
21
- Install a selected npm module | `$ tns install <Module>`
22
- Enable TypeScript support | `$ tns install typescript`
20
+ Install all dependencies | `$ ns install [--path]`
21
+ Install a selected npm module | `$ ns install <Module>`
22
+ Enable TypeScript support | `$ ns install typescript`
23
23
 
24
24
  ### Options
25
25
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns platform add
2
+ title: ns platform add
3
3
  position: 2
4
4
  ---<% } %>
5
5
 
6
- # tns platform add
6
+ # ns platform add
7
7
 
8
8
  ### Description
9
9
 
@@ -13,10 +13,10 @@ Configures the current project to target the selected platform. <% if(isHtml) {
13
13
 
14
14
  Usage | Synopsis
15
15
  ------|-------
16
- Android latest runtime | `$ tns platform add android [--framework-path <File Path>]`
17
- Android selected runtime | `$ tns platform add android[@<Version>] [--framework-path <File Path>] `
18
- <% if (isMacOS) { %>iOS latest runtime | `$ tns platform add ios [--framework-path <File Path>]`
19
- iOS selected runtime | `$ tns platform add ios[@<Version>] [--framework-path <File Path>] `<% } %>
16
+ Android latest runtime | `$ ns platform add android [--framework-path <File Path>]`
17
+ Android selected runtime | `$ ns platform add android[@<Version>] [--framework-path <File Path>] `
18
+ <% if (isMacOS) { %>iOS latest runtime | `$ ns platform add ios [--framework-path <File Path>]`
19
+ iOS selected runtime | `$ ns platform add ios[@<Version>] [--framework-path <File Path>] `<% } %>
20
20
 
21
21
  ### Options
22
22
 
@@ -25,14 +25,14 @@ iOS selected runtime | `$ tns platform add ios[@<Version>] [--framework-path <Fi
25
25
  ### Arguments
26
26
 
27
27
  * `<Version>` is any available version of the respective platform runtime published in npm. <% if(isHtml) { %>If `@<Version>` is not specified, the NativeScript CLI installs the latest stable runtime for the selected platform.
28
- To list all available versions for Android, run `$ npm view tns-android versions`
29
- To list only experimental versions for Android, run `$ npm view tns-android dist-tags`
30
- To list all available versions for iOS, run `$ npm view tns-ios versions`
31
- To list only experimental versions for iOS, run `$ npm view tns-ios dist-tags`
28
+ To list all available versions for Android, run `$ npm view @nativescript/android versions`
29
+ To list only experimental versions for Android, run `$ npm view @nativescript/android dist-tags`
30
+ To list all available versions for iOS, run `$ npm view @nativescript/ios versions`
31
+ To list only experimental versions for iOS, run `$ npm view @nativescript/ios dist-tags`
32
32
 
33
33
  ### Command Limitations
34
34
 
35
- * You can run `$ tns platform add ios` only on macOS systems.
35
+ * You can run `$ ns platform add ios` only on macOS systems.
36
36
 
37
37
  ### Related Commands
38
38
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns platform clean
2
+ title: ns platform clean
3
3
  position: 3
4
4
  ---<% } %>
5
5
 
6
- # tns platform clean
6
+ # ns platform clean
7
7
 
8
8
  ### Description
9
9
 
@@ -13,8 +13,8 @@ Removes and adds the selected platform to the project currently targets. <% if(i
13
13
 
14
14
  Usage | Synopsis
15
15
  ------|-------
16
- <% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns platform clean <Platform>`<% } %>
17
- <% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns platform clean android`<% } %>
16
+ <% if((isConsole && isMacOS) || isHtml) { %>General | `$ ns platform clean <Platform>`<% } %>
17
+ <% if(isConsole && (isLinux || isWindows)) { %>General | `$ ns platform clean android`<% } %>
18
18
 
19
19
  <% if(isMacOS) { %>### Arguments
20
20
  `<Platform>` is the target mobile platform that you want to clean in your project. You can set the following target platforms.
@@ -25,8 +25,8 @@ Usage | Synopsis
25
25
 
26
26
  ### Command Limitations
27
27
 
28
- * You can run `$ tns platform clean ios` only on macOS systems.
29
- * Clean command will not preserve your current installed platform version but will download and install latest platform version. If you are using clean with custom version of the runtime, specify the version in the command tns clean ios@2.1.0 or tns clean ios --frameworkPath <path-to-tgz>
28
+ * You can run `$ ns platform clean ios` only on macOS systems.
29
+ * Clean command will not preserve your current installed platform version but will download and install latest platform version. If you are using clean with custom version of the runtime, specify the version in the command `ns clean ios@2.1.0` or `ns clean ios --frameworkPath <path-to-tgz>`.
30
30
 
31
31
  ### Related Commands
32
32
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns platform remove
2
+ title: ns platform remove
3
3
  position: 4
4
4
  ---<% } %>
5
5
 
6
- # tns platform remove
6
+ # ns platform remove
7
7
 
8
8
  ### Description
9
9
 
@@ -15,8 +15,8 @@ Removes the selected platform from the platforms that the project currently targ
15
15
 
16
16
  Usage | Synopsis
17
17
  ------|-------
18
- <% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns platform remove <Platform>`<% } %>
19
- <% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns platform remove android`<% } %>
18
+ <% if((isConsole && isMacOS) || isHtml) { %>General | `$ ns platform remove <Platform>`<% } %>
19
+ <% if(isConsole && (isLinux || isWindows)) { %>General | `$ ns platform remove android`<% } %>
20
20
 
21
21
  <% if(isMacOS) { %>### Arguments
22
22
  `<Platform>` is the target mobile platform that you want to remove from your project. You can set the following target platforms.
@@ -27,7 +27,7 @@ Usage | Synopsis
27
27
 
28
28
  ### Command Limitations
29
29
 
30
- * You can run `$ tns platform remove ios` only on macOS systems.
30
+ * You can run `$ ns platform remove ios` only on macOS systems.
31
31
 
32
32
  ### Related Commands
33
33
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns platform update
2
+ title: ns platform update
3
3
  position: 5
4
4
  ---<% } %>
5
5
 
6
- # tns platform update
6
+ # ns platform update
7
7
 
8
8
  ### Description
9
9
 
@@ -13,10 +13,10 @@ Updates the NativeScript runtime for the specified platform. <% if(isMacOS) { %>
13
13
 
14
14
  Usage | Synopsis
15
15
  ------|-------
16
- Android latest runtime |`$ tns platform update android`
17
- Android selected runtime | `$ tns platform update android@<Version>`
18
- <% if(isMacOS) { %>iOS latest runtime | `$ tns platform update ios`
19
- iOS selected runtime | `$ tns platform update ios@<Version>` <% } %>
16
+ Android latest runtime |`$ ns platform update android`
17
+ Android selected runtime | `$ ns platform update android@<Version>`
18
+ <% if(isMacOS) { %>iOS latest runtime | `$ ns platform update ios`
19
+ iOS selected runtime | `$ ns platform update ios@<Version>` <% } %>
20
20
 
21
21
  ### Arguments
22
22
 
@@ -24,14 +24,14 @@ iOS selected runtime | `$ tns platform update ios@<Version>` <% } %>
24
24
  * `android` - Updates the Android runtime.
25
25
  * `ios` - Updates the iOS runtime.<% } %>
26
26
  * `<Version>` is any available version of the respective platform runtime published in npm. <% if(isHtml) { %>If `@<Version>` is not specified, the NativeScript CLI installs the latest stable runtime for the selected platform.
27
- To list all available versions for Android, run `$ npm view tns-android versions`
28
- To list only experimental versions for android, run `$ npm view tns-android dist-tags`
29
- To list all available versions for iOS, run `$ npm view tns-ios versions`
30
- To list only experimental versions for ios, run `$ npm view tns-ios dist-tags`
27
+ To list all available versions for Android, run `$ npm view @nativescript/android versions`
28
+ To list only experimental versions for Android, run `$ npm view @nativescript/android dist-tags`
29
+ To list all available versions for iOS, run `$ npm view @nativescript/ios versions`
30
+ To list only experimental versions for iOS, run `$ npm view @nativescript/ios dist-tags`
31
31
 
32
32
  ### Command Limitations
33
33
 
34
- * You can run `$ tns platform update ios` only on macOS systems.
34
+ * You can run `$ ns platform update ios` only on macOS systems.
35
35
 
36
36
  ### Related Commands
37
37
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns platform
2
+ title: ns platform
3
3
  position: 6
4
4
  ---<% } %>
5
5
 
6
- # tns platform
6
+ # ns platform
7
7
 
8
8
  ### Description
9
9
 
@@ -13,7 +13,7 @@ Lists all platforms that the project currently targets. You can build and deploy
13
13
 
14
14
  Usage | Synopsis
15
15
  ---|---
16
- General | `$ tns platform list`
16
+ General | `$ ns platform list`
17
17
 
18
18
  <% if(isHtml) { %>
19
19
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns prepare
2
+ title: ns prepare
3
3
  position: 7
4
4
  ---<% } %>
5
5
 
6
- # tns prepare
6
+ # ns prepare
7
7
 
8
8
  ### Description
9
9
 
@@ -19,7 +19,7 @@ When running this command the HMR (Hot Module Replacement) is not enabled by def
19
19
 
20
20
  Usage | Synopsis
21
21
  ------|-------
22
- <% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns prepare <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns prepare android`<% } %>
22
+ <% if((isConsole && isMacOS) || isHtml) { %>General | `$ ns prepare <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ ns prepare android`<% } %>
23
23
 
24
24
  <% if(isMacOS) { %>### Arguments
25
25
  `<Platform>` is the target mobile platform for which you want to prepare your project. You can set the following target platforms.
@@ -29,13 +29,13 @@ Usage | Synopsis
29
29
  ### Options
30
30
 
31
31
  * `--hmr` - Enables the hot module replacement (HMR) feature.
32
- * `--force` - If set, skips the application compatibility checks and forces `npm i` to ensure all dependencies are installed. Otherwise, the command will check the application compatibility with the current CLI version and could fail requiring `tns migrate`.
32
+ * `--force` - If set, skips the application compatibility checks and forces `npm i` to ensure all dependencies are installed. Otherwise, the command will check the application compatibility with the current CLI version and could fail requiring `ns migrate`.
33
33
 
34
34
  <% if(isHtml) { %>
35
35
 
36
36
  ### Command Limitations
37
37
 
38
- * You can run `$ tns prepare ios` only on macOS systems.
38
+ * You can run `$ ns prepare ios` only on macOS systems.
39
39
 
40
40
  ### Related Commands
41
41
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns resources generate icons
2
+ title: ns resources generate icons
3
3
  position: 11
4
4
  ---<% } %>
5
5
 
6
- # tns resources generate icons
6
+ # ns resources generate icons
7
7
 
8
8
  ### Description
9
9
 
@@ -13,11 +13,11 @@ Generates all icons for Android and iOS platforms and places the generated image
13
13
 
14
14
  Usage | Synopsis
15
15
  ------|-------
16
- `$ tns resources generate icons <Path to image>` | Generate all icons for Android and iOS based on the specified image.
16
+ `$ ns resources generate icons <Path to image>` | Generate all icons for Android and iOS based on the specified image.
17
17
 
18
18
  ### Options
19
19
 
20
- * `--background` Sets the background color of the icon. When no color is specified, a default value of `transparent` is used. `<Color>` is a valid color and can be represented with string, like `white`, `black`, `blue`, or with HEX representation, for example `#FFFFFF`, `#000000`, `#0000FF`. NOTE: As the `#` is special symbol in some terminals, make sure to place the value in quotes, for example `$ tns resources generate icons ../myImage.png --background "#FF00FF"`.
20
+ * `--background` Sets the background color of the icon. When no color is specified, a default value of `transparent` is used. `<Color>` is a valid color and can be represented with string, like `white`, `black`, `blue`, or with HEX representation, for example `#FFFFFF`, `#000000`, `#0000FF`. NOTE: As the `#` is special symbol in some terminals, make sure to place the value in quotes, for example `$ ns resources generate icons ../myImage.png --background "#FF00FF"`.
21
21
 
22
22
  ### Arguments
23
23
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns resources generate splashes
2
+ title: ns resources generate splashes
3
3
  position: 12
4
4
  ---<% } %>
5
5
 
6
- # tns resources generate splashes
6
+ # ns resources generate splashes
7
7
 
8
8
  ### Description
9
9
 
@@ -13,11 +13,11 @@ Generates all splashscreens for Android and iOS platforms and places the generat
13
13
 
14
14
  Usage | Synopsis
15
15
  ------|-------
16
- `$ tns resources generate splashes <Path to image> [--background <Color>]` | Generate all splashscreens for Android and iOS based on the specified image.
16
+ `$ ns resources generate splashes <Path to image> [--background <Color>]` | Generate all splashscreens for Android and iOS based on the specified image.
17
17
 
18
18
  ### Options
19
19
 
20
- * `--background` Sets the background color of the splashscreen. When no color is specified, a default value of `white` is used. `<Color>` is a valid color and can be represented with string, like `white`, `black`, `blue`, or with HEX representation, for example `#FFFFFF`, `#000000`, `#0000FF`. NOTE: As the `#` is special symbol in some terminals, make sure to place the value in quotes, for example `$ tns resources generate splashes ../myImage.png --background "#FF00FF"`.
20
+ * `--background` Sets the background color of the splashscreen. When no color is specified, a default value of `white` is used. `<Color>` is a valid color and can be represented with string, like `white`, `black`, `blue`, or with HEX representation, for example `#FFFFFF`, `#000000`, `#0000FF`. NOTE: As the `#` is special symbol in some terminals, make sure to place the value in quotes, for example `$ ns resources generate splashes ../myImage.png --background "#FF00FF"`.
21
21
 
22
22
  ### Arguments
23
23
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns resources update
2
+ title: ns resources update
3
3
  position: 10
4
4
  ---<% } %>
5
5
 
6
- # tns resources update
6
+ # ns resources update
7
7
 
8
8
  ### Description
9
9
 
@@ -17,12 +17,12 @@ Updates the App_Resources/<platform>'s internal folder structure to conform to t
17
17
 
18
18
  Usage | Synopsis
19
19
  ------|-------
20
- `$ tns resources update` | Defaults to executing `$ tns resources update android`. Updates the App_Resources/Android's folder structure.
21
- `$ tns resources update android` | Updates the App_Resources/Android's folder structure.
20
+ `$ ns resources update` | Defaults to executing `$ ns resources update android`. Updates the App_Resources/Android's folder structure.
21
+ `$ ns resources update android` | Updates the App_Resources/Android's folder structure.
22
22
 
23
23
  ### Command Limitations
24
24
 
25
- * The command works only for the directory structure under `App_Resources/Android`. Running `$ tns resources-update ios` will have no effect.
25
+ * The command works only for the directory structure under `App_Resources/Android`. Running `$ ns resources-update ios` will have no effect.
26
26
 
27
27
  ### Related Commands
28
28
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns create
2
+ title: ns create
3
3
  position: 1
4
4
  ---<% } %>
5
5
 
6
- # tns create
6
+ # ns create
7
7
 
8
8
  ### Description
9
9
 
@@ -22,7 +22,7 @@ Custom template | `$ ns create [<App Name>] [--path <Directory>] [--appid <App I
22
22
  ### Options
23
23
 
24
24
  * `--path` - Specifies the directory where you want to create the project, if different from the current directory. `<Directory>` is the absolute path to an empty directory in which you want to create the project.
25
- * `--appid` - Sets the application identifier of your project. `<App ID>` is the value of the application identifier and it must meet the specific requirements of each platform that you want to target. If not specified, the application identifier is set to `org.nativescript.<App name>`.<% if(isConsole) { %> For more information about the `<App ID>` requirements, run `$ tns help create`.<% } %><% if(isHtml) { %> The application identifier must be a domain name in reverse. For projects that target Android, you can use uppercase or lowercase letters, numbers, and underscores in the strings of the reversed domain name, separated by a dot. Strings must be separated by a dot and must start with a letter. For example: `com.nativescript.My_Andro1d_App`. For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens in the strings of the reversed domain name. Strings must be separated by a dot. For example: `com.nativescript.My-i0s-App`.
25
+ * `--appid` - Sets the application identifier of your project. `<App ID>` is the value of the application identifier and it must meet the specific requirements of each platform that you want to target. If not specified, the application identifier is set to `org.nativescript.<App name>`.<% if(isConsole) { %> For more information about the `<App ID>` requirements, run `$ ns help create`.<% } %><% if(isHtml) { %> The application identifier must be a domain name in reverse. For projects that target Android, you can use uppercase or lowercase letters, numbers, and underscores in the strings of the reversed domain name, separated by a dot. Strings must be separated by a dot and must start with a letter. For example: `com.nativescript.My_Andro1d_App`. For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens in the strings of the reversed domain name. Strings must be separated by a dot. For example: `com.nativescript.My-i0s-App`.
26
26
  * `--template` - Specifies a valid npm package which you want to use as a base to create your project. If `--template` is not set, the NativeScript CLI will ask you to pick one from a predefined list afterwards.<% if(isHtml) { %> If one or more application assets are missing from the `App_Resources` directory in the package, the CLI adds them using the assets available in the default hello-world template.<% } %> `<Template>` can be the name of a package in the npm registry, a local path or a GitHub URL to a directory, or a `.tar.gz` archive containing a `package.json` file. The contents of the package will be copied to the `app` directory of your project.<% } %>
27
27
  * `--js`, `--javascript` - Sets the template for your project to the JavaScript template.
28
28
  * `--ts`, `--tsc`, `--typescript` - Sets the template for your project to the TypeScript template.
@@ -31,7 +31,7 @@ Custom template | `$ ns create [<App Name>] [--path <Directory>] [--appid <App I
31
31
 
32
32
  ### Arguments
33
33
 
34
- `<App Name>` is the name of project and must meet the requirements of each platform that you want to target. If not specified in the initial command, the NativeScript CLI will ask you for it afterwards.<% if(isConsole) { %> For more information about the `<App Name>` requirements, run `$ tns help create`.<% } %><% if(isHtml) { %> For projects that target Android, you can use uppercase or lowercase letters, numbers, and underscores. The name must start with a letter. For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens.
34
+ `<App Name>` is the name of project and must meet the requirements of each platform that you want to target. If not specified in the initial command, the NativeScript CLI will ask you for it afterwards.<% if(isConsole) { %> For more information about the `<App Name>` requirements, run `$ ns help create`.<% } %><% if(isHtml) { %> For projects that target Android, you can use uppercase or lowercase letters, numbers, and underscores. The name must start with a letter. For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens.
35
35
  <% } %>
36
36
 
37
37
  <% if(isHtml) { %>
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns build android
2
+ title: ns build android
3
3
  position: 1
4
4
  ---<% } %>
5
5
 
6
- # tns build android
6
+ # ns build android
7
7
 
8
8
  ### Description
9
9
 
@@ -13,7 +13,7 @@ Builds the project for Android and produces an APK that you can manually deploy
13
13
 
14
14
  Usage | Synopsis
15
15
  ---|---
16
- General | `$ tns build android [--compileSdk <API Level>] [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--static-bindings] [--copy-to <File Path>] [--env.*]] [--aab]`
16
+ General | `$ ns build android [--compileSdk <API Level>] [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--static-bindings] [--copy-to <File Path>] [--env.*]] [--aab]`
17
17
 
18
18
  ### Options
19
19
 
@@ -34,7 +34,7 @@ General | `$ tns build android [--compileSdk <API Level>] [--key-store-path <Fil
34
34
  * `--env.sourceMap` - creates inline source maps.
35
35
  * `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
36
36
  * `--aab` - Specifies that the build will produce an Android App Bundle(`.aab`) file.
37
- * `--force` - If set, skips the application compatibility checks and forces `npm i` to ensure all dependencies are installed. Otherwise, the command will check the application compatibility with the current CLI version and could fail requiring `tns migrate`.
37
+ * `--force` - If set, skips the application compatibility checks and forces `npm i` to ensure all dependencies are installed. Otherwise, the command will check the application compatibility with the current CLI version and could fail requiring `ns migrate`.
38
38
  * `--path <Directory>` - Specifies the directory that contains the project. If not set, the project is searched for in the current directory and all directories above it.
39
39
 
40
40
  <% if(isHtml) { %>