@tauri-apps/cli 2.0.0-alpha.15 → 2.0.0-alpha.16
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/CHANGELOG.md +33 -0
- package/Cargo.toml +1 -1
- package/package.json +11 -11
- package/schema.json +30 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## \[2.0.0-alpha.16]
|
|
4
|
+
|
|
5
|
+
### New Features
|
|
6
|
+
|
|
7
|
+
- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Add `--no-dev-server-wait` option to skip waiting for the dev server to start when using `tauri dev`.
|
|
8
|
+
|
|
9
|
+
### Dependencies
|
|
10
|
+
|
|
11
|
+
- Upgraded to `tauri-cli@2.0.0-alpha.16`
|
|
12
|
+
|
|
13
|
+
### Breaking Changes
|
|
14
|
+
|
|
15
|
+
- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Changed a number of environment variables used by tauri CLI for consistency and clarity:
|
|
16
|
+
|
|
17
|
+
- `TAURI_PRIVATE_KEY` -> `TAURI_SIGNING_PRIVATE_KEY`
|
|
18
|
+
- `TAURI_KEY_PASSWORD` -> `TAURI_SIGNING_PRIVATE_KEY_PASSWORD`
|
|
19
|
+
- `TAURI_SKIP_DEVSERVER_CHECK` -> `TAURI_CLI_NO_DEV_SERVER_WAIT`
|
|
20
|
+
- `TAURI_DEV_SERVER_PORT` -> `TAURI_CLI_PORT`
|
|
21
|
+
- `TAURI_PATH_DEPTH` -> `TAURI_CLI_CONFIG_DEPTH`
|
|
22
|
+
- `TAURI_FIPS_COMPLIANT` -> `TAURI_BUNDLER_WIX_FIPS_COMPLIANT`
|
|
23
|
+
- `TAURI_DEV_WATCHER_IGNORE_FILE` -> `TAURI_CLI_WATCHER_IGNORE_FILENAME`
|
|
24
|
+
- `TAURI_TRAY` -> `TAURI_LINUX_AYATANA_APPINDICATOR`
|
|
25
|
+
- `TAURI_APPLE_DEVELOPMENT_TEAM` -> `APPLE_DEVELOPMENT_TEAM`
|
|
26
|
+
- [`4caa1cca`](https://www.github.com/tauri-apps/tauri/commit/4caa1cca990806f2c2ef32d5dabaf56e82f349e6)([#7990](https://www.github.com/tauri-apps/tauri/pull/7990)) The `tauri plugin` subcommand is receving a couple of consitency and quality of life improvements:
|
|
27
|
+
|
|
28
|
+
- Renamed `tauri plugin android/ios add` command to `tauri plugin android/ios init` to match the `tauri plugin init` command.
|
|
29
|
+
- Removed the `-n/--name` argument from the `tauri plugin init`, `tauri plugin android/ios init`, and is now parsed from the first positional argument.
|
|
30
|
+
- Added `tauri plugin new` to create a plugin in a new directory.
|
|
31
|
+
- Changed `tauri plugin init` to initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one.
|
|
32
|
+
- Changed `tauri plugin init` to NOT generate mobile projects by default, you can opt-in to generate them using `--android` and `--ios` flags or `--mobile` flag or initalize them later using `tauri plugin android/ios init`.
|
|
33
|
+
- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Removed checking for a new version of the CLI.
|
|
34
|
+
- [`ebcc21e4`](https://www.github.com/tauri-apps/tauri/commit/ebcc21e4b95f4e8c27639fb1bca545b432f52d5e)([#8057](https://www.github.com/tauri-apps/tauri/pull/8057)) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables.
|
|
35
|
+
|
|
3
36
|
## \[2.0.0-alpha.15]
|
|
4
37
|
|
|
5
38
|
### New Features
|
package/Cargo.toml
CHANGED
|
@@ -11,7 +11,7 @@ crate-type = ["cdylib"]
|
|
|
11
11
|
napi = { version = "2.13", default-features = false, features = ["napi4"] }
|
|
12
12
|
napi-derive = "2.13"
|
|
13
13
|
tauri-cli = { path = "..", default-features = false }
|
|
14
|
-
log = "0.4.
|
|
14
|
+
log = "0.4.20"
|
|
15
15
|
|
|
16
16
|
[build-dependencies]
|
|
17
17
|
napi-build = "2.0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tauri-apps/cli",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.16",
|
|
4
4
|
"description": "Command line interface for building Tauri apps",
|
|
5
5
|
"funding": {
|
|
6
6
|
"type": "opencollective",
|
|
@@ -70,15 +70,15 @@
|
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {},
|
|
72
72
|
"optionalDependencies": {
|
|
73
|
-
"@tauri-apps/cli-win32-x64-msvc": "2.0.0-alpha.
|
|
74
|
-
"@tauri-apps/cli-darwin-x64": "2.0.0-alpha.
|
|
75
|
-
"@tauri-apps/cli-linux-x64-gnu": "2.0.0-alpha.
|
|
76
|
-
"@tauri-apps/cli-darwin-arm64": "2.0.0-alpha.
|
|
77
|
-
"@tauri-apps/cli-linux-arm64-gnu": "2.0.0-alpha.
|
|
78
|
-
"@tauri-apps/cli-linux-arm64-musl": "2.0.0-alpha.
|
|
79
|
-
"@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-alpha.
|
|
80
|
-
"@tauri-apps/cli-linux-x64-musl": "2.0.0-alpha.
|
|
81
|
-
"@tauri-apps/cli-win32-ia32-msvc": "2.0.0-alpha.
|
|
82
|
-
"@tauri-apps/cli-win32-arm64-msvc": "2.0.0-alpha.
|
|
73
|
+
"@tauri-apps/cli-win32-x64-msvc": "2.0.0-alpha.16",
|
|
74
|
+
"@tauri-apps/cli-darwin-x64": "2.0.0-alpha.16",
|
|
75
|
+
"@tauri-apps/cli-linux-x64-gnu": "2.0.0-alpha.16",
|
|
76
|
+
"@tauri-apps/cli-darwin-arm64": "2.0.0-alpha.16",
|
|
77
|
+
"@tauri-apps/cli-linux-arm64-gnu": "2.0.0-alpha.16",
|
|
78
|
+
"@tauri-apps/cli-linux-arm64-musl": "2.0.0-alpha.16",
|
|
79
|
+
"@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-alpha.16",
|
|
80
|
+
"@tauri-apps/cli-linux-x64-musl": "2.0.0-alpha.16",
|
|
81
|
+
"@tauri-apps/cli-win32-ia32-msvc": "2.0.0-alpha.16",
|
|
82
|
+
"@tauri-apps/cli-win32-arm64-msvc": "2.0.0-alpha.16"
|
|
83
83
|
}
|
|
84
84
|
}
|
package/schema.json
CHANGED
|
@@ -440,6 +440,11 @@
|
|
|
440
440
|
"default": true,
|
|
441
441
|
"type": "boolean"
|
|
442
442
|
},
|
|
443
|
+
"alwaysOnBottom": {
|
|
444
|
+
"description": "Whether the window should always be below other windows.",
|
|
445
|
+
"default": false,
|
|
446
|
+
"type": "boolean"
|
|
447
|
+
},
|
|
443
448
|
"alwaysOnTop": {
|
|
444
449
|
"description": "Whether the window should always be on top of other windows.",
|
|
445
450
|
"default": false,
|
|
@@ -796,6 +801,27 @@
|
|
|
796
801
|
"micaLight"
|
|
797
802
|
]
|
|
798
803
|
},
|
|
804
|
+
{
|
|
805
|
+
"description": "Tabbed effect that matches the system dark perefence **Windows 11 Only**",
|
|
806
|
+
"type": "string",
|
|
807
|
+
"enum": [
|
|
808
|
+
"tabbed"
|
|
809
|
+
]
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"description": "Tabbed effect with dark mode but only if dark mode is enabled on the system **Windows 11 Only**",
|
|
813
|
+
"type": "string",
|
|
814
|
+
"enum": [
|
|
815
|
+
"tabbedDark"
|
|
816
|
+
]
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"description": "Tabbed effect with light mode **Windows 11 Only**",
|
|
820
|
+
"type": "string",
|
|
821
|
+
"enum": [
|
|
822
|
+
"tabbedLight"
|
|
823
|
+
]
|
|
824
|
+
},
|
|
799
825
|
{
|
|
800
826
|
"description": "**Windows 7/10/11(22H1) Only**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 11 build 22621.",
|
|
801
827
|
"type": "string",
|
|
@@ -1762,7 +1788,7 @@
|
|
|
1762
1788
|
"type": "object",
|
|
1763
1789
|
"properties": {
|
|
1764
1790
|
"developmentTeam": {
|
|
1765
|
-
"description": "The development team. This value is required for iOS development because code signing is enforced. The `
|
|
1791
|
+
"description": "The development team. This value is required for iOS development because code signing is enforced. The `APPLE_DEVELOPMENT_TEAM` environment variable can be set to overwrite it.",
|
|
1766
1792
|
"type": [
|
|
1767
1793
|
"string",
|
|
1768
1794
|
"null"
|
|
@@ -2140,7 +2166,7 @@
|
|
|
2140
2166
|
]
|
|
2141
2167
|
},
|
|
2142
2168
|
"beforeDevCommand": {
|
|
2143
|
-
"description": "A shell command to run before `tauri dev` kicks in.\n\nThe
|
|
2169
|
+
"description": "A shell command to run before `tauri dev` kicks in.\n\nThe TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG environment variables are set if you perform conditional compilation.",
|
|
2144
2170
|
"anyOf": [
|
|
2145
2171
|
{
|
|
2146
2172
|
"$ref": "#/definitions/BeforeDevCommand"
|
|
@@ -2151,7 +2177,7 @@
|
|
|
2151
2177
|
]
|
|
2152
2178
|
},
|
|
2153
2179
|
"beforeBuildCommand": {
|
|
2154
|
-
"description": "A shell command to run before `tauri build` kicks in.\n\nThe
|
|
2180
|
+
"description": "A shell command to run before `tauri build` kicks in.\n\nThe TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG environment variables are set if you perform conditional compilation.",
|
|
2155
2181
|
"anyOf": [
|
|
2156
2182
|
{
|
|
2157
2183
|
"$ref": "#/definitions/HookCommand"
|
|
@@ -2162,7 +2188,7 @@
|
|
|
2162
2188
|
]
|
|
2163
2189
|
},
|
|
2164
2190
|
"beforeBundleCommand": {
|
|
2165
|
-
"description": "A shell command to run before the bundling phase in `tauri build` kicks in.\n\nThe
|
|
2191
|
+
"description": "A shell command to run before the bundling phase in `tauri build` kicks in.\n\nThe TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG environment variables are set if you perform conditional compilation.",
|
|
2166
2192
|
"anyOf": [
|
|
2167
2193
|
{
|
|
2168
2194
|
"$ref": "#/definitions/HookCommand"
|