Skip to content

Commit da9b7f9

Browse files
committed
Merge remote-tracking branch 'nativescript/main'
# Conflicts: # lib/controllers/prepare-controller.ts # lib/services/android-plugin-build-service.ts # lib/services/ios-project-service.ts # package-lock.json # vendor/gradle-plugin/build.gradle # yarn.lock
2 parents c17417b + 20c735b commit da9b7f9

File tree

129 files changed

+16405
-10714
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+16405
-10714
lines changed

CHANGELOG.md

+42
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
## [8.6.1](https://github.com/NativeScript/nativescript-cli/compare/v8.6.0...v8.6.1) (2023-10-23)
2+
3+
4+
### Bug Fixes
5+
6+
* remove cli-table aliasing ([#5763](https://github.com/NativeScript/nativescript-cli/issues/5763)) ([dd1640c](https://github.com/NativeScript/nativescript-cli/commit/dd1640ca15235be82d945fe6401e3993a6a4442a))
7+
* resolve pacote regression with creating app from a template directory ([#5766](https://github.com/NativeScript/nativescript-cli/issues/5766)) ([2cd7a62](https://github.com/NativeScript/nativescript-cli/commit/2cd7a62ee8535f72c578e681806ca441c752c357))
8+
* setup docs links ([#5762](https://github.com/NativeScript/nativescript-cli/issues/5762)) ([b229fdf](https://github.com/NativeScript/nativescript-cli/commit/b229fdf4eb4d942fce5734166e02c1b4b193cdb7))
9+
10+
11+
12+
# [8.6.0](https://github.com/NativeScript/nativescript-cli/compare/v8.5.3...v8.6.0) (2023-10-10)
13+
14+
15+
### Bug Fixes
16+
17+
* bump resolve-package-path to fix aliased module resolution ([3307155](https://github.com/NativeScript/nativescript-cli/commit/33071556385e9a1ec8945e66eb57b5f1ef744c28))
18+
* check if interactive before attaching key commands ([27d3940](https://github.com/NativeScript/nativescript-cli/commit/27d394030fec6c39dd58138411a65b80def7fcb8))
19+
* get framework name from Info.plist ([#5759](https://github.com/NativeScript/nativescript-cli/issues/5759)) ([6bc6ca9](https://github.com/NativeScript/nativescript-cli/commit/6bc6ca91422b6e6d9c7b5dbc4457c69ec58b74f0))
20+
* hash plugin files after prepare ([#5753](https://github.com/NativeScript/nativescript-cli/issues/5753)) ([ecf1959](https://github.com/NativeScript/nativescript-cli/commit/ecf19599eda49dbbdb0d01333880e736bb02d222))
21+
* **ios-device-lib:** use 0.9.3 with device core handling ([5cc76f4](https://github.com/NativeScript/nativescript-cli/commit/5cc76f4ad890b3f8e79bfdcd64d6e9842baf081d))
22+
* **logs:** android log detection fixes ([b5cc32e](https://github.com/NativeScript/nativescript-cli/commit/b5cc32ece0ec7e38fd084ea3398abca2fedc0a9a))
23+
* **logs:** correctly trim ios logs + fix tests ([be1e737](https://github.com/NativeScript/nativescript-cli/commit/be1e737a7457d4e35eda76619369a52b88d0dcab))
24+
* **logs:** don't trim leading whitespace ([f522401](https://github.com/NativeScript/nativescript-cli/commit/f522401e03322c328e7859cea2881af73f6889fe))
25+
* use valid interface ([a35dfa6](https://github.com/NativeScript/nativescript-cli/commit/a35dfa6a4841e01efd9dbc85b66048be90bcee1c))
26+
27+
28+
### Features
29+
30+
* add key commands ([5dbc780](https://github.com/NativeScript/nativescript-cli/commit/5dbc780f3b5e216669092db3cb413fa0fc25f53e))
31+
* allow android plugins to have cpp code ([#5758](https://github.com/NativeScript/nativescript-cli/issues/5758)) ([c5f7b85](https://github.com/NativeScript/nativescript-cli/commit/c5f7b85e55c76eadb9697efc554814a8ed31b1ab))
32+
* allow running on visionOS ([#5745](https://github.com/NativeScript/nativescript-cli/issues/5745)) ([f6a0fdd](https://github.com/NativeScript/nativescript-cli/commit/f6a0fdd14ee409e791fa75de52cd6f85154db3cb))
33+
* **angular:** use 16.2.0 on ns update ([a31b3bb](https://github.com/NativeScript/nativescript-cli/commit/a31b3bb881a74e7d46eb30e172c145dd9536e0ad))
34+
* **extension:** initial per-extension provisioning ([#5749](https://github.com/NativeScript/nativescript-cli/issues/5749)) ([c564e18](https://github.com/NativeScript/nativescript-cli/commit/c564e189b36334a2f8a7a7fc57e911b9139cb358))
35+
* **extensions:** add extension podfile and setup extension with provision ([#5751](https://github.com/NativeScript/nativescript-cli/issues/5751)) ([ba3293c](https://github.com/NativeScript/nativescript-cli/commit/ba3293c174155b1143e87662ed49c978e9cac32d))
36+
* **extensions:** allow seperate release/debug build configuration ([#5741](https://github.com/NativeScript/nativescript-cli/issues/5741)) ([fdcc98e](https://github.com/NativeScript/nativescript-cli/commit/fdcc98e9fc45786fd362444dad2fa1d458d09cb6))
37+
* **ios:** always override xcconfig with user values ([#5735](https://github.com/NativeScript/nativescript-cli/issues/5735)) ([5b88e06](https://github.com/NativeScript/nativescript-cli/commit/5b88e06404bf910da966ec1a7969f13c8f843fe4))
38+
* **logs:** improve android logging ([#5755](https://github.com/NativeScript/nativescript-cli/issues/5755)) ([8c5ef04](https://github.com/NativeScript/nativescript-cli/commit/8c5ef043bc8355e5ce421dbc4ee02efd78e06caa))
39+
* **spm:** add support for local SPM packages ([#5748](https://github.com/NativeScript/nativescript-cli/issues/5748)) ([c40e217](https://github.com/NativeScript/nativescript-cli/commit/c40e2177ecbc452d124a6d6f750d1bfeb9de7e50))
40+
41+
42+
143
## [8.5.3](https://github.com/NativeScript/nativescript-cli/compare/v8.5.2...v8.5.3) (2023-04-12)
244

345

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ cd nativescript-cli
335335
npm run setup
336336
```
337337

338-
To use the locally built CLI instead `tns` you can call `PATH_TO_CLI_FOLDER/bin/tns`. For example:
338+
To use the locally built CLI instead of `ns` you can call `PATH_TO_CLI_FOLDER/bin/ns`. For example:
339339
`PATH_TO_CLI_FOLDER/bin/ns run ios|android`
340340

341341
[Back to Top][1]

docs/man_pages/cloud/cloud-setup.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns cloud setup
2+
title: ns cloud setup
33
position: 5
44
---<% } %>
55

6-
# tns cloud setup
6+
# ns cloud setup
77

88
### Description
99

@@ -13,13 +13,13 @@ Install the `nativescript-cloud extension` to configure your environment for clo
1313

1414
Usage | Synopsis
1515
------|-------
16-
Install the `nativescript-cloud extension` | `$ tns cloud setup`
17-
Log in for cloud builds (will open browser login form) | `$ tns login`
18-
Log in for cloud builds (through the CLI) | `$ tns dev-login <username> <password>`
19-
Accept EULA agreement | `$ tns accept eula`
20-
Perform iOS cloud build | `$ tns cloud build ios --accountId=<accountId>`
21-
Perform Android cloud build | `$ tns cloud build android --accountId=<accountId>`
22-
View accountId (after logging in) | `$ tns account`
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`
2323

2424

2525
### Related Commands

docs/man_pages/device/device-android.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns device android
2+
title: ns device android
33
position: 1
44
---<% } %>
55

6-
# tns device android
6+
# ns device android
77

88
### Description
99

@@ -13,7 +13,7 @@ Lists all recognized connected Android physical and running virtual devices with
1313

1414
Usage | Synopsis
1515
------|-------
16-
General | `$ tns device android [--timeout <Milliseconds>]`
16+
General | `$ ns device android [--timeout <Milliseconds>]`
1717

1818
### Options
1919

docs/man_pages/device/device-ios.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<% if (isJekyll) { %>---
2-
title: tns device ios
2+
title: ns device ios
33
position: 2
44
---<% } %>
55

6-
# tns device ios
6+
# ns device ios
77

88
### Description
99

1010
Lists all recognized connected iOS devices with serial number and index.
1111

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 `$ tns help device ios`<% } %>
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`<% } %>
1313

1414
### Commands
1515

1616
Usage | Synopsis
1717
------|-------
18-
General | `$ tns device ios [--timeout <Milliseconds>]`
18+
General | `$ ns device ios [--timeout <Milliseconds>]`
1919

2020
<% if((isConsole && (isWindows || isMacOS)) || isHtml) { %>
2121

@@ -26,7 +26,7 @@ General | `$ tns device ios [--timeout <Milliseconds>]`
2626

2727
### Command Limitations
2828

29-
* You can run `$ tns device ios` on Windows and OS X systems.
29+
* You can run `$ ns device ios` on Windows and OS X systems.
3030

3131
### Related Commands
3232

docs/man_pages/device/device-list-applications.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns device list-applications
2+
title: ns device list-applications
33
position: 3
44
---<% } %>
55

6-
# tns device list-applications
6+
# ns device list-applications
77

88
### Description
99

@@ -13,11 +13,11 @@ Lists the installed applications on all connected Android <% if(isWindows || isM
1313

1414
Usage | Synopsis
1515
------|-------
16-
General | `$ tns device list-applications [--device <Device ID>]`
16+
General | `$ ns device list-applications [--device <Device ID>]`
1717

1818
### Options
1919

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 `$ tns device` command.
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.
2121

2222
<% if(isHtml) { %>
2323

docs/man_pages/device/device-log.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns device log
2+
title: ns device log
33
position: 4
44
---<% } %>
55

6-
# tns device log
6+
# ns device log
77

88
### Description
99

@@ -13,11 +13,11 @@ Opens the device log stream for a selected connected Android <% if(isWindows ||
1313

1414
Usage | Synopsis
1515
------|-------
16-
General | `$ tns device log [--device <Device ID>]`
16+
General | `$ ns device log [--device <Device ID>]`
1717

1818
### Options
1919

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 `$ tns device` command.
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.
2121

2222
<% if(isHtml) { %>
2323

docs/man_pages/device/device-run.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns device run
2+
title: ns device run
33
position: 5
44
---<% } %>
55

6-
# tns device run
6+
# ns device run
77

88
### Description
99

@@ -15,15 +15,15 @@ Runs the selected application on a connected Android <% if(isMacOS) { %>or iOS <
1515

1616
Usage | Synopsis
1717
------|-------
18-
General | `$ tns device run <Application ID> [--device <Device ID>]`
18+
General | `$ ns device run <Application ID> [--device <Device ID>]`
1919

2020
### Options
2121

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 `$ tns device` command.
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.
2323

2424
### Arguments
2525

26-
* `<Application ID>` is the application identifier as listed by `$ tns device list-applications`.
26+
* `<Application ID>` is the application identifier as listed by `$ ns device list-applications`.
2727

2828
<% if(isHtml) { %>
2929

docs/man_pages/device/device.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns device
2+
title: ns device
33
position: 6
44
---<% } %>
55

6-
# tns device
6+
# ns device
77

88
### Description
99

@@ -13,7 +13,7 @@ Lists all recognized connected Android <% if(isWindows || isMacOS) { %>or iOS de
1313

1414
Usage | Synopsis
1515
------|---------
16-
General | `$ tns device [<Command>]`
16+
General | `$ ns device [<Command>]`
1717

1818
### Arguments
1919

@@ -28,11 +28,11 @@ General | `$ tns device [<Command>]`
2828

2929
### Command Limitations
3030

31-
* You can run `$ tns device ios` on Windows and macOS systems.
31+
* You can run `$ ns device ios` on Windows and macOS systems.
3232

3333
### Aliases
3434

35-
* You can use `$ tns devices` as an alias for `$ tns device`.
35+
* You can use `$ ns devices` as an alias for `$ ns device`.
3636

3737
### Related Commands
3838

docs/man_pages/env-configuration/setup.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns setup
2+
title: ns setup
33
position: 5
44
---<% } %>
55

6-
# tns setup
6+
# ns setup
77

88
### Description
99

@@ -13,7 +13,7 @@ Run the setup script to automatically install the NativeScript dependencies and
1313

1414
Usage | Synopsis
1515
------|-------
16-
Run the setup script | `$ tns setup`
16+
Run the setup script | `$ ns setup`
1717

1818
### Related Commands
1919

docs/man_pages/general/autocomplete-disable.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns autocomplete disable
2+
title: ns autocomplete disable
33
position: 1
44
---<% } %>
55

6-
# tns autocomplete disable
6+
# ns autocomplete disable
77

88
### Description
99

@@ -15,7 +15,7 @@ Disables command-line completion for bash and zsh shells. You need to restart th
1515

1616
Usage | Synopsis
1717
------|-------
18-
General | `$ tns autocomplete disable`
18+
General | `$ ns autocomplete disable`
1919

2020
<% if(isHtml) { %>
2121

docs/man_pages/general/autocomplete-enable.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns autocomplete enable
2+
title: ns autocomplete enable
33
position: 2
44
---<% } %>
55

6-
# tns autocomplete enable
6+
# ns autocomplete enable
77

88
### Description
99

@@ -15,7 +15,7 @@ Enables command-line completion for bash and zsh shells. You need to restart the
1515

1616
Usage | Synopsis
1717
------|-------
18-
General | `$ tns autocomplete enable`
18+
General | `$ ns autocomplete enable`
1919

2020
<% if(isHtml) { %>
2121

docs/man_pages/general/autocomplete-status.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns autocomplete status
2+
title: ns autocomplete status
33
position: 3
44
---<% } %>
55

6-
# tns autocomplete status
6+
# ns autocomplete status
77

88
### Description
99

@@ -13,7 +13,7 @@ Prints your current command-line completion settings.
1313

1414
Usage | Synopsis
1515
------|-------
16-
General | `$ tns autocomplete status`
16+
General | `$ ns autocomplete status`
1717

1818
<% if(isHtml) { %>
1919

docs/man_pages/general/autocomplete.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns autocomplete
2+
title: ns autocomplete
33
position: 4
44
---<% } %>
55

6-
# tns autocomplete
6+
# ns autocomplete
77

88
### Description
99

@@ -15,10 +15,10 @@ Prints your current command-line completion settings. If disabled, prompts you t
1515

1616
Usage | Synopsis
1717
------|-------
18-
General | `$ tns autocomplete [<Command>]`
19-
Get settings | `$ tns autocomplete status`
20-
Enable | `$ tns autocomplete enable`
21-
Disable | `$ tns autocomplete disable`
18+
General | `$ ns autocomplete [<Command>]`
19+
Get settings | `$ ns autocomplete status`
20+
Enable | `$ ns autocomplete enable`
21+
Disable | `$ ns autocomplete disable`
2222

2323
### Arguments
2424

docs/man_pages/general/error-reporting.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<% if (isJekyll) { %>---
2-
title: tns error-reporting
2+
title: ns error-reporting
33
position: 6
44
---<% } %>
55

6-
# tns error-reporting
6+
# ns error-reporting
77

88
### Description
99

@@ -13,7 +13,7 @@ Configures anonymous error reporting for the NativeScript CLI. All data gathered
1313

1414
Usage | Synopsis
1515
------|-------
16-
General | `$ tns error-reporting [<Command>]`
16+
General | `$ ns error-reporting [<Command>]`
1717

1818
### Arguments
1919

0 commit comments

Comments
 (0)