@tauri-apps/cli 1.0.0-rc.11 → 1.0.0-rc.14

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,34 @@
1
1
  # Changelog
2
2
 
3
+ ## \[1.0.0-rc.14]
4
+
5
+ - Set the `TRAY_LIBRARY_PATH` environment variable to make the bundle copy the appindicator library to the AppImage.
6
+ - [34552444](https://www.github.com/tauri-apps/tauri/commit/3455244436578003a5fbb447b039e5c8971152ec) feat(cli): bundle appindicator library in the AppImage, closes [#3859](https://www.github.com/tauri-apps/tauri/pull/3859) ([#4267](https://www.github.com/tauri-apps/tauri/pull/4267)) on 2022-06-07
7
+ - Set the `APPIMAGE_BUNDLE_GSTREAMER` environment variable to make the bundler copy additional gstreamer files to the AppImage.
8
+ - [d335fae9](https://www.github.com/tauri-apps/tauri/commit/d335fae92cdcbb0ee18aad4e54558914afa3e778) feat(bundler): bundle additional gstreamer files, closes [#4092](https://www.github.com/tauri-apps/tauri/pull/4092) ([#4271](https://www.github.com/tauri-apps/tauri/pull/4271)) on 2022-06-10
9
+ - Configure the AppImage bundler to copy the `/usr/bin/xdg-open` binary if it exists and the shell `open` API is enabled.
10
+ - [2322ac11](https://www.github.com/tauri-apps/tauri/commit/2322ac11cf6290c6bf65413048a049c8072f863b) fix(bundler): bundle `/usr/bin/xdg-open` in appimage if open API enabled ([#4265](https://www.github.com/tauri-apps/tauri/pull/4265)) on 2022-06-04
11
+ - Fixes multiple occurrences handling of the `bundles` and `features` arguments.
12
+ - [f685df39](https://www.github.com/tauri-apps/tauri/commit/f685df399a5a05480b6e4f5d92da71f3b87895ef) fix(cli): parsing of arguments with multiple values, closes [#4231](https://www.github.com/tauri-apps/tauri/pull/4231) ([#4233](https://www.github.com/tauri-apps/tauri/pull/4233)) on 2022-05-29
13
+ - Log command output in real time instead of waiting for it to finish.
14
+ - [76d1eaae](https://www.github.com/tauri-apps/tauri/commit/76d1eaaebda5c8f6b0d41bf6587945e98cd441f3) feat(cli): debug command output in real time ([#4318](https://www.github.com/tauri-apps/tauri/pull/4318)) on 2022-06-12
15
+ - Configure the `STATIC_VCRUNTIME` environment variable so `tauri-build` statically links it on the build command.
16
+ - [d703d27a](https://www.github.com/tauri-apps/tauri/commit/d703d27a707edc028f13b35603205da1133fcc2b) fix(build): statically link VC runtime only on `tauri build` ([#4292](https://www.github.com/tauri-apps/tauri/pull/4292)) on 2022-06-07
17
+ - Use the `TAURI_TRAY` environment variable to determine which package should be added to the Debian `depends` section. Possible values are `ayatana` and `gtk`.
18
+ - [6216eb49](https://www.github.com/tauri-apps/tauri/commit/6216eb49e72863bfb6d4c9edb8827b21406ac393) refactor(core): drop `ayatana-tray` and `gtk-tray` Cargo features ([#4247](https://www.github.com/tauri-apps/tauri/pull/4247)) on 2022-06-02
19
+
20
+ ## \[1.0.0-rc.13]
21
+
22
+ - Check if `$CWD/src-tauri/tauri.conf.json` exists before walking through the file tree to find the tauri dir in case the whole project is gitignored.
23
+ - [bd8f3e29](https://www.github.com/tauri-apps/tauri/commit/bd8f3e298a0cb71809f2e93cc3ebc8e6e5b6a626) fix(cli): manual config lookup to handle gitignored folders, fixes [#3527](https://www.github.com/tauri-apps/tauri/pull/3527) ([#4224](https://www.github.com/tauri-apps/tauri/pull/4224)) on 2022-05-26
24
+ - Statically link the Visual C++ runtime instead of using a merge module on the installer.
25
+ - [bb061509](https://www.github.com/tauri-apps/tauri/commit/bb061509fb674bef86ecbc1de3aa8f3e367a9907) refactor(core): statically link vcruntime, closes [#4122](https://www.github.com/tauri-apps/tauri/pull/4122) ([#4227](https://www.github.com/tauri-apps/tauri/pull/4227)) on 2022-05-27
26
+
27
+ ## \[1.0.0-rc.12]
28
+
29
+ - Properly fetch the NPM dependency information when using Yarn 2+.
30
+ - [cdfa6255](https://www.github.com/tauri-apps/tauri/commit/cdfa62551115586725bd3e4c04f12c5256f20790) fix(cli): properly read info when using yarn 2+, closes [#4106](https://www.github.com/tauri-apps/tauri/pull/4106) ([#4193](https://www.github.com/tauri-apps/tauri/pull/4193)) on 2022-05-23
31
+
3
32
  ## \[1.0.0-rc.11]
4
33
 
5
34
  - Allow configuring the display options for the MSI execution allowing quieter updates.
@@ -18,7 +47,7 @@
18
47
  - - Remove startup delay in `tauri dev` caused by checking for a newer cli version. The check is now done upon process exit.
19
48
  - Add `TAURI_SKIP_UPDATE_CHECK` env variable to skip checking for a newer CLI version.
20
49
  - [bbabc8cd](https://www.github.com/tauri-apps/tauri/commit/bbabc8cd1ea2c1f6806610fd2d533c99305d320c) fix(cli.rs): remove startup delay in `tauri dev` ([#3999](https://www.github.com/tauri-apps/tauri/pull/3999)) on 2022-04-29
21
- - Fix `tauri info` panic when a pacakage isn't installed.
50
+ - Fix `tauri info` panic when a package isn't installed.
22
51
  - [4f0f3187](https://www.github.com/tauri-apps/tauri/commit/4f0f3187c9e69262ef28350331b368c831ab930a) fix(cli.rs): fix `tauri info` panic when a package isn't installed, closes [#3985](https://www.github.com/tauri-apps/tauri/pull/3985) ([#3996](https://www.github.com/tauri-apps/tauri/pull/3996)) on 2022-04-29
23
52
  - Added `$schema` support to `tauri.conf.json`.
24
53
  - [715cbde3](https://www.github.com/tauri-apps/tauri/commit/715cbde3842a916c4ebeab2cab348e1774b5c192) feat(config): add `$schema` to `tauri.conf.json`, closes [#3464](https://www.github.com/tauri-apps/tauri/pull/3464) ([#4031](https://www.github.com/tauri-apps/tauri/pull/4031)) on 2022-05-03
package/Cargo.toml CHANGED
@@ -8,8 +8,8 @@ crate-type = ["cdylib"]
8
8
 
9
9
  [dependencies]
10
10
  # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
11
- napi = { version = "2.4", default-features = false, features = ["napi4"] }
12
- napi-derive = "2.4"
11
+ napi = { version = "2.5", default-features = false, features = ["napi4"] }
12
+ napi-derive = "2.5"
13
13
  tauri-cli = { path = ".." }
14
14
 
15
15
  [build-dependencies]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "1.0.0-rc.11",
3
+ "version": "1.0.0-rc.14",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "funding": {
6
6
  "type": "opencollective",
@@ -37,11 +37,11 @@
37
37
  }
38
38
  },
39
39
  "devDependencies": {
40
- "@napi-rs/cli": "2.9.0",
40
+ "@napi-rs/cli": "2.10.0",
41
41
  "cross-env": "7.0.3",
42
42
  "cross-spawn": "7.0.3",
43
43
  "fs-extra": "10.1.0",
44
- "jest": "28.1.0",
44
+ "jest": "28.1.1",
45
45
  "jest-transform-toml": "1.0.0",
46
46
  "prettier": "2.6.2"
47
47
  },
@@ -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": "1.0.0-rc.11",
68
- "@tauri-apps/cli-darwin-x64": "1.0.0-rc.11",
69
- "@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.11",
70
- "@tauri-apps/cli-darwin-arm64": "1.0.0-rc.11",
71
- "@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.11",
72
- "@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.11",
73
- "@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.11",
74
- "@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.11",
75
- "@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.11"
67
+ "@tauri-apps/cli-win32-x64-msvc": "1.0.0-rc.14",
68
+ "@tauri-apps/cli-darwin-x64": "1.0.0-rc.14",
69
+ "@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.14",
70
+ "@tauri-apps/cli-darwin-arm64": "1.0.0-rc.14",
71
+ "@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.14",
72
+ "@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.14",
73
+ "@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.14",
74
+ "@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.14",
75
+ "@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.14"
76
76
  }
77
77
  }
package/schema.json CHANGED
@@ -118,6 +118,9 @@
118
118
  },
119
119
  "bundle": {
120
120
  "active": false,
121
+ "appimage": {
122
+ "bundleMediaFramework": false
123
+ },
121
124
  "deb": {
122
125
  "files": {}
123
126
  },
@@ -245,6 +248,9 @@
245
248
  "description": "The bundler configuration.",
246
249
  "default": {
247
250
  "active": false,
251
+ "appimage": {
252
+ "bundleMediaFramework": false
253
+ },
248
254
  "deb": {
249
255
  "files": {}
250
256
  },
@@ -571,7 +577,7 @@
571
577
  "type": "boolean"
572
578
  },
573
579
  "transparent": {
574
- "description": "Whether the window is transparent or not.\n\nNote that on `macOS` this requires the `macos-private-api` feature flag, enabled under `tauri.conf.json > tauri > macOSPrivateApi`. WARNING: Using private APIs on `macOS` prevents your application from being accepted for the `App Store`.",
580
+ "description": "Whether the window is transparent or not.\n\nNote that on `macOS` this requires the `macos-private-api` feature flag, enabled under `tauri.conf.json > tauri > macOSPrivateApi`. WARNING: Using private APIs on `macOS` prevents your application from being accepted to the `App Store`.",
575
581
  "default": false,
576
582
  "type": "boolean"
577
583
  },
@@ -906,7 +912,7 @@
906
912
  ]
907
913
  },
908
914
  "identifier": {
909
- "description": "The app's identifier",
915
+ "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.",
910
916
  "type": "string"
911
917
  },
912
918
  "icon": {
@@ -955,6 +961,17 @@
955
961
  "null"
956
962
  ]
957
963
  },
964
+ "appimage": {
965
+ "description": "Configuration for the AppImage bundle.",
966
+ "default": {
967
+ "bundleMediaFramework": false
968
+ },
969
+ "allOf": [
970
+ {
971
+ "$ref": "#/definitions/AppImageConfig"
972
+ }
973
+ ]
974
+ },
958
975
  "deb": {
959
976
  "description": "Configuration for the Debian bundle.",
960
977
  "default": {
@@ -1023,6 +1040,18 @@
1023
1040
  }
1024
1041
  ]
1025
1042
  },
1043
+ "AppImageConfig": {
1044
+ "description": "Configuration for AppImage bundles.",
1045
+ "type": "object",
1046
+ "properties": {
1047
+ "bundleMediaFramework": {
1048
+ "description": "Include additional gstreamer dependencies needed for audio and video playback. This increases the bundle size by ~15-35MB depending on your build system.",
1049
+ "default": false,
1050
+ "type": "boolean"
1051
+ }
1052
+ },
1053
+ "additionalProperties": false
1054
+ },
1026
1055
  "DebConfig": {
1027
1056
  "description": "Configuration for Debian (.deb) bundles.",
1028
1057
  "type": "object",