@tauri-apps/cli 1.6.0 → 1.6.1

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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## \[1.6.1]
4
+
5
+ ### New Features
6
+
7
+ - [`0aa0378c8`](https://www.github.com/tauri-apps/tauri/commit/0aa0378c8d632ce186ddd5df8b4bddd8853ceeaf) ([#10199](https://www.github.com/tauri-apps/tauri/pull/10199) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Added a configuration option to disable hardened runtime on macOS codesign.
8
+
9
+ ### Bug Fixes
10
+
11
+ - [`212001c1d`](https://www.github.com/tauri-apps/tauri/commit/212001c1dfda1497c870eb91087cfb190f433e57) ([#10233](https://www.github.com/tauri-apps/tauri/pull/10233) by [@github-actions](https://www.github.com/tauri-apps/tauri/../../github-actions)) Fix cli failing to rename application when using cargo `--target-dir` flag with `tauri build` or `tauri dev`
12
+
13
+ ### Dependencies
14
+
15
+ - Upgraded to `tauri-cli@1.6.1`
16
+
3
17
  ## \[1.6.0]
4
18
 
5
19
  ### New Features
package/audit-ci.jsonc ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ // $schema provides code completion hints to IDEs.
3
+ "$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
4
+ "moderate": true,
5
+ "allowlist": ["GHSA-952p-6rrq-rcjv"]
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "funding": {
6
6
  "type": "opencollective",
@@ -47,7 +47,8 @@
47
47
  "prettier": "2.8.8"
48
48
  },
49
49
  "resolutions": {
50
- "semver": ">=7.5.2"
50
+ "semver": ">=7.5.2",
51
+ "braces": "3.0.3"
51
52
  },
52
53
  "engines": {
53
54
  "node": ">= 10"
@@ -68,15 +69,15 @@
68
69
  "format:check": "prettier --check ./package.json ./tauri.js"
69
70
  },
70
71
  "optionalDependencies": {
71
- "@tauri-apps/cli-win32-x64-msvc": "1.6.0",
72
- "@tauri-apps/cli-darwin-x64": "1.6.0",
73
- "@tauri-apps/cli-linux-x64-gnu": "1.6.0",
74
- "@tauri-apps/cli-darwin-arm64": "1.6.0",
75
- "@tauri-apps/cli-linux-arm64-gnu": "1.6.0",
76
- "@tauri-apps/cli-linux-arm64-musl": "1.6.0",
77
- "@tauri-apps/cli-linux-arm-gnueabihf": "1.6.0",
78
- "@tauri-apps/cli-linux-x64-musl": "1.6.0",
79
- "@tauri-apps/cli-win32-ia32-msvc": "1.6.0",
80
- "@tauri-apps/cli-win32-arm64-msvc": "1.6.0"
72
+ "@tauri-apps/cli-win32-x64-msvc": "1.6.1",
73
+ "@tauri-apps/cli-darwin-x64": "1.6.1",
74
+ "@tauri-apps/cli-linux-x64-gnu": "1.6.1",
75
+ "@tauri-apps/cli-darwin-arm64": "1.6.1",
76
+ "@tauri-apps/cli-linux-arm64-gnu": "1.6.1",
77
+ "@tauri-apps/cli-linux-arm64-musl": "1.6.1",
78
+ "@tauri-apps/cli-linux-arm-gnueabihf": "1.6.1",
79
+ "@tauri-apps/cli-linux-x64-musl": "1.6.1",
80
+ "@tauri-apps/cli-win32-ia32-msvc": "1.6.1",
81
+ "@tauri-apps/cli-win32-arm64-msvc": "1.6.1"
81
82
  }
82
83
  }
package/schema.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "title": "Config",
4
- "description": "The Tauri configuration object. It is read from a file where you can define your frontend assets, configure the bundler, enable the app updater, define a system tray, enable APIs via the allowlist and more.\n\nThe configuration file is generated by the [`tauri init`](https://tauri.app/v1/api/cli#init) command that lives in your Tauri application source directory (src-tauri).\n\nOnce generated, you may modify it at will to customize your Tauri application.\n\n## File Formats\n\nBy default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\nTauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively. The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`. The TOML file name is `Tauri.toml`.\n\n## Platform-Specific Configuration\n\nIn addition to the default configuration file, Tauri can read a platform-specific configuration from `tauri.linux.conf.json`, `tauri.windows.conf.json`, and `tauri.macos.conf.json` (or `Tauri.linux.toml`, `Tauri.windows.toml` and `Tauri.macos.toml` if the `Tauri.toml` format is used), which gets merged with the main configuration object.\n\n## Configuration Structure\n\nThe configuration is composed of the following objects:\n\n- [`package`](#packageconfig): Package settings - [`tauri`](#tauriconfig): The Tauri config - [`build`](#buildconfig): The build configuration - [`plugins`](#pluginconfig): The plugins config\n\n```json title=\"Example tauri.config.json file\" { \"build\": { \"beforeBuildCommand\": \"\", \"beforeDevCommand\": \"\", \"devPath\": \"../dist\", \"distDir\": \"../dist\" }, \"package\": { \"productName\": \"tauri-app\", \"version\": \"0.1.0\" }, \"tauri\": { \"allowlist\": { \"all\": true }, \"bundle\": {}, \"security\": { \"csp\": null }, \"updater\": { \"active\": false }, \"windows\": [ { \"fullscreen\": false, \"height\": 600, \"resizable\": true, \"title\": \"Tauri App\", \"width\": 800 } ] } } ```",
4
+ "description": "The Tauri configuration object. It is read from a file where you can define your frontend assets, configure the bundler, enable the app updater, define a system tray, enable APIs via the allowlist and more.\n\nThe configuration file is generated by the [`tauri init`](https://tauri.app/v1/api/cli#init) command that lives in your Tauri application source directory (src-tauri).\n\nOnce generated, you may modify it at will to customize your Tauri application.\n\n## File Formats\n\nBy default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\nTauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively. The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`. The TOML file name is `Tauri.toml`.\n\n## Platform-Specific Configuration\n\nIn addition to the default configuration file, Tauri can read a platform-specific configuration from `tauri.linux.conf.json`, `tauri.windows.conf.json`, and `tauri.macos.conf.json` (or `Tauri.linux.toml`, `Tauri.windows.toml` and `Tauri.macos.toml` if the `Tauri.toml` format is used), which gets merged with the main configuration object.\n\n## Configuration Structure\n\nThe configuration is composed of the following objects:\n\n- [`package`](#packageconfig): Package settings - [`tauri`](#tauriconfig): The Tauri config - [`build`](#buildconfig): The build configuration - [`plugins`](#pluginconfig): The plugins config\n\nExample tauri.config.json file:\n\n```json { \"build\": { \"beforeBuildCommand\": \"\", \"beforeDevCommand\": \"\", \"devPath\": \"../dist\", \"distDir\": \"../dist\" }, \"package\": { \"productName\": \"tauri-app\", \"version\": \"0.1.0\" }, \"tauri\": { \"allowlist\": { \"all\": true }, \"bundle\": {}, \"security\": { \"csp\": null }, \"updater\": { \"active\": false }, \"windows\": [ { \"fullscreen\": false, \"height\": 600, \"resizable\": true, \"title\": \"Tauri App\", \"width\": 800 } ] } } ```",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "$schema": {
@@ -156,6 +156,7 @@
156
156
  "icon": [],
157
157
  "identifier": "",
158
158
  "macOS": {
159
+ "hardenedRuntime": true,
159
160
  "minimumSystemVersion": "10.13"
160
161
  },
161
162
  "rpm": {
@@ -316,6 +317,7 @@
316
317
  "icon": [],
317
318
  "identifier": "",
318
319
  "macOS": {
320
+ "hardenedRuntime": true,
319
321
  "minimumSystemVersion": "10.13"
320
322
  },
321
323
  "rpm": {
@@ -1219,6 +1221,7 @@
1219
1221
  "macOS": {
1220
1222
  "description": "Configuration for the macOS bundles.",
1221
1223
  "default": {
1224
+ "hardenedRuntime": true,
1222
1225
  "minimumSystemVersion": "10.13"
1223
1226
  },
1224
1227
  "allOf": [
@@ -1695,6 +1698,11 @@
1695
1698
  "null"
1696
1699
  ]
1697
1700
  },
1701
+ "hardenedRuntime": {
1702
+ "description": "Whether the codesign should enable [hardened runtime] (for executables) or not.\n\n[hardened runtime]: <https://developer.apple.com/documentation/security/hardened_runtime>",
1703
+ "default": true,
1704
+ "type": "boolean"
1705
+ },
1698
1706
  "providerShortName": {
1699
1707
  "description": "Provider short name for notarization.",
1700
1708
  "type": [