@tauri-apps/cli 1.2.1 → 2.0.0-alpha.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 +24 -0
- package/package.json +13 -13
- package/schema.json +26 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## \[2.0.0-alpha.0]
|
|
4
|
+
|
|
5
|
+
- Added `android build` command.
|
|
6
|
+
- [4c9ea450](https://www.github.com/tauri-apps/tauri/commit/4c9ea450c3b47c6b8c825ba32e9837909945ccd7) feat(cli): add `android build` command ([#4999](https://www.github.com/tauri-apps/tauri/pull/4999)) on 2022-08-22
|
|
7
|
+
- Added `ios build` command.
|
|
8
|
+
- [403859d4](https://www.github.com/tauri-apps/tauri/commit/403859d47e1a9bf978b353fa58e4b971e66337a3) feat(cli): add `ios build` command ([#5002](https://www.github.com/tauri-apps/tauri/pull/5002)) on 2022-08-22
|
|
9
|
+
- Added `android dev` and `ios dev` commands.
|
|
10
|
+
- [6f061504](https://www.github.com/tauri-apps/tauri/commit/6f0615044d09ec58393a7ebca5e45bb175e20db3) feat(cli): add `android dev` and `ios dev` commands ([#4982](https://www.github.com/tauri-apps/tauri/pull/4982)) on 2022-08-20
|
|
11
|
+
- Added `android init` and `ios init` commands.
|
|
12
|
+
- [d44f67f7](https://www.github.com/tauri-apps/tauri/commit/d44f67f7afd30a81d53a973ec603b2a253150bde) feat: add `android init` and `ios init` commands ([#4942](https://www.github.com/tauri-apps/tauri/pull/4942)) on 2022-08-15
|
|
13
|
+
- Added `android open` and `ios open` commands.
|
|
14
|
+
- [a9c8e565](https://www.github.com/tauri-apps/tauri/commit/a9c8e565c6495961940877df7090f307be16b554) feat: add `android open` and `ios open` commands ([#4946](https://www.github.com/tauri-apps/tauri/pull/4946)) on 2022-08-15
|
|
15
|
+
- First mobile alpha release!
|
|
16
|
+
- [fa3a1098](https://www.github.com/tauri-apps/tauri/commit/fa3a10988a03aed1b66fb17d893b1a9adb90f7cd) feat(ci): prepare 2.0.0-alpha.0 ([#5786](https://www.github.com/tauri-apps/tauri/pull/5786)) on 2022-12-08
|
|
17
|
+
|
|
18
|
+
## \[1.2.2]
|
|
19
|
+
|
|
20
|
+
- Detect SvelteKit and Vite for the init and info commands.
|
|
21
|
+
- [9d872ab8](https://www.github.com/tauri-apps/tauri/commit/9d872ab8728b1b121909af434adcd5936e5afb7d) feat(cli): detect SvelteKit and Vite ([#5742](https://www.github.com/tauri-apps/tauri/pull/5742)) on 2022-12-02
|
|
22
|
+
- Detect SolidJS and SolidStart for the init and info commands.
|
|
23
|
+
- [9e7ce0a8](https://www.github.com/tauri-apps/tauri/commit/9e7ce0a8eef4bf3536645976e3e09162fbf772ab) feat(cli): detect SolidJS and SolidStart ([#5758](https://www.github.com/tauri-apps/tauri/pull/5758)) on 2022-12-08
|
|
24
|
+
- Use older icon types to work around a macOS bug resulting in corrupted 16x16px and 32x32px icons in bundled apps.
|
|
25
|
+
- [2d545eff](https://www.github.com/tauri-apps/tauri/commit/2d545eff58734ec70f23f11a429d35435cdf090e) fix(cli): corrupted icons in bundled macOS icons ([#5698](https://www.github.com/tauri-apps/tauri/pull/5698)) on 2022-11-28
|
|
26
|
+
|
|
3
27
|
## \[1.2.1]
|
|
4
28
|
|
|
5
29
|
- Fixes injection of Cargo features defined in the configuration file.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tauri-apps/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.0",
|
|
4
4
|
"description": "Command line interface for building Tauri apps",
|
|
5
5
|
"funding": {
|
|
6
6
|
"type": "opencollective",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@napi-rs/cli": "2.
|
|
40
|
+
"@napi-rs/cli": "2.13.0",
|
|
41
41
|
"cross-env": "7.0.3",
|
|
42
42
|
"cross-spawn": "7.0.3",
|
|
43
|
-
"fs-extra": "
|
|
43
|
+
"fs-extra": "11.1.0",
|
|
44
44
|
"jest": "29.3.1",
|
|
45
45
|
"jest-transform-toml": "1.0.0",
|
|
46
|
-
"prettier": "2.
|
|
46
|
+
"prettier": "2.8.1"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": ">= 10"
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"format:check": "prettier --check ./package.json ./tauri.js"
|
|
65
65
|
},
|
|
66
66
|
"optionalDependencies": {
|
|
67
|
-
"@tauri-apps/cli-win32-x64-msvc": "
|
|
68
|
-
"@tauri-apps/cli-darwin-x64": "
|
|
69
|
-
"@tauri-apps/cli-linux-x64-gnu": "
|
|
70
|
-
"@tauri-apps/cli-darwin-arm64": "
|
|
71
|
-
"@tauri-apps/cli-linux-arm64-gnu": "
|
|
72
|
-
"@tauri-apps/cli-linux-arm64-musl": "
|
|
73
|
-
"@tauri-apps/cli-linux-arm-gnueabihf": "
|
|
74
|
-
"@tauri-apps/cli-linux-x64-musl": "
|
|
75
|
-
"@tauri-apps/cli-win32-ia32-msvc": "
|
|
67
|
+
"@tauri-apps/cli-win32-x64-msvc": "2.0.0-alpha.0",
|
|
68
|
+
"@tauri-apps/cli-darwin-x64": "2.0.0-alpha.0",
|
|
69
|
+
"@tauri-apps/cli-linux-x64-gnu": "2.0.0-alpha.0",
|
|
70
|
+
"@tauri-apps/cli-darwin-arm64": "2.0.0-alpha.0",
|
|
71
|
+
"@tauri-apps/cli-linux-arm64-gnu": "2.0.0-alpha.0",
|
|
72
|
+
"@tauri-apps/cli-linux-arm64-musl": "2.0.0-alpha.0",
|
|
73
|
+
"@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-alpha.0",
|
|
74
|
+
"@tauri-apps/cli-linux-x64-musl": "2.0.0-alpha.0",
|
|
75
|
+
"@tauri-apps/cli-win32-ia32-msvc": "2.0.0-alpha.0"
|
|
76
76
|
}
|
|
77
77
|
}
|
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.
|
|
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`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json` (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.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 } ] } } ```",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"$schema": {
|
|
@@ -135,6 +135,7 @@
|
|
|
135
135
|
"deb": {
|
|
136
136
|
"files": {}
|
|
137
137
|
},
|
|
138
|
+
"iOS": {},
|
|
138
139
|
"icon": [],
|
|
139
140
|
"identifier": "",
|
|
140
141
|
"macOS": {
|
|
@@ -271,6 +272,7 @@
|
|
|
271
272
|
"deb": {
|
|
272
273
|
"files": {}
|
|
273
274
|
},
|
|
275
|
+
"iOS": {},
|
|
274
276
|
"icon": [],
|
|
275
277
|
"identifier": "",
|
|
276
278
|
"macOS": {
|
|
@@ -1132,6 +1134,15 @@
|
|
|
1132
1134
|
"$ref": "#/definitions/WindowsConfig"
|
|
1133
1135
|
}
|
|
1134
1136
|
]
|
|
1137
|
+
},
|
|
1138
|
+
"iOS": {
|
|
1139
|
+
"description": "iOS configuration.",
|
|
1140
|
+
"default": {},
|
|
1141
|
+
"allOf": [
|
|
1142
|
+
{
|
|
1143
|
+
"$ref": "#/definitions/IosConfig"
|
|
1144
|
+
}
|
|
1145
|
+
]
|
|
1135
1146
|
}
|
|
1136
1147
|
},
|
|
1137
1148
|
"additionalProperties": false
|
|
@@ -1618,6 +1629,20 @@
|
|
|
1618
1629
|
},
|
|
1619
1630
|
"additionalProperties": false
|
|
1620
1631
|
},
|
|
1632
|
+
"IosConfig": {
|
|
1633
|
+
"description": "General configuration for the iOS target.",
|
|
1634
|
+
"type": "object",
|
|
1635
|
+
"properties": {
|
|
1636
|
+
"developmentTeam": {
|
|
1637
|
+
"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.",
|
|
1638
|
+
"type": [
|
|
1639
|
+
"string",
|
|
1640
|
+
"null"
|
|
1641
|
+
]
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
"additionalProperties": false
|
|
1645
|
+
},
|
|
1621
1646
|
"AllowlistConfig": {
|
|
1622
1647
|
"description": "Allowlist configuration.",
|
|
1623
1648
|
"type": "object",
|