@tauri-apps/cli 1.6.0 → 1.6.2

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
+ ## \[1.6.2]
4
+
5
+ ### Dependencies
6
+
7
+ - Upgraded to `tauri-cli@1.6.2`
8
+
9
+ ## \[1.6.1]
10
+
11
+ ### New Features
12
+
13
+ - [`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.
14
+
15
+ ### Bug Fixes
16
+
17
+ - [`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`
18
+
19
+ ### Dependencies
20
+
21
+ - Upgraded to `tauri-cli@1.6.1`
22
+
3
23
  ## \[1.6.0]
4
24
 
5
25
  ### 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/index.d.ts CHANGED
@@ -3,5 +3,5 @@
3
3
 
4
4
  /* auto-generated by NAPI-RS */
5
5
 
6
- export function run(args: Array<string>, binName: string | undefined | null, callback: (...args: any[]) => any): void
7
- export function logError(error: string): void
6
+ export declare function run(args: Array<string>, binName: string | undefined | null, callback: (...args: any[]) => any): void
7
+ export declare function logError(error: string): void
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.2",
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.2",
73
+ "@tauri-apps/cli-darwin-x64": "1.6.2",
74
+ "@tauri-apps/cli-linux-x64-gnu": "1.6.2",
75
+ "@tauri-apps/cli-darwin-arm64": "1.6.2",
76
+ "@tauri-apps/cli-linux-arm64-gnu": "1.6.2",
77
+ "@tauri-apps/cli-linux-arm64-musl": "1.6.2",
78
+ "@tauri-apps/cli-linux-arm-gnueabihf": "1.6.2",
79
+ "@tauri-apps/cli-linux-x64-musl": "1.6.2",
80
+ "@tauri-apps/cli-win32-ia32-msvc": "1.6.2",
81
+ "@tauri-apps/cli-win32-arm64-msvc": "1.6.2"
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": {
@@ -821,7 +823,7 @@
821
823
  ]
822
824
  },
823
825
  {
824
- "description": "Shows the title bar as a transparent overlay over the window's content.\n\nKeep in mind: - The height of the title bar is different on different OS versions, which can lead to window the controls and title not being where you don't expect. - You need to define a custom drag region to make your window draggable, however due to a limitation you can't drag the window when it's not in focus <https://github.com/tauri-apps/tauri/issues/4316>. - The color of the window title depends on the system theme.",
826
+ "description": "Shows the title bar as a transparent overlay over the window's content.\n\nKeep in mind: - The height of the title bar is different on different OS versions, which can lead to the window controls and title not being where you expect them to be. - You need to define a custom drag region to make your window draggable, however due to a limitation you can't drag the window when it's not in focus <https://github.com/tauri-apps/tauri/issues/4316>. - The color of the window title depends on the system theme.",
825
827
  "type": "string",
826
828
  "enum": [
827
829
  "Overlay"
@@ -1097,7 +1099,7 @@
1097
1099
  ]
1098
1100
  },
1099
1101
  "identifier": {
1100
- "description": "The application identifier in reverse domain name notation (e.g. `com.tauri.example`). This string must be unique across applications since it is used in system configurations like the bundle ID and path to the webview data directory. This string must contain only alphanumeric characters (AZ, az, and 09), hyphens (-), and periods (.).",
1102
+ "description": "The application identifier in reverse domain name notation (e.g. `com.tauri.example`). This string must be unique across applications since it is used in system configurations like the bundle ID and path to the webview data directory. This string must contain only alphanumeric characters (A-Z, a-z, and 0-9), hyphens (-), and periods (.).",
1101
1103
  "type": "string"
1102
1104
  },
1103
1105
  "publisher": {
@@ -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": [
@@ -1506,7 +1509,7 @@
1506
1509
  }
1507
1510
  },
1508
1511
  "obsoletes": {
1509
- "description": "The list of RPM dependencies your application supersedes - if this package is installed, packages listed as obsoletes will be automatically removed (if they are present).",
1512
+ "description": "The list of RPM dependencies your application supersedes - if this package is installed, packages listed as \"obsoletes\" will be automatically removed (if they are present).",
1510
1513
  "type": [
1511
1514
  "array",
1512
1515
  "null"
@@ -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": [