@tauri-apps/cli 2.1.0 → 2.2.0

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,25 @@
1
1
  # Changelog
2
2
 
3
+ ## \[2.2.0]
4
+
5
+ ### New Features
6
+
7
+ - [`cccb308c7`](https://www.github.com/tauri-apps/tauri/commit/cccb308c7b559b0838138d6cea280665f060c925) ([#11562](https://www.github.com/tauri-apps/tauri/pull/11562) by [@jLynx](https://www.github.com/tauri-apps/tauri/../../jLynx)) Generate signature for `.deb` packages when `createUpdaterArtifacts` option is enabled.
8
+ - [`74212d40d`](https://www.github.com/tauri-apps/tauri/commit/74212d40d80dba4501b3d4ae30104fa3d447bdf9) ([#11653](https://www.github.com/tauri-apps/tauri/pull/11653) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Include Linux destkop environment and session type in `tauri info` command.
9
+
10
+ ### Enhancements
11
+
12
+ - [`93a3a043d`](https://www.github.com/tauri-apps/tauri/commit/93a3a043d39cc96515d51d98beeb14261d3a246b) ([#11727](https://www.github.com/tauri-apps/tauri/pull/11727) by [@Kiyozz](https://www.github.com/tauri-apps/tauri/../../Kiyozz)) Add support for `Portuguese` language for NSIS windows installer.
13
+
14
+ ### Bug Fixes
15
+
16
+ - [`c8700656b`](https://www.github.com/tauri-apps/tauri/commit/c8700656be3001a0cc6e087f23aebd482430a85b) ([#11985](https://www.github.com/tauri-apps/tauri/pull/11985) by [@ShaunSHamilton](https://www.github.com/tauri-apps/tauri/../../ShaunSHamilton)) Fix `tauri remove` from removing object type (`{}`) permissions.
17
+ - [`0ae06c5ca`](https://www.github.com/tauri-apps/tauri/commit/0ae06c5ca89cecd24154affdc69668f5e1e67d85) ([#11914](https://www.github.com/tauri-apps/tauri/pull/11914) by [@wtto00](https://www.github.com/tauri-apps/tauri/../../wtto00)) Fix the exclude path in file `Cargo.toml` of plugin template generated by cli. Path changed in [#9346](https://github.com/tauri-apps/tauri/pull/9346)
18
+
19
+ ### Dependencies
20
+
21
+ - Upgraded to `tauri-cli@2.2.0`
22
+
3
23
  ## \[2.1.0]
4
24
 
5
25
  ### New Features
@@ -71,7 +71,7 @@ describe('[CLI] @tauri-apps/cli template', () => {
71
71
  const config = readFileSync(configPath).toString()
72
72
  writeFileSync(configPath, config.replace('com.tauri.dev', 'com.tauri.test'))
73
73
 
74
- await cli.run(['build'])
74
+ await cli.run(['build', '-vvv'])
75
75
  process.chdir(cwd)
76
76
  })
77
77
  })
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://schema.tauri.app/config/2.1.0",
3
+ "$id": "https://schema.tauri.app/config/2.2.0",
4
4
  "title": "Config",
5
5
  "description": "The Tauri configuration object.\n It is read from a file where you can define your frontend assets,\n configure the bundler and define a tray icon.\n\n The configuration file is generated by the\n [`tauri init`](https://v2.tauri.app/reference/cli/#init) command that lives in\n your Tauri application source directory (src-tauri).\n\n Once generated, you may modify it at will to customize your Tauri application.\n\n ## File Formats\n\n By default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\n Tauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively.\n The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`.\n The TOML file name is `Tauri.toml`.\n\n ## Platform-Specific Configuration\n\n In addition to the default configuration file, Tauri can\n read a platform-specific configuration from `tauri.linux.conf.json`,\n `tauri.windows.conf.json`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json`\n (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.toml` if the `Tauri.toml` format is used),\n which gets merged with the main configuration object.\n\n ## Configuration Structure\n\n The configuration is composed of the following objects:\n\n - [`app`](#appconfig): The Tauri configuration\n - [`build`](#buildconfig): The build configuration\n - [`bundle`](#bundleconfig): The bundle configurations\n - [`plugins`](#pluginconfig): The plugins configuration\n\n Example tauri.config.json file:\n\n ```json\n {\n \"productName\": \"tauri-app\",\n \"version\": \"0.1.0\",\n \"build\": {\n \"beforeBuildCommand\": \"\",\n \"beforeDevCommand\": \"\",\n \"devUrl\": \"../dist\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```",
6
6
  "type": "object",
@@ -1624,7 +1624,13 @@
1624
1624
  "type": "boolean"
1625
1625
  },
1626
1626
  "menuOnLeftClick": {
1627
- "description": "A Boolean value that determines whether the menu should appear when the tray icon receives a left click on macOS.",
1627
+ "description": "A Boolean value that determines whether the menu should appear when the tray icon receives a left click.\n\n ## Platform-specific:\n\n - **Linux**: Unsupported.",
1628
+ "default": true,
1629
+ "deprecated": true,
1630
+ "type": "boolean"
1631
+ },
1632
+ "showMenuOnLeftClick": {
1633
+ "description": "A Boolean value that determines whether the menu should appear when the tray icon receives a left click.\n\n ## Platform-specific:\n\n - **Linux**: Unsupported.",
1628
1634
  "default": true,
1629
1635
  "type": "boolean"
1630
1636
  },
@@ -2529,7 +2535,7 @@
2529
2535
  ]
2530
2536
  },
