nativescript 8.6.0-vision.4 → 8.6.0-vision.6

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 +3 -2
@@ -1,15 +1,15 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns build ios
2
+ title: ns build ios
3
3
  position: 2
4
4
  ---<% } %>
5
5
 
6
- # tns build ios
6
+ # ns build ios
7
7
 
8
8
  ### Description
9
9
 
10
10
  Builds the project for iOS and produces an `APP` or `IPA` that you can manually deploy in the iOS Simulator or on a device.
11
11
 
12
- <% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ tns help build ios`<% } %>
12
+ <% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ ns help build ios`<% } %>
13
13
  <% if((isConsole && isMacOS) || isHtml) { %>
14
14
  <% if(isHtml) { %>> <% } %>IMPORTANT: Before building for iOS device, verify that you have configured a valid pair of certificate and provisioning profile on your macOS system. <% if(isHtml) { %>For more information, see the [Code Signing](https://developer.apple.com/support/code-signing/) and [Maintain Signing Assets](https://help.apple.com/xcode/mac/current/#/dev3a05256b8) sections from the Apple Developer documentation.<% } %>
15
15
 
@@ -17,7 +17,7 @@ Builds the project for iOS and produces an `APP` or `IPA` that you can manually
17
17
 
18
18
  Usage | Synopsis
19
19
  ---|---
20
- General | `$ tns build ios [--for-device] [--release] [--copy-to <File Path>] [--provision [<UUID/name>]] [--env.*]]`
20
+ General | `$ ns build ios [--for-device] [--release] [--copy-to <File Path>] [--provision [<UUID/name>]] [--env.*]]`
21
21
 
22
22
  ### Options
23
23
 
@@ -33,7 +33,7 @@ General | `$ tns build ios [--for-device] [--release] [--copy-to <File Path>] [-
33
33
  * `--env.report` - creates a Webpack report inside a `report` folder in the root folder.
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
- * `--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`.
36
+ * `--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`.
37
37
  * `--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.
38
38
 
39
39
  <% } %>
@@ -42,7 +42,7 @@ General | `$ tns build ios [--for-device] [--release] [--copy-to <File Path>] [-
42
42
 
43
43
  ### Command Limitations
44
44
 
45
- * You can run the `$ tns build ios` command only on macOS systems.
45
+ * You can run the `$ ns build ios` command only on macOS systems.
46
46
 
47
47
  ### Related Commands
48
48
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns build
2
+ title: ns build
3
3
  position: 3
4
4
  ---<% } %>
5
5
 
6
- # tns build
6
+ # ns build
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 build <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns build android`<% } %>
22
+ <% if((isConsole && isMacOS) || isHtml) { %>General | `$ ns build <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ ns build android`<% } %>
23
23
 
24
24
  <% if((isConsole && isMacOS) || isHtml) { %>### Arguments
25
25
  `<Platform>` is the target mobile platform for which you want to build your project. You can set the following target platforms.
@@ -30,7 +30,7 @@ Usage | Synopsis
30
30
 
31
31
  * `--justlaunch` - If set, does not print the application output in the console.
32
32
  * `--release` -If set, produces a release build by running webpack in production mode and native build in release mode. Otherwise, produces a debug build.
33
- * `--device` - Specifies a connected device/emulator to start and run the app. `<Device ID>` is the index or `Device Identifier` of the target device as listed by the `$ tns device <Platform> --available-devices` command.
33
+ * `--device` - Specifies a connected device/emulator to start and run the app. `<Device ID>` is the index or `Device Identifier` of the target device as listed by the `$ ns device <Platform> --available-devices` command.
34
34
  * `--hmr` - Enables the hot module replacement (HMR) feature.
35
35
  * `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times. Supported additional flags:
36
36
  * `--env.aot` - creates Ahead-Of-Time build (Angular only).
@@ -41,7 +41,7 @@ Usage | Synopsis
41
41
  * `--env.sourceMap` - creates inline source maps.
42
42
  * `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
43
43
  * `--aab` - Specifies that the command will produce and deploy an Android App Bundle.
44
- * `--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`.
44
+ * `--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`.
45
45
 
46
46
  <% if(isHtml) { %>
47
47
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns debug android
2
+ title: ns debug android
3
3
  position: 4
4
4
  ---<% } %>
5
5
 
6
- # tns debug android
6
+ # ns debug android
7
7
 
8
8
  ### Description
9
9
 
@@ -13,15 +13,15 @@ Initiates a debugging session for your project on a connected Android device or
13
13
 
14
14
  Usage | Synopsis
15
15
  ---|---
16
- Deploy on device/emulator, run the app and generate a Chrome DevTools link for debugging | `$ tns debug android [--device <Device ID>] [--timeout <timeout>] [--aab]`
17
- Deploy on device/emulator, run the app and stop at the first code statement | `$ tns debug android --debug-brk [--device <Device ID>] [--timeout <timeout>] [--aab]`
18
- Deploy in the native emulator, run the app and stop at the first code statement | `$ tns debug android --debug-brk --emulator [--timeout <timeout>] [--aab]`
19
- Attach the debug tools to a running app on device/emulator | `$ tns debug android --start [--device <Device ID>] [--timeout <timeout>] [--aab]`
20
- Attach the debug tools to a running app in the native emulator | `$ tns debug android --start --emulator [--timeout <timeout>] [--aab]`
16
+ Deploy on device/emulator, run the app and generate a Chrome DevTools link for debugging | `$ ns debug android [--device <Device ID>] [--timeout <timeout>] [--aab]`
17
+ Deploy on device/emulator, run the app and stop at the first code statement | `$ ns debug android --debug-brk [--device <Device ID>] [--timeout <timeout>] [--aab]`
18
+ Deploy in the native emulator, run the app and stop at the first code statement | `$ ns debug android --debug-brk --emulator [--timeout <timeout>] [--aab]`
19
+ Attach the debug tools to a running app on device/emulator | `$ ns debug android --start [--device <Device ID>] [--timeout <timeout>] [--aab]`
20
+ Attach the debug tools to a running app in the native emulator | `$ ns debug android --start --emulator [--timeout <timeout>] [--aab]`
21
21
 
22
22
  ### Options
23
23
 
24
- * `--device` - Specifies a connected device/emulator on which to debug the app. `<Device ID>` is the device identifier or name of the target device as listed by the `$ tns device android` command.
24
+ * `--device` - Specifies a connected device/emulator on which to debug the app. `<Device ID>` is the device identifier or name of the target device as listed by the `$ ns device android` command.
25
25
  * `--emulator` - Specifies that you want to debug the app in the native Android emulator.
26
26
  * `--debug-brk` - Prepares, builds and deploys the application package on a device/emulator, generates a link for Chrome Developer Tools and stops at the first code statement.
27
27
  * `--start` - Attaches the debug tools to a deployed and running app.
@@ -38,7 +38,7 @@ Attach the debug tools to a running app in the native emulator | `$ tns debug an
38
38
  * `--env.sourceMap` - creates inline source maps.
39
39
  * `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
40
40
  * `--aab` - Specifies that the command will produce and deploy an Android App Bundle.
41
- * `--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`.
41
+ * `--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`.
42
42
 
43
43
  <% if(isHtml) { %>
44
44
 
@@ -1,15 +1,15 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns debug ios
2
+ title: ns debug ios
3
3
  position: 5
4
4
  ---<% } %>
5
5
 
6
- # tns debug ios
6
+ # ns debug ios
7
7
 
8
8
  ### Description
9
9
 
10
10
  Initiates a debugging session for your project on a connected iOS device or in the iOS simulator. When necessary, the command will prepare, build, deploy and launch the app before starting the debug session. While debugging, the output from the application is printed in the console and any changes made to your code are synchronizes with the deployed app. <% if(isHtml) { %>Any debugging traffic is forwarded to port 8080 (or the next available one) from the device to the local machine.<% } %>
11
11
 
12
- <% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ tns help debug ios`<% } %>
12
+ <% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ ns help debug ios`<% } %>
13
13
  <% if((isConsole && isMacOS) || isHtml) { %>
14
14
  <% if(isHtml) { %>> <% } %>IMPORTANT: Before building for iOS device, verify that you have configured a valid pair of certificate and provisioning profile on your macOS system. <% if(isHtml) { %>For more information, see the [Code Signing](https://developer.apple.com/support/code-signing/) and [Maintain Signing Assets](https://help.apple.com/xcode/mac/current/#/dev3a05256b8) sections from the Apple Developer documentation.<% } %>
15
15
 
@@ -17,15 +17,15 @@ Initiates a debugging session for your project on a connected iOS device or in t
17
17
 
18
18
  Usage | Synopsis
19
19
  ---|---
20
- Deploy on device/emulator, run the app, attach a debugger and generate a Chrome DevTools link for debugging | `$ tns debug ios`
21
- Deploy on device/simulator, run the app and stop at the first code statement | `$ tns debug ios --debug-brk [--device <Device ID>] [--no-client]`
22
- Deploy in the iOS simulator, run the app and stop at the first code statement | `$ tns debug ios --debug-brk --emulator [--no-client]`
23
- Attach the debug tools to a running app on specified device or simulator| `$ tns debug ios --start [--device <Device ID>] [--no-client]`
24
- Attach the debug tools to a running app in the iOS simulator | `$ tns debug ios --start --emulator [--no-client]`
20
+ Deploy on device/emulator, run the app, attach a debugger and generate a Chrome DevTools link for debugging | `$ ns debug ios`
21
+ Deploy on device/simulator, run the app and stop at the first code statement | `$ ns debug ios --debug-brk [--device <Device ID>] [--no-client]`
22
+ Deploy in the iOS simulator, run the app and stop at the first code statement | `$ ns debug ios --debug-brk --emulator [--no-client]`
23
+ Attach the debug tools to a running app on specified device or simulator| `$ ns debug ios --start [--device <Device ID>] [--no-client]`
24
+ Attach the debug tools to a running app in the iOS simulator | `$ ns debug ios --start --emulator [--no-client]`
25
25
 
26
26
  ### Options
27
27
 
28
- * `--device` - Specifies a connected device or iOS simulator on which to run the app. `<Device ID>` is the device identifier of the target device as listed by the `$ tns device ios` command.
28
+ * `--device` - Specifies a connected device or iOS simulator on which to run the app. `<Device ID>` is the device identifier of the target device as listed by the `$ ns device ios` command.
29
29
  * `--emulator` - Indicates that you want to debug your app in the iOS simulator.
30
30
  * `--debug-brk` - Prepares, builds and deploys the application package on a device or in a simulator, runs the app, launches the developer tools of your Safari browser and stops at the first code statement.
31
31
  * `--start` - Attaches the debug tools to a deployed and running app and launches the developer tools of your Safari browser.
@@ -36,14 +36,14 @@ Attach the debug tools to a running app in the iOS simulator | `$ tns debug ios
36
36
  * `--no-hmr` - Disables Hot Module Replacement (HMR). In this case, when a change in the code is applied, CLI will transfer the modified files and restart the application.
37
37
  * `--chrome` - Deprecated - default behavior uses '--chrome' implicitly. Allows debugging in Chrome Developer Tools. If set, Safari Web Inspector is not started and debugging is attached to Chrome Developer Tools.
38
38
  * `--inspector` - If set, the developer tools in the Safari Web Inspector are used for debugging the application.
39
- * `--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`.
39
+ * `--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`.
40
40
 
41
41
  <% } %>
42
42
  <% if(isHtml) { %>
43
43
 
44
44
  ### Command Limitations
45
45
 
46
- * You can run `$ tns debug ios` only on macOS systems.
46
+ * You can run `$ ns debug ios` only on macOS systems.
47
47
  * You must have Google Chrome installed on your machine.
48
48
  * If you want to debug in the iOS simulator, you must have the latest versions of Xcode installed on your machine.
49
49
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns debug
2
+ title: ns debug
3
3
  position: 6
4
4
  ---<% } %>
5
5
 
6
- # tns debug
6
+ # ns debug
7
7
 
8
8
  ### Description
9
9
 
@@ -35,7 +35,7 @@ When running this command with `--debug-brk` any file change will cause a restar
35
35
 
36
36
  Usage | Synopsis
37
37
  ---|---
38
- <% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns debug <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns debug android`<% } %>
38
+ <% if((isConsole && isMacOS) || isHtml) { %>General | `$ ns debug <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ ns debug android`<% } %>
39
39
 
40
40
  <% if((isConsole && isMacOS) || isHtml) { %>### Arguments
41
41
  `<Platform>` is the target mobile platform for which you want to debug your project. You can set the following target platforms:
@@ -46,7 +46,7 @@ Usage | Synopsis
46
46
 
47
47
  ### Command Limitations
48
48
 
49
- * You can run `$ tns debug ios` only on macOS systems.
49
+ * You can run `$ ns debug ios` only on macOS systems.
50
50
 
51
51
  ### Related Commands
52
52
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns deploy
2
+ title: ns deploy
3
3
  position: 7
4
4
  ---<% } %>
5
5
 
6
- # tns deploy
6
+ # ns deploy
7
7
 
8
8
  ### Description
9
9
 
@@ -16,17 +16,17 @@ Prepares, builds and deploys the project to a connected device or native emulato
16
16
 
17
17
  Usage | Synopsis
18
18
  ---|---
19
- Deploy on Android | `$ tns deploy android [--device <Device ID>] [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--aab]`
20
- <% if(isMacOS) { %>Deploy on iOS | `$ tns deploy ios [--device <Device ID>] [--release]`<% } %>
19
+ Deploy on Android | `$ ns deploy android [--device <Device ID>] [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--aab]`
20
+ <% if(isMacOS) { %>Deploy on iOS | `$ ns deploy ios [--device <Device ID>] [--release]`<% } %>
21
21
 
22
22
  ### Options for iOS
23
23
 
24
- * `--device` - Deploys the project on the specified connected physical or virtual device. `<Device ID>` is the index or name of the target device as listed by the `$ tns devices` command.
24
+ * `--device` - Deploys the project on the specified connected physical or virtual device. `<Device ID>` is the index or name of the target device as listed by the `$ ns devices` command.
25
25
  * `--release` - If set, produces a release build. Otherwise, produces a debug build.<% } %>
26
26
 
27
27
  ### Options<% if(isMacOS) { %> for Android<% } %>
28
28
 
29
- * `--device` - Deploys the project on the specified connected physical or virtual device. `<Device ID>` is the index or name of the target device as listed by the `$ tns devices` command.
29
+ * `--device` - Deploys the project on the specified connected physical or virtual device. `<Device ID>` is the index or name of the target device as listed by the `$ ns devices` command.
30
30
  * `--clean` - If set, forces the complete rebuild of the native application.
31
31
  * `--release` - If set, produces a release build. Otherwise, produces a debug build. When set, you must also specify the `--key-store-*` options.
32
32
  * `--key-store-path` - Specifies the file path to the keystore file (P12) which you want to use to code sign your APK. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
@@ -42,13 +42,13 @@ Deploy on Android | `$ tns deploy android [--device <Device ID>] [--key-store-pa
42
42
  * `--env.sourceMap` - creates inline source maps.
43
43
  * `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
44
44
  * `--aab` - Specifies that the command will produce and deploy an Android App Bundle.
45
- * `--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`.
45
+ * `--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`.
46
46
 
47
47
  <% if(isHtml) { %>
48
48
 
49
49
  ### Command Limitations
50
50
 
51
- * You can run `$ tns deploy ios` only on macOS systems.
51
+ * You can run `$ ns deploy ios` only on macOS systems.
52
52
  * When the `--release` flag is set for an Android build, you must also specify all `--key-store-*` options.
53
53
 
54
54
  ### Related Commands
@@ -3,18 +3,18 @@ test android
3
3
 
4
4
  Usage | Synopsis
5
5
  ------|-------
6
- Run tests on all connected devices | `$ tns test android [--watch] [--debug-brk]`
7
- Run tests on a selected device | `$ tns test android --device <Device ID> [--watch] [--debug-brk]`
6
+ Run tests on all connected devices | `$ ns test android [--watch] [--debug-brk]`
7
+ Run tests on a selected device | `$ ns test android --device <Device ID> [--watch] [--debug-brk]`
8
8
 
9
- Runs the tests in your project on connected Android devices and running native emulators.<% if(isConsole) { %> Your project must already be configured for unit testing by running `$ tns test init`.<% } %>
9
+ Runs the tests in your project on connected Android devices and running native emulators.<% if(isConsole) { %> Your project must already be configured for unit testing by running `$ ns test init`.<% } %>
10
10
 
11
11
  ### Options
12
12
  * `--watch` - If set, when you save changes to the project, changes are automatically synchronized to the connected device and tests are re-run.
13
- * `--device` - Specifies the serial number or the index of the connected device on which to run the tests. To list all connected devices, grouped by platform, run `$ tns device`
13
+ * `--device` - Specifies the serial number or the index of the connected device on which to run the tests. To list all connected devices, grouped by platform, run `$ ns device`
14
14
  * `--debug-brk` - Runs the tests under the debugger. The debugger will break just before your tests are executed, so you have a chance to place breakpoints.
15
15
 
16
16
  ### Attributes
17
- * `<Device ID>` is the device index or identifier as listed by `$ tns device`
17
+ * `<Device ID>` is the device index or identifier as listed by `$ ns device`
18
18
 
19
19
  <% if(isHtml) { %>
20
20
  ### Prerequisites
@@ -3,23 +3,23 @@ test ios
3
3
 
4
4
  Usage | Synopsis
5
5
  ------|-------
6
- Run tests on all connected devices | `$ tns test ios [--watch] [--debug-brk]`
7
- Run tests on a selected device | `$ tns test ios --device <Device ID> [--watch] [--debug-brk]`
8
- Run tests in the iOS Simulator | `$ tns test ios --emulator [--watch] [--debug-brk]`
6
+ Run tests on all connected devices | `$ ns test ios [--watch] [--debug-brk]`
7
+ Run tests on a selected device | `$ ns test ios --device <Device ID> [--watch] [--debug-brk]`
8
+ Run tests in the iOS Simulator | `$ ns test ios --emulator [--watch] [--debug-brk]`
9
9
 
10
- Runs the tests in your project on connected iOS devices or the iOS Simulator.<% if(isConsole && isMacOS) { %> Your project must already be configured for unit testing by running `$ tns test init`.<% } %>
10
+ Runs the tests in your project on connected iOS devices or the iOS Simulator.<% if(isConsole && isMacOS) { %> Your project must already be configured for unit testing by running `$ ns test init`.<% } %>
11
11
 
12
- <% if(isConsole && (isLinux || isWindows)) { %>WARNING: You can run this command only on OS X systems. To view the complete help for this command, run `$ tns help test ios`<% } %>
12
+ <% if(isConsole && (isLinux || isWindows)) { %>WARNING: You can run this command only on OS X systems. To view the complete help for this command, run `$ ns help test ios`<% } %>
13
13
 
14
14
  <% if((isConsole && isMacOS) || isHtml) { %>
15
15
  ### Options
16
16
  * `--watch` - If set, when you save changes to the project, changes are automatically synchronized to the connected device and tests are re-ran.
17
- * `--device` - Specifies the serial number or the index of the connected device on which you want to run tests. To list all connected devices, grouped by platform, run `$ tns device`. You cannot set `--device` and `--emulator` simultaneously.
17
+ * `--device` - Specifies the serial number or the index of the connected device on which you want to run tests. To list all connected devices, grouped by platform, run `$ ns device`. You cannot set `--device` and `--emulator` simultaneously.
18
18
  * `--emulator` - Runs tests on the iOS Simulator. You cannot set `--device` and `--emulator` simultaneously.
19
19
  * `--debug-brk` - Runs the tests under the debugger. The debugger will break just before your tests are executed, so you have a chance to place breakpoints.
20
20
 
21
21
  ### Attributes
22
- * `<Device ID>` is the device index or identifier as listed by `$ tns device`<% } %>
22
+ * `<Device ID>` is the device index or identifier as listed by `$ ns device`<% } %>
23
23
 
24
24
  <% if(isHtml) { %>
25
25
  ### Prerequisites
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns preview
2
+ title: ns preview
3
3
  position: 1
4
4
  ---<% } %>
5
5
 
6
- # tns preview
6
+ # ns preview
7
7
 
8
8
  ### Description
9
9
 
@@ -19,12 +19,12 @@ After scanning the QR code with the scanner provided in the NativeScript Playgro
19
19
 
20
20
  Usage | Synopsis
21
21
  ---|---
22
- Generates a QR code that can be scanned by the NativeScript PlayGround app | `tns preview`
22
+ Generates a QR code that can be scanned by the NativeScript PlayGround app | `ns preview`
23
23
 
24
24
  ### Options
25
25
 
26
26
  * `--no-hmr` - Disables Hot Module Replacement (HMR). In this case, when a change in the code is applied, CLI will transfer the modified files and restart the application.
27
- * `--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`.
27
+ * `--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`.
28
28
 
29
29
  <% if(isHtml) { %>
30
30
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns run android
2
+ title: ns run android
3
3
  position: 10
4
4
  ---<% } %>
5
5
 
6
- # tns run android
6
+ # ns run android
7
7
 
8
8
  ### Description
9
9
 
@@ -17,13 +17,13 @@ When running this command without passing `--release` flag, the HMR (Hot Module
17
17
 
18
18
  Usage | Synopsis
19
19
  ---|---
20
- Run on all connected devices and running emulators | `$ tns run android [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch] [--env.*]] [--aab]`
21
- Run on a selected connected device or running emulator. Will start emulator with specified `Device Identifier`, if not already running. | `$ tns run android --device <Device ID> [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch] [--env.*]] [--aab]`
22
- Start a default emulator if none are running, or run application on all connected emulators. | `$ tns run android --emulator [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch] [--env.*]] [--aab]`
20
+ Run on all connected devices and running emulators | `$ ns run android [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch] [--env.*]] [--aab]`
21
+ Run on a selected connected device or running emulator. Will start emulator with specified `Device Identifier`, if not already running. | `$ ns run android --device <Device ID> [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch] [--env.*]] [--aab]`
22
+ Start a default emulator if none are running, or run application on all connected emulators. | `$ ns run android --emulator [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch] [--env.*]] [--aab]`
23
23
 
24
24
  ### Options
25
25
 
26
- * `--device` - Specifies a connected device or emulator to start and run the app. `<Device ID>` is the index or `Device Identifier` of the target device as listed by the `$ tns device android --available-devices` command.
26
+ * `--device` - Specifies a connected device or emulator to start and run the app. `<Device ID>` is the index or `Device Identifier` of the target device as listed by the `$ ns device android --available-devices` command.
27
27
  * `--emulator` - If set, runs the app in all available and configured Android emulators. It will start an emulator if none are already running.
28
28
  * `--justlaunch` - If set, does not print the application output in the console.
29
29
  * `--clean` - If set, forces the complete rebuild of the native application.
@@ -43,7 +43,7 @@ Start a default emulator if none are running, or run application on all connecte
43
43
  * `--env.sourceMap` - creates inline source maps.
44
44
  * `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
45
45
  * `--aab` - Specifies that the command will produce and deploy an Android App Bundle.
46
- * `--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`.
46
+ * `--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`.
47
47
 
48
48
  <% if(isHtml) { %>
49
49
 
@@ -1,15 +1,15 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns run ios
2
+ title: ns run ios
3
3
  position: 11
4
4
  ---<% } %>
5
5
 
6
- # tns run ios
6
+ # ns run ios
7
7
 
8
8
  ### Description
9
9
 
10
10
  Runs your project on a connected iOS device or in the iOS Simulator, if configured. This is shorthand for prepare, build and deploy. While your app is running, prints the output from the application in the console and watches for changes in your code. Once a change is detected, it synchronizes the change with all selected devices and restarts/refreshes the application.
11
11
 
12
- <% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ tns help run ios`<% } %>
12
+ <% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ ns help run ios`<% } %>
13
13
  <% if((isConsole && isMacOS) || isHtml) { %>
14
14
  <% if(isHtml) { %>> <% } %>IMPORTANT: Before building for iOS device, verify that you have configured a valid pair of certificate and provisioning profile on your macOS system. <% if(isHtml) { %>For more information, see the [Code Signing](https://developer.apple.com/support/code-signing/) and [Maintain Signing Assets](https://help.apple.com/xcode/mac/current/#/dev3a05256b8) sections from the Apple Developer documentation.<% } %>
15
15
 
@@ -21,15 +21,15 @@ When running this command without passing `--release` flag, the HMR (Hot Module
21
21
 
22
22
  Usage | Synopsis
23
23
  ---|---
24
- Run on all connected devices | `$ tns run ios [--release] [--justlaunch] [--env.*]]`
25
- Run on a selected connected device. Will start simulator with specified `Device Identifier`, if not already running. | `$ tns run ios [--device <Device ID>] [--release] [--justlaunch] [--env.*]]`
26
- Start an emulator and run the app inside it | `$ tns run ios --emulator [--release] [--env.*]]`
27
- Start an emulator with specified device name and sdk | `$ tns run ios [--device <Device Name>] [--sdk <sdk>]`
28
- Start an emulator with specified device identifier and sdk | `$ tns run ios [--device <Device Identifier>] [--sdk <sdk>]`
24
+ Run on all connected devices | `$ ns run ios [--release] [--justlaunch] [--env.*]]`
25
+ Run on a selected connected device. Will start simulator with specified `Device Identifier`, if not already running. | `$ ns run ios [--device <Device ID>] [--release] [--justlaunch] [--env.*]]`
26
+ Start an emulator and run the app inside it | `$ ns run ios --emulator [--release] [--env.*]]`
27
+ Start an emulator with specified device name and sdk | `$ ns run ios [--device <Device Name>] [--sdk <sdk>]`
28
+ Start an emulator with specified device identifier and sdk | `$ ns run ios [--device <Device Identifier>] [--sdk <sdk>]`
29
29
 
30
30
  ### Options
31
31
 
32
- * `--device` - Specifies a connected device/simulator to start and run the app. `<Device ID>` is the index or `Device Identifier` of the target device as listed by the `$ tns device ios --available-devices` command.
32
+ * `--device` - Specifies a connected device/simulator to start and run the app. `<Device ID>` is the index or `Device Identifier` of the target device as listed by the `$ ns device ios --available-devices` command.
33
33
  * `--emulator` - If set, runs the app in all available and configured ios simulators. It will start a simulator if none are already running.
34
34
  * `--sdk` - Specifies the target simulator's sdk.
35
35
  * `--justlaunch` - If set, does not print the application output in the console.
@@ -43,7 +43,7 @@ Start an emulator with specified device identifier and sdk | `$ tns run ios [--d
43
43
  * `--env.report` - creates a Webpack report inside a `report` folder in the root folder.
44
44
  * `--env.sourceMap` - creates inline source maps.
45
45
  * `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
46
- * `--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`.
46
+ * `--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`.
47
47
 
48
48
  ### Environment Variables
49
49
 
@@ -59,7 +59,7 @@ Before running the iOS Simulator, verify that your system meets the following re
59
59
 
60
60
  ### Command Limitations
61
61
 
62
- * You can run `$ tns run ios` only on macOS systems.
62
+ * You can run `$ ns run ios` only on macOS systems.
63
63
  * You cannot use `--device` and `--emulator` simultaneously.
64
64
 
65
65
  ### Related Commands
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns run
2
+ title: ns run
3
3
  position: 12
4
4
  ---<% } %>
5
5
 
6
- # tns run
6
+ # ns run
7
7
 
8
8
  ### Description
9
9
 
@@ -35,15 +35,15 @@ With **no** HMR:
35
35
 
36
36
  Usage | Synopsis
37
37
  ---|---
38
- Run on all connected devices | `$ tns run [--release] [--justlaunch]`
39
- Run on a selected connected device or running emulator. Will start emulator with specified `Device Identifier`, if not already running. | `$ tns run --device <Device ID> [--release] [--justlaunch]`
40
- <% if((isConsole && isMacOS) || isHtml) { %>Run on all connected devices of the specified `Platform` | `$ tns run <Platform> [--release] [--justlaunch]`<% } %>
38
+ Run on all connected devices | `$ ns run [--release] [--justlaunch]`
39
+ Run on a selected connected device or running emulator. Will start emulator with specified `Device Identifier`, if not already running. | `$ ns run --device <Device ID> [--release] [--justlaunch]`
40
+ <% if((isConsole && isMacOS) || isHtml) { %>Run on all connected devices of the specified `Platform` | `$ ns run <Platform> [--release] [--justlaunch]`<% } %>
41
41
 
42
42
  ### Options
43
43
 
44
44
  * `--justlaunch` - If set, does not print the application output in the console.
45
45
  * `--release` - If set, produces a release build by running webpack in production mode and native build in release mode. Otherwise, produces a debug build.
46
- * `--device` - Specifies a connected device/emulator to start and run the app. `<Device ID>` is the index or `Device Identifier` of the target device as listed by the `$ tns device <Platform> --available-devices` command.
46
+ * `--device` - Specifies a connected device/emulator to start and run the app. `<Device ID>` is the index or `Device Identifier` of the target device as listed by the `$ ns device <Platform> --available-devices` command.
47
47
  * `--no-hmr` - Disables Hot Module Replacement (HMR). In this case, when a change in the code is applied, CLI will transfer the modified files and restart the application.
48
48
  * `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times. Supported additional flags:
49
49
  * `--env.aot` - creates Ahead-Of-Time build (Angular only).
@@ -54,7 +54,7 @@ Run on a selected connected device or running emulator. Will start emulator with
54
54
  * `--env.sourceMap` - creates inline source maps.
55
55
  * `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
56
56
  * `--aab` - Specifies that the command will produce and deploy an Android App Bundle.
57
- * `--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`.
57
+ * `--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`.
58
58
 
59
59
 
60
60
  <% if((isConsole && isMacOS) || isHtml) { %>### Arguments
@@ -1,25 +1,25 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns test android
2
+ title: ns test android
3
3
  position: 20
4
4
  ---<% } %>
5
5
 
6
- # tns test android
6
+ # ns test android
7
7
 
8
8
  ### Description
9
9
 
10
- Runs the tests in your project on connected Android devices and Android emulators.<% if(isConsole) { %> Your project must already be configured for unit testing by running `$ tns test init`.<% } %>
10
+ Runs the tests in your project on connected Android devices and Android emulators.<% if(isConsole) { %> Your project must already be configured for unit testing by running `$ ns test init`.<% } %>
11
11
 
12
12
  ### Commands
13
13
 
14
14
  Usage | Synopsis
15
15
  ------|-------
16
- Run tests on all connected devices | `$ tns test android [--watch] [--debug-brk] [--aab]`
17
- Run tests on a selected device | `$ tns test android --device <Device ID> [--watch] [--debug-brk] [--aab]`
16
+ Run tests on all connected devices | `$ ns test android [--watch] [--debug-brk] [--aab]`
17
+ Run tests on a selected device | `$ ns test android --device <Device ID> [--watch] [--debug-brk] [--aab]`
18
18
 
19
19
  ### Options
20
20
 
21
21
  * `--watch` - If set, when you save changes to the project, changes are automatically synchronized to the connected device and tests are re-run.
22
- * `--device` - Specifies the serial number or the index of the connected device on which to run the tests. To list all connected devices, grouped by platform, run `$ tns device`. `<Device ID>` is the device index or identifier as listed by the `$ tns device` command.
22
+ * `--device` - Specifies the serial number or the index of the connected device on which to run the tests. To list all connected devices, grouped by platform, run `$ ns device`. `<Device ID>` is the device index or identifier as listed by the `$ ns device` command.
23
23
  * `--debug-brk` - Runs the tests under the debugger. The debugger will break just before your tests are executed, so you have a chance to place breakpoints.
24
24
  * `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times. Supported additional flags:
25
25
  * `--env.uglify` - provides basic obfuscation and smaller app size.
@@ -27,7 +27,7 @@ Run tests on a selected device | `$ tns test android --device <Device ID> [--wat
27
27
  * `--env.sourceMap` - creates inline source maps.
28
28
  * `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
29
29
  * `--aab` - Specifies that the command will produce and deploy an Android App Bundle.
30
- * `--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`.
30
+ * `--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`.
31
31
 
32
32
  <% if(isHtml) { %>
33
33
 
@@ -1,9 +1,9 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns test init
2
+ title: ns test init
3
3
  position: 21
4
4
  ---<% } %>
5
5
 
6
- # tns test init
6
+ # ns test init
7
7
 
8
8
  ### Description
9
9
 
@@ -13,7 +13,7 @@ Configures your project for unit testing with a selected framework. This operati
13
13
 
14
14
  Usage | Synopsis
15
15
  ------|-------
16
- General | `$ tns test init [--framework <Framework>]`
16
+ General | `$ ns test init [--framework <Framework>]`
17
17
 
18
18
  ### Options
19
19
 
@@ -1,33 +1,33 @@
1
1
  <% if (isJekyll) { %>---
2
- title: tns test ios
2
+ title: ns test ios
3
3
  position: 22
4
4
  ---<% } %>
5
5
 
6
- # tns test ios
6
+ # ns test ios
7
7
 
8
8
  ### Description
9
9
 
10
- Runs the tests in your project on connected iOS devices or the iOS Simulator.<% if(isConsole && isMacOS) { %> Your project must already be configured for unit testing by running `$ tns test init`.<% } %>
10
+ Runs the tests in your project on connected iOS devices or the iOS Simulator.<% if(isConsole && isMacOS) { %> Your project must already be configured for unit testing by running `$ ns test init`.<% } %>
11
11
 
12
- <% if(isConsole && (isLinux || isWindows)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ tns help test ios`<% } %>
12
+ <% if(isConsole && (isLinux || isWindows)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ ns help test ios`<% } %>
13
13
 
14
14
  ### Commands
15
15
 
16
16
  Usage | Synopsis
17
17
  ------|-------
18
- Run tests on all connected devices | `$ tns test ios [--watch] [--debug-brk]`
19
- Run tests on a selected device | `$ tns test ios --device <Device ID> [--watch] [--debug-brk]`
20
- Run tests in the iOS Simulator | `$ tns test ios --emulator [--watch] [--debug-brk]`
18
+ Run tests on all connected devices | `$ ns test ios [--watch] [--debug-brk]`
19
+ Run tests on a selected device | `$ ns test ios --device <Device ID> [--watch] [--debug-brk]`
20
+ Run tests in the iOS Simulator | `$ ns test ios --emulator [--watch] [--debug-brk]`
21
21
 
22
22
  <% if((isConsole && isMacOS) || isHtml) { %>
23
23
 
24
24
  ### Options
25
25
 
26
26
  * `--watch` - If set, when you save changes to the project, changes are automatically synchronized to the connected device and tests are re-ran.
27
- * `--device` - Specifies the serial number or the index of the connected device on which you want to run tests. To list all connected devices, grouped by platform, run `$ tns device`. You cannot set `--device` and `--emulator` simultaneously. `<Device ID>` is the device index or identifier as listed by the `$ tns device` command.
27
+ * `--device` - Specifies the serial number or the index of the connected device on which you want to run tests. To list all connected devices, grouped by platform, run `$ ns device`. You cannot set `--device` and `--emulator` simultaneously. `<Device ID>` is the device index or identifier as listed by the `$ ns device` command.
28
28
  * `--emulator` - Runs tests on the iOS Simulator. You cannot set `--device` and `--emulator` simultaneously.
29
29
  * `--debug-brk` - Runs the tests under the debugger. The debugger will break just before your tests are executed, so you have a chance to place breakpoints.
30
- * `--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`.
30
+ * `--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`.
31
31
 
32
32
  <% } %>
33
33