Skip to content

Commit 15c064f

Browse files
author
Dimitar Tachev
authored
Merge pull request #5106 from NativeScript/release
chore: merge release into master
2 parents 15c9196 + 3c68261 commit 15c064f

File tree

13 files changed

+97
-55
lines changed

13 files changed

+97
-55
lines changed

docs/man_pages/project/testing/build-android.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ General | `$ tns build android [--compileSdk <API Level>] [--key-store-path <Fil
2525
* `--key-store-alias` - Provides the alias for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
2626
* `--key-store-alias-password` - Provides the password for the alias specified with `--key-store-alias-password`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
2727
* `--copy-to` - Specifies the file path where the built `.apk` will be copied. If it points to a non-existent directory path, it will be created. If the specified value is existing directory, the original file name will be used.
28-
* `--env.*` - Specifies additional flags that the bundler may process. May be passed multiple times. Supported additional flags:
28+
* `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times. Supported additional flags:
2929
* `--env.aot` - creates Ahead-Of-Time build (Angular only).
30-
* `--env.snapshot`- creates [Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) (only for release builds on Mac OS & for Android).
30+
* `--env.snapshot`- creates [a V8 Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) decreasing the app start time (only for release builds for Android).
31+
* `--env.compileSnapshot`- compiles the static assets produced by `--env.snapshot` into `.so` files allowing the native build to split them per architecture. This will reduce the app size when using the `--aab` option.
3132
* `--env.uglify` - provides basic obfuscation and smaller app size.
3233
* `--env.report` - creates a Webpack report inside a `report` folder in the root folder.
33-
* `--env.sourceMap` - creates inline source maps (useful for debbuging bundled app).
34+
* `--env.sourceMap` - creates inline source maps.
3435
* `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
3536
* `--aab` - Specifies that the build will produce an Android App Bundle(`.aab`) file.
3637
* `--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`.

docs/man_pages/project/testing/build-ios.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ General | `$ tns build ios [--for-device] [--release] [--copy-to <File Path>] [-
2727
* `--copy-to` - Specifies the file path where the built `.ipa` will be copied. If it points to a non-existent directory path, it will be created. If the specified value is existing directory, the original file name will be used.
2828
* `--team-id` - If used without parameter, lists all team names and ids. If used with team name or id, it will switch to automatic signing mode and configure the .xcodeproj file of your app. In this case .xcconfig should not contain any provisioning/team id flags. This team id will be further used for codesigning the app. For Xcode 9.0+, xcodebuild will be allowed to update and modify automatically managed provisioning profiles.
2929
* `--provision` - If used without parameter, lists all eligible provisioning profiles. If used with UUID or name of your provisioning profile, it will switch to manual signing mode and configure the .xcodeproj file of your app. In this case xcconfig should not contain any provisioning/team id flags. This provisioning profile will be further used for codesigning the app.
30-
* `--env.*` - Specifies additional flags that the bundler may process. May be passed multiple times. Supported additional flags:
30+
* `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times. Supported additional flags:
3131
* `--env.aot` - creates Ahead-Of-Time build (Angular only).
32-
* `--env.snapshot`- creates [Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) (only for release builds on Mac OS & for Android).
3332
* `--env.uglify` - provides basic obfuscation and smaller app size.
3433
* `--env.report` - creates a Webpack report inside a `report` folder in the root folder.
35-
* `--env.sourceMap` - creates inline source maps (useful for debbuging bundled app).
34+
* `--env.sourceMap` - creates inline source maps.
3635
* `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
3736
* `--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`.
3837

docs/man_pages/project/testing/build.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ Usage | Synopsis
3232
* `--release` -If set, produces a release build by running webpack in production mode and native build in release mode. Otherwise, produces a debug build.
3333
* `--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.
3434
* `--hmr` - Enables the hot module replacement (HMR) feature.
35-
* `--env.*` - Specifies additional flags that the bundler may process. May be passed multiple times. Supported additional flags:
35+
* `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times. Supported additional flags:
3636
* `--env.aot` - creates Ahead-Of-Time build (Angular only).
37-
* `--env.snapshot`- creates [Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) (only for release builds on Mac OS & for Android).
37+
* `--env.snapshot`- creates [a V8 Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) decreasing the app start time (only for release builds for Android).
38+
* `--env.compileSnapshot`- compiles the static assets produced by `--env.snapshot` into `.so` files allowing the native build to split them per architecture. This will reduce the app size when using the `--aab` option.
3839
* `--env.uglify` - provides basic obfuscation and smaller app size.
3940
* `--env.report` - creates a Webpack report inside a `report` folder in the root folder.
40-
* `--env.sourceMap` - creates inline source maps (useful for debbuging bundled app).
41+
* `--env.sourceMap` - creates inline source maps.
4142
* `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
43+
* `--aab` - Specifies that the command will produce and deploy an Android App Bundle.
4244
* `--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`.
4345

4446
<% if(isHtml) { %>

docs/man_pages/project/testing/debug-android.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ Initiates a debugging session for your project on a connected Android device or
1313

1414
Usage | Synopsis
1515
---|---
16-
Deploy on device/emulator, run the app and generate a Chrome DevTools link for debugging | `$ tns debug android`
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>]`
18-
Deploy in the native emulator, run the app and stop at the first code statement | `$ tns debug android --debug-brk --emulator [--timeout <timeout>]`
19-
Attach the debug tools to a running app on device/emulator | `$ tns debug android --start [--device <Device ID>] [--timeout <timeout>]`
20-
Attach the debug tools to a running app in the native emulator | `$ tns debug android --start --emulator [--timeout <timeout>]`
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]`
2121

2222
### Options
2323

@@ -29,6 +29,15 @@ Attach the debug tools to a running app in the native emulator | `$ tns debug an
2929
* `--no-watch` - If set, changes in your code will not be reflected during the execution of this command.
3030
* `--clean` - If set, forces the complete rebuild of the native application.
3131
* `--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.
32+
* `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times. Supported additional flags:
33+
* `--env.aot` - creates Ahead-Of-Time build (Angular only).
34+
* `--env.snapshot`- creates [a V8 Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) decreasing the app start time (only for release builds for Android).
35+
* `--env.compileSnapshot`- compiles the static assets produced by `--env.snapshot` into `.so` files allowing the native build to split them per architecture. This will reduce the app size when using the `--aab` option.
36+
* `--env.uglify` - provides basic obfuscation and smaller app size.
37+
* `--env.report` - creates a Webpack report inside a `report` folder in the root folder.
38+
* `--env.sourceMap` - creates inline source maps.
39+
* `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
40+
* `--aab` - Specifies that the command will produce and deploy an Android App Bundle.
3241
* `--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`.
3342

3443
<% if(isHtml) { %>

docs/man_pages/project/testing/deploy.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Prepares, builds and deploys the project to a connected device or native emulato
1616

1717
Usage | Synopsis
1818
---|---
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]`
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]`
2020
<% if(isMacOS) { %>Deploy on iOS | `$ tns deploy ios [--device <Device ID>] [--release]`<% } %>
2121

2222
### Options for iOS
@@ -33,6 +33,16 @@ Deploy on Android | `$ tns deploy android [--device <Device ID>] [--key-store-pa
3333
* `--key-store-password` - Provides the password for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
3434
* `--key-store-alias` - Provides the alias for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
3535
* `--key-store-alias-password` - Provides the password for the alias specified with `--key-store-alias-password`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
36+
* `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times. Supported additional flags:
37+
* `--env.aot` - creates Ahead-Of-Time build (Angular only).
38+
* `--env.snapshot`- creates [a V8 Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) decreasing the app start time (only for release builds for Android).
39+
* `--env.compileSnapshot`- compiles the static assets produced by `--env.snapshot` into `.so` files allowing the native build to split them per architecture. This will reduce the app size when using the `--aab` option.
40+
* `--env.uglify` - provides basic obfuscation and smaller app size.
41+
* `--env.report` - creates a Webpack report inside a `report` folder in the root folder.
42+
* `--env.sourceMap` - creates inline source maps.
43+
* `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
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`.
3646

3747
<% if(isHtml) { %>
3848

docs/man_pages/project/testing/run-android.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ When running this command without passing `--release` flag, the HMR (Hot Module
1717

1818
Usage | Synopsis
1919
---|---
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.*]]`
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.*]]`
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.*]]`
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]`
2323

2424
### Options
2525

@@ -34,13 +34,15 @@ Start a default emulator if none are running, or run application on all connecte
3434
* `--key-store-alias` - Provides the alias for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
3535
* `--key-store-alias-password` - Provides the password for the alias specified with `--key-store-alias-password`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
3636
* `--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-
* `--env.*` - Specifies additional flags that the bundler may process. May be passed multiple times.
37+
* `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times.
3838
* `--env.aot` - creates Ahead-Of-Time build (Angular only).
39-
* `--env.snapshot`- creates [Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) (only for release builds on Mac OS & for Android).
39+
* `--env.snapshot`- creates [a V8 Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) decreasing the app start time (only for release builds for Android).
40+
* `--env.compileSnapshot`- compiles the static assets produced by `--env.snapshot` into `.so` files allowing the native build to split them per architecture. This will reduce the app size when using the `--aab` option.
4041
* `--env.uglify` - provides basic obfuscation and smaller app size.
4142
* `--env.report` - creates a Webpack report inside a `report` folder in the root folder.
42-
* `--env.sourceMap` - creates inline source maps (useful for debbuging bundled app).
43+
* `--env.sourceMap` - creates inline source maps.
4344
* `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
45+
* `--aab` - Specifies that the command will produce and deploy an Android App Bundle.
4446
* `--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`.
4547

4648
<% if(isHtml) { %>

docs/man_pages/project/testing/run-ios.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,11 @@ Start an emulator with specified device identifier and sdk | `$ tns run ios [--d
3737
* `--no-watch` - If set, changes in your code will not be reflected during the execution of this command.
3838
* `--release` - If set, produces a release build by running webpack in production mode and native build in release mode. Otherwise, produces a debug build.
3939
* `--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.
40-
* `--env.*` - Specifies additional flags that the bundler may process. May be passed multiple times.
40+
* `--env.*` - Specifies additional flags that the bundler may process. Can be passed multiple times.
4141
* `--env.aot` - creates Ahead-Of-Time build (Angular only).
42-
* `--env.snapshot`- creates [Snapshot](https://docs.nativescript.org/performance-optimizations/bundling-with-webpack#v8-heap-snapshot) (only for release builds on Mac OS & for Android).
4342
* `--env.uglify` - provides basic obfuscation and smaller app size.
4443
* `--env.report` - creates a Webpack report inside a `report` folder in the root folder.
45-
* `--env.sourceMap` - creates inline source maps (useful for debbuging bundled app).
44+
* `--env.sourceMap` - creates inline source maps.
4645
* `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
4746
* `--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`.
4847

0 commit comments

Comments
 (0)