2531
2537
  "dialogImagePath": {
2532
- "description": "Path to a bitmap file to use on the installation user interface dialogs.\n It is used on the welcome and completion dialogs.\n The required dimensions are 493px × 312px.",
2538
+ "description": "Path to a bitmap file to use on the installation user interface dialogs.\n It is used on the welcome and completion dialogs.\n\n The required dimensions are 493px × 312px.",
2533
2539
  "type": [
2534
2540
  "string",
2535
2541
  "null"
@@ -3415,7 +3421,7 @@
3415
3421
  "additionalProperties": false
3416
3422
  },
3417
3423
  "AndroidConfig": {
3418
- "description": "General configuration for the iOS target.",
3424
+ "description": "General configuration for the Android target.",
3419
3425
  "type": "object",
3420
3426
  "properties": {
3421
3427
  "minSdkVersion": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "funding": {
6
6
  "type": "opencollective",
@@ -38,10 +38,10 @@
38
38
  }
39
39
  },
40
40
  "devDependencies": {
41
- "@napi-rs/cli": "2.18.3",
42
- "@types/node": "20.16.1",
41
+ "@napi-rs/cli": "2.18.4",
42
+ "@types/node": "^22.10.1",
43
43
  "cross-env": "7.0.3",
44
- "vitest": "^2.1.1"
44
+ "vitest": "^2.1.8"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">= 10"
@@ -62,15 +62,15 @@
62
62
  "tauri": "node ./tauri.js"
63
63
  },
64
64
  "optionalDependencies": {
65
- "@tauri-apps/cli-win32-x64-msvc": "2.1.0",
66
- "@tauri-apps/cli-darwin-x64": "2.1.0",
67
- "@tauri-apps/cli-linux-x64-gnu": "2.1.0",
68
- "@tauri-apps/cli-darwin-arm64": "2.1.0",
69
- "@tauri-apps/cli-linux-arm64-gnu": "2.1.0",
70
- "@tauri-apps/cli-linux-arm64-musl": "2.1.0",
71
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.1.0",
72
- "@tauri-apps/cli-linux-x64-musl": "2.1.0",
73
- "@tauri-apps/cli-win32-ia32-msvc": "2.1.0",
74
- "@tauri-apps/cli-win32-arm64-msvc": "2.1.0"
65
+ "@tauri-apps/cli-win32-x64-msvc": "2.2.0",
66
+ "@tauri-apps/cli-darwin-x64": "2.2.0",
67
+ "@tauri-apps/cli-linux-x64-gnu": "2.2.0",
68
+ "@tauri-apps/cli-darwin-arm64": "2.2.0",
69
+ "@tauri-apps/cli-linux-arm64-gnu": "2.2.0",
70
+ "@tauri-apps/cli-linux-arm64-musl": "2.2.0",
71
+ "@tauri-apps/cli-linux-arm-gnueabihf": "2.2.0",
72
+ "@tauri-apps/cli-linux-x64-musl": "2.2.0",
73
+ "@tauri-apps/cli-win32-ia32-msvc": "2.2.0",
74
+ "@tauri-apps/cli-win32-arm64-msvc": "2.2.0"
75
75
  }
76
76
  }