@tauri-apps/cli 2.0.0-alpha.14 → 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 CHANGED
@@ -1,5 +1,53 @@
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
+
36
+ ## \[2.0.0-alpha.15]
37
+
38
+ ### New Features
39
+
40
+ - [`b2f17723`](https://www.github.com/tauri-apps/tauri/commit/b2f17723a415f04c2620132a6305eb138d7cb47f)([#7971](https://www.github.com/tauri-apps/tauri/pull/7971)) Use `devicectl` to connect to iOS 17+ devices on macOS 14+.
41
+
42
+ ### Bug Fixes
43
+
44
+ - [`100d9ede`](https://www.github.com/tauri-apps/tauri/commit/100d9ede35995d9db21d2087dd5606adfafb89a5)([#7802](https://www.github.com/tauri-apps/tauri/pull/7802)) Properly read platform-specific configuration files for mobile targets.
45
+ - [`228e5a4c`](https://www.github.com/tauri-apps/tauri/commit/228e5a4c76ad5f97409c912d07699b49ba4bb162)([#7902](https://www.github.com/tauri-apps/tauri/pull/7902)) Fixes `icon` command not writing files to the correct Android project folders.
46
+
47
+ ### Dependencies
48
+
49
+ - Upgraded to `tauri-cli@2.0.0-alpha.15`
50
+
3
51
  ## \[2.0.0-alpha.14]
4
52
 
5
53
  ### Dependencies
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.19"
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.14",
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.14",
74
- "@tauri-apps/cli-darwin-x64": "2.0.0-alpha.14",
75
- "@tauri-apps/cli-linux-x64-gnu": "2.0.0-alpha.14",
76
- "@tauri-apps/cli-darwin-arm64": "2.0.0-alpha.14",
77
- "@tauri-apps/cli-linux-arm64-gnu": "2.0.0-alpha.14",
78
- "@tauri-apps/cli-linux-arm64-musl": "2.0.0-alpha.14",
79
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-alpha.14",
80
- "@tauri-apps/cli-linux-x64-musl": "2.0.0-alpha.14",
81
- "@tauri-apps/cli-win32-ia32-msvc": "2.0.0-alpha.14",
82
- "@tauri-apps/cli-win32-arm64-msvc": "2.0.0-alpha.14"
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
@@ -113,7 +113,7 @@
113
113
  "additionalProperties": false,
114
114
  "definitions": {
115
115
  "PackageConfig": {
116
- "description": "The package configuration.\n\nSee more: https://tauri.app/v1/api/config#packageconfig",
116
+ "description": "The package configuration.\n\nSee more: <https://tauri.app/v1/api/config#packageconfig>",
117
117
  "type": "object",
118
118
  "properties": {
119
119
  "productName": {
@@ -136,7 +136,7 @@
136
136
  "additionalProperties": false
137
137
  },
138
138
  "TauriConfig": {
139
- "description": "The Tauri configuration object.\n\nSee more: https://tauri.app/v1/api/config#tauriconfig",
139
+ "description": "The Tauri configuration object.\n\nSee more: <https://tauri.app/v1/api/config#tauriconfig>",
140
140
  "type": "object",
141
141
  "properties": {
142
142
  "pattern": {
@@ -291,7 +291,7 @@
291
291
  ]
292
292
  },
293
293
  "WindowConfig": {
294
- "description": "The window configuration object.\n\nSee more: https://tauri.app/v1/api/config#windowconfig",
294
+ "description": "The window configuration object.\n\nSee more: <https://tauri.app/v1/api/config#windowconfig>",
295
295
  "type": "object",
296
296
  "properties": {
297
297
  "label": {
@@ -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,
@@ -510,7 +515,7 @@
510
515
  "type": "boolean"
511
516
  },
512
517
  "windowEffects": {
513
- "description": "Window effects.\n\nRequires the window to be transparent.\n\n## Platform-specific:\n\n- **Windows**: If using decorations or shadows, you may want to try this workaround https://github.com/tauri-apps/tao/issues/72#issuecomment-975607891 - **Linux**: Unsupported",
518
+ "description": "Window effects.\n\nRequires the window to be transparent.\n\n## Platform-specific:\n\n- **Windows**: If using decorations or shadows, you may want to try this workaround <https://github.com/tauri-apps/tao/issues/72#issuecomment-975607891> - **Linux**: Unsupported",
514
519
  "anyOf": [
515
520
  {
516
521
  "$ref": "#/definitions/WindowEffectsConfig"
@@ -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",
@@ -867,7 +893,7 @@
867
893
  "minItems": 4
868
894
  },
869
895
  "BundleConfig": {
870
- "description": "Configuration for tauri-bundler.\n\nSee more: https://tauri.app/v1/api/config#bundleconfig",
896
+ "description": "Configuration for tauri-bundler.\n\nSee more: <https://tauri.app/v1/api/config#bundleconfig>",
871
897
  "type": "object",
872
898
  "required": [
873
899
  "identifier"
@@ -1229,7 +1255,7 @@
1229
1255
  ]
1230
1256
  },
1231
1257
  "AppImageConfig": {
1232
- "description": "Configuration for AppImage bundles.\n\nSee more: https://tauri.app/v1/api/config#appimageconfig",
1258
+ "description": "Configuration for AppImage bundles.\n\nSee more: <https://tauri.app/v1/api/config#appimageconfig>",
1233
1259
  "type": "object",
1234
1260
  "properties": {
1235
1261
  "bundleMediaFramework": {
@@ -1241,7 +1267,7 @@
1241
1267
  "additionalProperties": false
1242
1268
  },
1243
1269
  "DebConfig": {
1244
- "description": "Configuration for Debian (.deb) bundles.\n\nSee more: https://tauri.app/v1/api/config#debconfig",
1270
+ "description": "Configuration for Debian (.deb) bundles.\n\nSee more: <https://tauri.app/v1/api/config#debconfig>",
1245
1271
  "type": "object",
1246
1272
  "properties": {
1247
1273
  "depends": {
@@ -1273,7 +1299,7 @@
1273
1299
  "additionalProperties": false
1274
1300
  },
1275
1301
  "MacConfig": {
1276
- "description": "Configuration for the macOS bundles.\n\nSee more: https://tauri.app/v1/api/config#macconfig",
1302
+ "description": "Configuration for the macOS bundles.\n\nSee more: <https://tauri.app/v1/api/config#macconfig>",
1277
1303
  "type": "object",
1278
1304
  "properties": {
1279
1305
  "frameworks": {
@@ -1333,7 +1359,7 @@
1333
1359
  "additionalProperties": false
1334
1360
  },
1335
1361
  "WindowsConfig": {
1336
- "description": "Windows bundler configuration.\n\nSee more: https://tauri.app/v1/api/config#windowsconfig",
1362
+ "description": "Windows bundler configuration.\n\nSee more: <https://tauri.app/v1/api/config#windowsconfig>",
1337
1363
  "type": "object",
1338
1364
  "properties": {
1339
1365
  "digestAlgorithm": {
@@ -1517,7 +1543,7 @@
1517
1543
  ]
1518
1544
  },
1519
1545
  "WixConfig": {
1520
- "description": "Configuration for the MSI bundle using WiX.\n\nSee more: https://tauri.app/v1/api/config#wixconfig",
1546
+ "description": "Configuration for the MSI bundle using WiX.\n\nSee more: <https://tauri.app/v1/api/config#wixconfig>",
1521
1547
  "type": "object",
1522
1548
  "properties": {
1523
1549
  "language": {
@@ -1642,7 +1668,7 @@
1642
1668
  ]
1643
1669
  },
1644
1670
  "WixLanguageConfig": {
1645
- "description": "Configuration for a target language for the WiX build.\n\nSee more: https://tauri.app/v1/api/config#wixlanguageconfig",
1671
+ "description": "Configuration for a target language for the WiX build.\n\nSee more: <https://tauri.app/v1/api/config#wixlanguageconfig>",
1646
1672
  "type": "object",
1647
1673
  "properties": {
1648
1674
  "localePath": {
@@ -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 `TAURI_APPLE_DEVELOPMENT_TEAM` environment variable can be set to overwrite it.",
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"
@@ -1786,7 +1812,7 @@
1786
1812
  "additionalProperties": false
1787
1813
  },
1788
1814
  "UpdaterConfig": {
1789
- "description": "The Updater configuration object.\n\nSee more: https://tauri.app/v1/api/config#updaterconfig",
1815
+ "description": "The Updater configuration object.\n\nSee more: <https://tauri.app/v1/api/config#updaterconfig>",
1790
1816
  "type": "object",
1791
1817
  "properties": {
1792
1818
  "active": {
@@ -1814,7 +1840,7 @@
1814
1840
  "additionalProperties": false
1815
1841
  },
1816
1842
  "UpdaterWindowsConfig": {
1817
- "description": "The updater configuration for Windows.\n\nSee more: https://tauri.app/v1/api/config#updaterwindowsconfig",
1843
+ "description": "The updater configuration for Windows.\n\nSee more: <https://tauri.app/v1/api/config#updaterwindowsconfig>",
1818
1844
  "type": "object",
1819
1845
  "properties": {
1820
1846
  "installMode": {
@@ -1856,7 +1882,7 @@
1856
1882
  ]
1857
1883
  },
1858
1884
  "SecurityConfig": {
1859
- "description": "Security configuration.\n\nSee more: https://tauri.app/v1/api/config#securityconfig",
1885
+ "description": "Security configuration.\n\nSee more: <https://tauri.app/v1/api/config#securityconfig>",
1860
1886
  "type": "object",
1861
1887
  "properties": {
1862
1888
  "csp": {
@@ -2004,7 +2030,7 @@
2004
2030
  "additionalProperties": false
2005
2031
  },
2006
2032
  "AssetProtocolConfig": {
2007
- "description": "Config for the asset custom protocol.\n\nSee more: https://tauri.app/v1/api/config#assetprotocolconfig",
2033
+ "description": "Config for the asset custom protocol.\n\nSee more: <https://tauri.app/v1/api/config#assetprotocolconfig>",
2008
2034
  "type": "object",
2009
2035
  "properties": {
2010
2036
  "scope": {
@@ -2066,12 +2092,19 @@
2066
2092
  ]
2067
2093
  },
2068
2094
  "TrayIconConfig": {
2069
- "description": "Configuration for application tray icon.\n\nSee more: https://tauri.app/v1/api/config#trayiconconfig",
2095
+ "description": "Configuration for application tray icon.\n\nSee more: <https://tauri.app/v1/api/config#trayiconconfig>",
2070
2096
  "type": "object",
2071
2097
  "required": [
2072
2098
  "iconPath"
2073
2099
  ],
2074
2100
  "properties": {
2101
+ "id": {
2102
+ "description": "Set an id for this tray icon so you can reference it later, defaults to `main`.",
2103
+ "type": [
2104
+ "string",
2105
+ "null"
2106
+ ]
2107
+ },
2075
2108
  "iconPath": {
2076
2109
  "description": "Path to the default icon to use for the tray icon.",
2077
2110
  "type": "string"
@@ -2104,7 +2137,7 @@
2104
2137
  "additionalProperties": false
2105
2138
  },
2106
2139
  "BuildConfig": {
2107
- "description": "The Build configuration object.\n\nSee more: https://tauri.app/v1/api/config#buildconfig",
2140
+ "description": "The Build configuration object.\n\nSee more: <https://tauri.app/v1/api/config#buildconfig>",
2108
2141
  "type": "object",
2109
2142
  "properties": {
2110
2143
  "runner": {
@@ -2133,7 +2166,7 @@
2133
2166
  ]
2134
2167
  },
2135
2168
  "beforeDevCommand": {
2136
- "description": "A shell command to run before `tauri dev` kicks in.\n\nThe TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation.",
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.",
2137
2170
  "anyOf": [
2138
2171
  {
2139
2172
  "$ref": "#/definitions/BeforeDevCommand"
@@ -2144,7 +2177,7 @@
2144
2177
  ]
2145
2178
  },
2146
2179
  "beforeBuildCommand": {
2147
- "description": "A shell command to run before `tauri build` kicks in.\n\nThe TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation.",
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.",
2148
2181
  "anyOf": [
2149
2182
  {
2150
2183
  "$ref": "#/definitions/HookCommand"
@@ -2155,7 +2188,7 @@
2155
2188
  ]
2156
2189
  },
2157
2190
  "beforeBundleCommand": {
2158
- "description": "A shell command to run before the bundling phase in `tauri build` kicks in.\n\nThe TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation.",
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.",
2159
2192
  "anyOf": [
2160
2193
  {
2161
2194
  "$ref": "#/definitions/HookCommand"
@@ -2267,7 +2300,7 @@
2267
2300
  ]
2268
2301
  },
2269
2302
  "PluginConfig": {
2270
- "description": "The plugin configs holds a HashMap mapping a plugin name to its configuration object.\n\nSee more: https://tauri.app/v1/api/config#pluginconfig",
2303
+ "description": "The plugin configs holds a HashMap mapping a plugin name to its configuration object.\n\nSee more: <https://tauri.app/v1/api/config#pluginconfig>",
2271
2304
  "type": "object",
2272
2305
  "additionalProperties": true
2273
2306
  }