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.
- package/README.md +1 -1
- package/docs/man_pages/cloud/cloud-setup.md +9 -9
- package/docs/man_pages/device/device-android.md +3 -3
- package/docs/man_pages/device/device-ios.md +5 -5
- package/docs/man_pages/device/device-list-applications.md +4 -4
- package/docs/man_pages/device/device-log.md +4 -4
- package/docs/man_pages/device/device-run.md +5 -5
- package/docs/man_pages/device/device.md +5 -5
- package/docs/man_pages/env-configuration/setup.md +3 -3
- package/docs/man_pages/general/autocomplete-disable.md +3 -3
- package/docs/man_pages/general/autocomplete-enable.md +3 -3
- package/docs/man_pages/general/autocomplete-status.md +3 -3
- package/docs/man_pages/general/autocomplete.md +6 -6
- package/docs/man_pages/general/error-reporting.md +3 -3
- package/docs/man_pages/general/extension-install.md +3 -3
- package/docs/man_pages/general/extension-uninstall.md +3 -3
- package/docs/man_pages/general/extension.md +3 -3
- package/docs/man_pages/general/help.md +6 -6
- package/docs/man_pages/general/info.md +3 -3
- package/docs/man_pages/general/migrate.md +3 -3
- package/docs/man_pages/general/package-manager-get.md +3 -3
- package/docs/man_pages/general/package-manager-set.md +3 -3
- package/docs/man_pages/general/package-manager.md +3 -3
- package/docs/man_pages/general/proxy-clear.md +3 -3
- package/docs/man_pages/general/proxy-set.md +3 -3
- package/docs/man_pages/general/proxy.md +3 -3
- package/docs/man_pages/general/update.md +5 -5
- package/docs/man_pages/general/usage-reporting.md +3 -3
- package/docs/man_pages/lib-management/plugin-add.md +4 -4
- package/docs/man_pages/lib-management/plugin-build.md +3 -3
- package/docs/man_pages/lib-management/plugin-create.md +7 -7
- package/docs/man_pages/lib-management/plugin-install.md +4 -4
- package/docs/man_pages/lib-management/plugin-remove.md +4 -4
- package/docs/man_pages/lib-management/plugin-update.md +3 -3
- package/docs/man_pages/lib-management/plugin.md +4 -4
- package/docs/man_pages/project/configuration/generate.md +3 -3
- package/docs/man_pages/project/configuration/install.md +6 -6
- package/docs/man_pages/project/configuration/platform-add.md +11 -11
- package/docs/man_pages/project/configuration/platform-clean.md +6 -6
- package/docs/man_pages/project/configuration/platform-remove.md +5 -5
- package/docs/man_pages/project/configuration/platform-update.md +11 -11
- package/docs/man_pages/project/configuration/platform.md +3 -3
- package/docs/man_pages/project/configuration/prepare.md +5 -5
- package/docs/man_pages/project/configuration/resources/resources-generate-icons.md +4 -4
- package/docs/man_pages/project/configuration/resources/resources-generate-splashes.md +4 -4
- package/docs/man_pages/project/configuration/resources/resources-update.md +5 -5
- package/docs/man_pages/project/creation/create.md +4 -4
- package/docs/man_pages/project/testing/build-android.md +4 -4
- package/docs/man_pages/project/testing/build-ios.md +6 -6
- package/docs/man_pages/project/testing/build.md +5 -5
- package/docs/man_pages/project/testing/debug-android.md +9 -9
- package/docs/man_pages/project/testing/debug-ios.md +11 -11
- package/docs/man_pages/project/testing/debug.md +4 -4
- package/docs/man_pages/project/testing/deploy.md +8 -8
- package/docs/man_pages/project/testing/dev-test-android.md +5 -5
- package/docs/man_pages/project/testing/dev-test-ios.md +7 -7
- package/docs/man_pages/project/testing/preview.md +4 -4
- package/docs/man_pages/project/testing/run-android.md +7 -7
- package/docs/man_pages/project/testing/run-ios.md +11 -11
- package/docs/man_pages/project/testing/run.md +7 -7
- package/docs/man_pages/project/testing/test-android.md +7 -7
- package/docs/man_pages/project/testing/test-init.md +3 -3
- package/docs/man_pages/project/testing/test-ios.md +9 -9
- package/docs/man_pages/project/testing/test.md +4 -4
- package/docs/man_pages/publishing/apple-login.md +3 -3
- package/docs/man_pages/publishing/appstore-upload.md +7 -7
- package/docs/man_pages/publishing/appstore.md +5 -5
- package/docs/man_pages/publishing/publish-ios.md +7 -7
- package/docs/man_pages/publishing/publish.md +6 -6
- package/docs/man_pages/start.md +2 -1
- package/lib/.d.ts +8 -0
- package/lib/bootstrap.js +4 -0
- package/lib/color.js +6 -1
- package/lib/commands/clean.js +4 -4
- package/lib/commands/run.js +7 -3
- package/lib/commands/start.js +33 -0
- package/lib/commands/typings.js +3 -3
- package/lib/common/definitions/config.d.ts +1 -0
- package/lib/common/definitions/key-commands.d.ts +61 -0
- package/lib/common/definitions/yok.d.ts +5 -0
- package/lib/common/header.js +30 -0
- package/lib/common/mobile/mobile-core/devices-service.js +11 -13
- package/lib/common/yok.js +25 -0
- package/lib/config.js +1 -0
- package/lib/controllers/migrate-controller.js +5 -5
- package/lib/controllers/prepare-controller.js +41 -4
- package/lib/controllers/run-controller.js +5 -0
- package/lib/definitions/livesync.d.ts +3 -0
- package/lib/definitions/prepare.d.ts +3 -0
- package/lib/definitions/project.d.ts +2 -0
- package/lib/definitions/run.d.ts +4 -1
- package/lib/definitions/start-service.d.ts +13 -0
- package/lib/helpers/key-command-helper.js +119 -0
- package/lib/helpers/livesync-command-helper.js +49 -18
- package/lib/key-commands/bootstrap.js +15 -0
- package/lib/key-commands/index.js +291 -0
- package/lib/services/android-plugin-build-service.js +6 -5
- package/lib/services/apple-portal/apple-portal-session-service.js +1 -1
- package/lib/services/build-artifacts-service.js +1 -1
- package/lib/services/ios-project-service.js +10 -10
- package/lib/services/livesync/android-livesync-tool.js +1 -1
- package/lib/services/plugins-service.js +2 -1
- package/lib/services/start-service.js +104 -0
- package/lib/services/webpack/webpack-compiler-service.js +9 -4
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/CHANGELOG.md +15 -0
- package/node_modules/rimraf/CHANGELOG.md +65 -0
- package/node_modules/stringify-package/CHANGELOG.md +16 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -335,7 +335,7 @@ cd nativescript-cli
|
|
|
335
335
|
npm run setup
|
|
336
336
|
```
|
|
337
337
|
|
|
338
|
-
To use the locally built CLI instead `
|
|
338
|
+
To use the locally built CLI instead of `ns` you can call `PATH_TO_CLI_FOLDER/bin/ns`. For example:
|
|
339
339
|
`PATH_TO_CLI_FOLDER/bin/ns run ios|android`
|
|
340
340
|
|
|
341
341
|
[Back to Top][1]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns cloud setup
|
|
3
3
|
position: 5
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns cloud setup
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,13 +13,13 @@ Install the `nativescript-cloud extension` to configure your environment for clo
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
Install the `nativescript-cloud extension` | `$
|
|
17
|
-
Log in for cloud builds (will open browser login form) | `$
|
|
18
|
-
Log in for cloud builds (through the CLI) | `$
|
|
19
|
-
Accept EULA agreement | `$
|
|
20
|
-
Perform iOS cloud build | `$
|
|
21
|
-
Perform Android cloud build | `$
|
|
22
|
-
View accountId (after logging in) | `$
|
|
16
|
+
Install the `nativescript-cloud extension` | `$ ns cloud setup`
|
|
17
|
+
Log in for cloud builds (will open browser login form) | `$ ns login`
|
|
18
|
+
Log in for cloud builds (through the CLI) | `$ ns dev-login <username> <password>`
|
|
19
|
+
Accept EULA agreement | `$ ns accept eula`
|
|
20
|
+
Perform iOS cloud build | `$ ns cloud build ios --accountId=<accountId>`
|
|
21
|
+
Perform Android cloud build | `$ ns cloud build android --accountId=<accountId>`
|
|
22
|
+
View accountId (after logging in) | `$ ns account`
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
### Related Commands
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns device android
|
|
3
3
|
position: 1
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns device android
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Lists all recognized connected Android physical and running virtual devices with
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns device android [--timeout <Milliseconds>]`
|
|
17
17
|
|
|
18
18
|
### Options
|
|
19
19
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns device ios
|
|
3
3
|
position: 2
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns device ios
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
10
10
|
Lists all recognized connected iOS devices with serial number and index.
|
|
11
11
|
|
|
12
|
-
<% if(isConsole && (isLinux)) { %>WARNING: You can run this command only on Windows and macOS systems. To view the complete help for this command, run `$
|
|
12
|
+
<% if(isConsole && (isLinux)) { %>WARNING: You can run this command only on Windows and macOS systems. To view the complete help for this command, run `$ ns help device ios`<% } %>
|
|
13
13
|
|
|
14
14
|
### Commands
|
|
15
15
|
|
|
16
16
|
Usage | Synopsis
|
|
17
17
|
------|-------
|
|
18
|
-
General | `$
|
|
18
|
+
General | `$ ns device ios [--timeout <Milliseconds>]`
|
|
19
19
|
|
|
20
20
|
<% if((isConsole && (isWindows || isMacOS)) || isHtml) { %>
|
|
21
21
|
|
|
@@ -26,7 +26,7 @@ General | `$ tns device ios [--timeout <Milliseconds>]`
|
|
|
26
26
|
|
|
27
27
|
### Command Limitations
|
|
28
28
|
|
|
29
|
-
* You can run `$
|
|
29
|
+
* You can run `$ ns device ios` on Windows and OS X systems.
|
|
30
30
|
|
|
31
31
|
### Related Commands
|
|
32
32
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns device list-applications
|
|
3
3
|
position: 3
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns device list-applications
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,11 +13,11 @@ Lists the installed applications on all connected Android <% if(isWindows || isM
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns device list-applications [--device <Device ID>]`
|
|
17
17
|
|
|
18
18
|
### Options
|
|
19
19
|
|
|
20
|
-
* `--device` - If multiple devices are connected, sets the device for which you want to list all currently installed applications. `<Device ID>` is the device index or identifier as listed by the `$
|
|
20
|
+
* `--device` - If multiple devices are connected, sets the device for which you want to list all currently installed applications. `<Device ID>` is the device index or identifier as listed by the `$ ns device` command.
|
|
21
21
|
|
|
22
22
|
<% if(isHtml) { %>
|
|
23
23
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns device log
|
|
3
3
|
position: 4
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns device log
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,11 +13,11 @@ Opens the device log stream for a selected connected Android <% if(isWindows ||
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns device log [--device <Device ID>]`
|
|
17
17
|
|
|
18
18
|
### Options
|
|
19
19
|
|
|
20
|
-
* `--device` - If multiple devices are connected, sets the device for which you want to stream the log in the console. `<Device ID>` is the device index or identifier as listed by the `$
|
|
20
|
+
* `--device` - If multiple devices are connected, sets the device for which you want to stream the log in the console. `<Device ID>` is the device index or identifier as listed by the `$ ns device` command.
|
|
21
21
|
|
|
22
22
|
<% if(isHtml) { %>
|
|
23
23
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns device run
|
|
3
3
|
position: 5
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns device run
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -15,15 +15,15 @@ Runs the selected application on a connected Android <% if(isMacOS) { %>or iOS <
|
|
|
15
15
|
|
|
16
16
|
Usage | Synopsis
|
|
17
17
|
------|-------
|
|
18
|
-
General | `$
|
|
18
|
+
General | `$ ns device run <Application ID> [--device <Device ID>]`
|
|
19
19
|
|
|
20
20
|
### Options
|
|
21
21
|
|
|
22
|
-
* `--device` - If multiple devices are connected, sets the device on which you want to run the app. `<Device ID>` is the device index or identifier as listed by the `$
|
|
22
|
+
* `--device` - If multiple devices are connected, sets the device on which you want to run the app. `<Device ID>` is the device index or identifier as listed by the `$ ns device` command.
|
|
23
23
|
|
|
24
24
|
### Arguments
|
|
25
25
|
|
|
26
|
-
* `<Application ID>` is the application identifier as listed by `$
|
|
26
|
+
* `<Application ID>` is the application identifier as listed by `$ ns device list-applications`.
|
|
27
27
|
|
|
28
28
|
<% if(isHtml) { %>
|
|
29
29
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns device
|
|
3
3
|
position: 6
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns device
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Lists all recognized connected Android <% if(isWindows || isMacOS) { %>or iOS de
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|---------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns device [<Command>]`
|
|
17
17
|
|
|
18
18
|
### Arguments
|
|
19
19
|
|
|
@@ -28,11 +28,11 @@ General | `$ tns device [<Command>]`
|
|
|
28
28
|
|
|
29
29
|
### Command Limitations
|
|
30
30
|
|
|
31
|
-
* You can run `$
|
|
31
|
+
* You can run `$ ns device ios` on Windows and macOS systems.
|
|
32
32
|
|
|
33
33
|
### Aliases
|
|
34
34
|
|
|
35
|
-
* You can use `$
|
|
35
|
+
* You can use `$ ns devices` as an alias for `$ ns device`.
|
|
36
36
|
|
|
37
37
|
### Related Commands
|
|
38
38
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns setup
|
|
3
3
|
position: 5
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns setup
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Run the setup script to automatically install the NativeScript dependencies and
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
Run the setup script | `$
|
|
16
|
+
Run the setup script | `$ ns setup`
|
|
17
17
|
|
|
18
18
|
### Related Commands
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns autocomplete disable
|
|
3
3
|
position: 1
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns autocomplete disable
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ Disables command-line completion for bash and zsh shells. You need to restart th
|
|
|
15
15
|
|
|
16
16
|
Usage | Synopsis
|
|
17
17
|
------|-------
|
|
18
|
-
General | `$
|
|
18
|
+
General | `$ ns autocomplete disable`
|
|
19
19
|
|
|
20
20
|
<% if(isHtml) { %>
|
|
21
21
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns autocomplete enable
|
|
3
3
|
position: 2
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns autocomplete enable
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ Enables command-line completion for bash and zsh shells. You need to restart the
|
|
|
15
15
|
|
|
16
16
|
Usage | Synopsis
|
|
17
17
|
------|-------
|
|
18
|
-
General | `$
|
|
18
|
+
General | `$ ns autocomplete enable`
|
|
19
19
|
|
|
20
20
|
<% if(isHtml) { %>
|
|
21
21
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns autocomplete status
|
|
3
3
|
position: 3
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns autocomplete status
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Prints your current command-line completion settings.
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns autocomplete status`
|
|
17
17
|
|
|
18
18
|
<% if(isHtml) { %>
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns autocomplete
|
|
3
3
|
position: 4
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns autocomplete
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -15,10 +15,10 @@ Prints your current command-line completion settings. If disabled, prompts you t
|
|
|
15
15
|
|
|
16
16
|
Usage | Synopsis
|
|
17
17
|
------|-------
|
|
18
|
-
General | `$
|
|
19
|
-
Get settings | `$
|
|
20
|
-
Enable | `$
|
|
21
|
-
Disable | `$
|
|
18
|
+
General | `$ ns autocomplete [<Command>]`
|
|
19
|
+
Get settings | `$ ns autocomplete status`
|
|
20
|
+
Enable | `$ ns autocomplete enable`
|
|
21
|
+
Disable | `$ ns autocomplete disable`
|
|
22
22
|
|
|
23
23
|
### Arguments
|
|
24
24
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns error-reporting
|
|
3
3
|
position: 6
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns error-reporting
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Configures anonymous error reporting for the NativeScript CLI. All data gathered
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns error-reporting [<Command>]`
|
|
17
17
|
|
|
18
18
|
### Arguments
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns extension install
|
|
3
3
|
position: 7
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns extension install
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Installs specified extension. Each extension adds additional functionality that'
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns extension install <Extension>`
|
|
17
17
|
|
|
18
18
|
### Arguments
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns extension uninstall
|
|
3
3
|
position: 8
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns extension uninstall
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Uninstalls the specified extension, after which you will no longer be able to us
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns extension uninstall <Extension>`
|
|
17
17
|
|
|
18
18
|
### Arguments
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns extension
|
|
3
3
|
position: 9
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns extension
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Prints information about all installed extensions.
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns extension`
|
|
17
17
|
|
|
18
18
|
<% if(isHtml) { %>
|
|
19
19
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns help
|
|
3
3
|
position: 10
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns help
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
10
10
|
Opens the command reference for all commands in your browser or shows information about the selected command in the browser.
|
|
11
11
|
|
|
12
|
-
To list all commands available in the console, run `$
|
|
13
|
-
To print information about a selected command in the console, run `$
|
|
12
|
+
To list all commands available in the console, run `$ ns -h`.
|
|
13
|
+
To print information about a selected command in the console, run `$ ns <Command> -h`.
|
|
14
14
|
|
|
15
15
|
### Commands
|
|
16
16
|
|
|
17
17
|
Usage | Synopsis
|
|
18
18
|
------|-------
|
|
19
|
-
General | `$
|
|
19
|
+
General | `$ ns help [<Command>]`
|
|
20
20
|
|
|
21
21
|
### Arguments
|
|
22
22
|
|
|
23
|
-
* `<Command>` is any of the available commands as listed by `$
|
|
23
|
+
* `<Command>` is any of the available commands as listed by `$ ns help` or `$ ns -h`
|
|
24
24
|
|
|
25
25
|
<% if(isHtml) { %>
|
|
26
26
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns info
|
|
3
3
|
position: 11
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns info
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Displays version information about the NativeScript CLI, core modules, and runti
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns info`
|
|
17
17
|
|
|
18
18
|
<% if(isHtml) { %>
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns migrate
|
|
3
3
|
position: 15
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns migrate
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -65,7 +65,7 @@ The following dependencies will be updated if needed:
|
|
|
65
65
|
|
|
66
66
|
Usage | Synopsis
|
|
67
67
|
------|-------
|
|
68
|
-
General | `$
|
|
68
|
+
General | `$ ns migrate`
|
|
69
69
|
|
|
70
70
|
<% if(isHtml) { %>
|
|
71
71
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns package-manager get
|
|
3
3
|
position: 19
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns package-manager get
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Prints the value of the current package manager.
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns package-manager get`
|
|
17
17
|
|
|
18
18
|
<% if(isHtml) { %>
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns package-manager set
|
|
3
3
|
position: 18
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns package-manager set
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Enables the specified package manager for the NativeScript CLI. Supported values
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns package-manager set <PackageManager>`
|
|
17
17
|
|
|
18
18
|
### Arguments
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns package-manager get
|
|
3
3
|
position: 19
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns package-manager get
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Prints the value of the current package manager.
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns package-manager get`
|
|
17
17
|
|
|
18
18
|
<% if(isHtml) { %>
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns proxy clear
|
|
3
3
|
position: 12
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns proxy clear
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Clears the currently configured proxy settings of the NativeScript CLI.
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns proxy clear`
|
|
17
17
|
|
|
18
18
|
<% if(isHtml) { %>
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns proxy set
|
|
3
3
|
position: 13
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns proxy set
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Sets the proxy settings of the NativeScript CLI.
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns proxy set [<Url> <% if(isWindows) {%>[<Username> [<Password>]]<%}%>]`
|
|
17
17
|
|
|
18
18
|
### Options
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns proxy
|
|
3
3
|
position: 14
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns proxy
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ Displays the current proxy settings of the NativeScript CLI.
|
|
|
13
13
|
|
|
14
14
|
Usage | Synopsis
|
|
15
15
|
------|-------
|
|
16
|
-
General | `$
|
|
16
|
+
General | `$ ns proxy [<Command>]`
|
|
17
17
|
|
|
18
18
|
### Arguments
|
|
19
19
|
`<Command>` extends the `proxy` command. You can set the following values for this attribute:
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
<% if (isJekyll) { %>---
|
|
2
|
-
title:
|
|
2
|
+
title: ns update
|
|
3
3
|
position: 16
|
|
4
4
|
---<% } %>
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# ns update
|
|
7
7
|
|
|
8
8
|
### Description
|
|
9
9
|
|
|
10
10
|
Updates the project with the latest versions of iOS/Android runtimes, cross-platform modules and "@nativescript/webpack".
|
|
11
11
|
In order to get the latest development release instead, pass `next` as argument:
|
|
12
|
-
`
|
|
12
|
+
`ns update next`
|
|
13
13
|
|
|
14
14
|
You can also switch to specific version by passing it to the command:
|
|
15
|
-
`
|
|
15
|
+
`ns update 5.0.0`
|
|
16
16
|
|
|
17
17
|
**NOTE:** The provided version should be an existing version of the project template for this project type.
|
|
18
18
|
|
|
@@ -20,7 +20,7 @@ You can also switch to specific version by passing it to the command:
|
|
|
20
20
|
|
|
21
21
|
Usage | Synopsis
|
|
22
22
|
------|-------
|
|
23
|
-
General | `$
|
|
23
|
+
General | `$ ns update`
|
|
24
24
|
|
|
25
25
|
<% if(isHtml) { %>
|
|
26
26
|
|