@tauri-apps/cli 1.0.0-rc.9 → 1.0.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 +73 -0
- package/Cargo.toml +3 -3
- package/README.md +1 -1
- package/package.json +18 -16
- package/schema.json +2352 -0
- package/src/lib.rs +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## \[1.0.0]
|
|
4
|
+
|
|
5
|
+
- Upgrade to `stable`!
|
|
6
|
+
- [f4bb30cc](https://www.github.com/tauri-apps/tauri/commit/f4bb30cc73d6ba9b9ef19ef004dc5e8e6bb901d3) feat(covector): prepare for v1 ([#4351](https://www.github.com/tauri-apps/tauri/pull/4351)) on 2022-06-15
|
|
7
|
+
|
|
8
|
+
## \[1.0.0-rc.16]
|
|
9
|
+
|
|
10
|
+
- Use the default window menu in the app template.
|
|
11
|
+
- [4c4acc30](https://www.github.com/tauri-apps/tauri/commit/4c4acc3094218dd9cee0f1ad61810c979e0b41fa) feat: implement `Default` for `Menu`, closes [#2398](https://www.github.com/tauri-apps/tauri/pull/2398) ([#4291](https://www.github.com/tauri-apps/tauri/pull/4291)) on 2022-06-15
|
|
12
|
+
|
|
13
|
+
## \[1.0.0-rc.15]
|
|
14
|
+
|
|
15
|
+
- Removed the tray icon from the Debian and AppImage bundles since they are embedded in the binary now.
|
|
16
|
+
- [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
|
|
17
|
+
|
|
18
|
+
## \[1.0.0-rc.14]
|
|
19
|
+
|
|
20
|
+
- Set the `TRAY_LIBRARY_PATH` environment variable to make the bundle copy the appindicator library to the AppImage.
|
|
21
|
+
- [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
|
|
22
|
+
- Set the `APPIMAGE_BUNDLE_GSTREAMER` environment variable to make the bundler copy additional gstreamer files to the AppImage.
|
|
23
|
+
- [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
|
|
24
|
+
- Configure the AppImage bundler to copy the `/usr/bin/xdg-open` binary if it exists and the shell `open` API is enabled.
|
|
25
|
+
- [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
|
|
26
|
+
- Fixes multiple occurrences handling of the `bundles` and `features` arguments.
|
|
27
|
+
- [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
|
|
28
|
+
- Log command output in real time instead of waiting for it to finish.
|
|
29
|
+
- [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
|
|
30
|
+
- Configure the `STATIC_VCRUNTIME` environment variable so `tauri-build` statically links it on the build command.
|
|
31
|
+
- [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
|
|
32
|
+
- Use the `TAURI_TRAY` environment variable to determine which package should be added to the Debian `depends` section. Possible values are `ayatana` and `gtk`.
|
|
33
|
+
- [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
|
|
34
|
+
|
|
35
|
+
## \[1.0.0-rc.13]
|
|
36
|
+
|
|
37
|
+
- 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.
|
|
38
|
+
- [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
|
|
39
|
+
- Statically link the Visual C++ runtime instead of using a merge module on the installer.
|
|
40
|
+
- [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
|
|
41
|
+
|
|
42
|
+
## \[1.0.0-rc.12]
|
|
43
|
+
|
|
44
|
+
- Properly fetch the NPM dependency information when using Yarn 2+.
|
|
45
|
+
- [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
|
|
46
|
+
|
|
47
|
+
## \[1.0.0-rc.11]
|
|
48
|
+
|
|
49
|
+
- Allow configuring the display options for the MSI execution allowing quieter updates.
|
|
50
|
+
- [9f2c3413](https://www.github.com/tauri-apps/tauri/commit/9f2c34131952ea83c3f8e383bc3cec7e1450429f) feat(core): configure msiexec display options, closes [#3951](https://www.github.com/tauri-apps/tauri/pull/3951) ([#4061](https://www.github.com/tauri-apps/tauri/pull/4061)) on 2022-05-15
|
|
51
|
+
|
|
52
|
+
## \[1.0.0-rc.10]
|
|
53
|
+
|
|
54
|
+
- Resolve binary file extension from target triple instead of compile-time checks to allow cross compilation.
|
|
55
|
+
- [4562e671](https://www.github.com/tauri-apps/tauri/commit/4562e671e4795e9386429348bf738f7078706945) fix(build): append .exe binary based on target triple instead of running OS, closes [#3870](https://www.github.com/tauri-apps/tauri/pull/3870) ([#4032](https://www.github.com/tauri-apps/tauri/pull/4032)) on 2022-05-03
|
|
56
|
+
- Fixes text overflow on `tauri dev` on Windows.
|
|
57
|
+
- [094534d1](https://www.github.com/tauri-apps/tauri/commit/094534d138a9286e4746b61adff2da616e3b6a61) fix(cli): dev command stderr text overflow on Windows, closes [#3995](https://www.github.com/tauri-apps/tauri/pull/3995) ([#4000](https://www.github.com/tauri-apps/tauri/pull/4000)) on 2022-04-29
|
|
58
|
+
- Improve CLI's logging output, making use of the standard rust `log` system.
|
|
59
|
+
- [35f21471](https://www.github.com/tauri-apps/tauri/commit/35f2147161e6697cbd2824681eeaf870b5a991c2) feat(cli): Improve CLI logging ([#4060](https://www.github.com/tauri-apps/tauri/pull/4060)) on 2022-05-07
|
|
60
|
+
- Don't override the default keychain on macOS while code signing.
|
|
61
|
+
- [a4fcaf1d](https://www.github.com/tauri-apps/tauri/commit/a4fcaf1d04aafc3b4d42186f0fb386797d959a9d) fix: don't override default keychain, closes [#4008](https://www.github.com/tauri-apps/tauri/pull/4008) ([#4053](https://www.github.com/tauri-apps/tauri/pull/4053)) on 2022-05-05
|
|
62
|
+
- - Remove startup delay in `tauri dev` caused by checking for a newer cli version. The check is now done upon process exit.
|
|
63
|
+
- Add `TAURI_SKIP_UPDATE_CHECK` env variable to skip checking for a newer CLI version.
|
|
64
|
+
- [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
|
|
65
|
+
- Fix `tauri info` panic when a package isn't installed.
|
|
66
|
+
- [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
|
|
67
|
+
- Added `$schema` support to `tauri.conf.json`.
|
|
68
|
+
- [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
|
|
69
|
+
- **Breaking change:** The `dev` command now reads the custom config file from CWD instead of the Tauri folder.
|
|
70
|
+
- [a1929c6d](https://www.github.com/tauri-apps/tauri/commit/a1929c6dacccd00af4cdbcc4d29cfb98d8428f55) fix(cli): always read custom config file from CWD, closes [#4067](https://www.github.com/tauri-apps/tauri/pull/4067) ([#4074](https://www.github.com/tauri-apps/tauri/pull/4074)) on 2022-05-07
|
|
71
|
+
- Fixes a Powershell crash when sending SIGINT to the dev command.
|
|
72
|
+
- [32048486](https://www.github.com/tauri-apps/tauri/commit/320484866b83ecabb01eb58d158e0fedd9dd08be) fix(cli): powershell crashing on SIGINT, closes [#3997](https://www.github.com/tauri-apps/tauri/pull/3997) ([#4007](https://www.github.com/tauri-apps/tauri/pull/4007)) on 2022-04-29
|
|
73
|
+
- Prevent building when the bundle identifier is the default `com.tauri.dev`.
|
|
74
|
+
- [95726ebb](https://www.github.com/tauri-apps/tauri/commit/95726ebb6180d371be44bff9f16ca1eee049006a) feat(cli): prevent default bundle identifier from building, closes [#4041](https://www.github.com/tauri-apps/tauri/pull/4041) ([#4042](https://www.github.com/tauri-apps/tauri/pull/4042)) on 2022-05-04
|
|
75
|
+
|
|
3
76
|
## \[1.0.0-rc.9]
|
|
4
77
|
|
|
5
78
|
- Exit CLI when Cargo returns a non-compilation error in `tauri dev`.
|
package/Cargo.toml
CHANGED
|
@@ -8,9 +8,9 @@ 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.
|
|
12
|
-
napi-derive = "2.
|
|
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]
|
|
16
|
-
napi-build = "
|
|
16
|
+
napi-build = "2.0"
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|

|
|
10
|
-
[](https://tauri.
|
|
10
|
+
[](https://tauri.app)
|
|
11
11
|
|
|
12
12
|
[](https://good-labs.github.io/greater-good-affirmation)
|
|
13
13
|
[](https://opencollective.com/tauri)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tauri-apps/cli",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Command line interface for building Tauri apps",
|
|
5
5
|
"funding": {
|
|
6
6
|
"type": "opencollective",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"url": "git+https://github.com/tauri-apps/tauri.git"
|
|
12
12
|
},
|
|
13
13
|
"contributors": [
|
|
14
|
-
"Tauri Team <team@tauri-apps.org> (https://tauri.
|
|
14
|
+
"Tauri Team <team@tauri-apps.org> (https://tauri.app)"
|
|
15
15
|
],
|
|
16
16
|
"license": "Apache-2.0 OR MIT",
|
|
17
17
|
"bugs": {
|
|
@@ -37,12 +37,13 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@napi-rs/cli": "2.
|
|
40
|
+
"@napi-rs/cli": "2.10.0",
|
|
41
|
+
"cross-env": "7.0.3",
|
|
41
42
|
"cross-spawn": "7.0.3",
|
|
42
43
|
"fs-extra": "10.1.0",
|
|
43
|
-
"jest": "
|
|
44
|
+
"jest": "28.1.1",
|
|
44
45
|
"jest-transform-toml": "1.0.0",
|
|
45
|
-
"prettier": "2.
|
|
46
|
+
"prettier": "2.7.0"
|
|
46
47
|
},
|
|
47
48
|
"engines": {
|
|
48
49
|
"node": ">= 10"
|
|
@@ -52,9 +53,10 @@
|
|
|
52
53
|
},
|
|
53
54
|
"scripts": {
|
|
54
55
|
"artifacts": "napi artifacts",
|
|
55
|
-
"build:release": "napi build --platform --release",
|
|
56
|
-
"build": "napi build --platform",
|
|
56
|
+
"build:release": "cross-env TARGET=node napi build --platform --release",
|
|
57
|
+
"build": "cross-env TARGET=node napi build --platform",
|
|
57
58
|
"prepublishOnly": "napi prepublish -t npm",
|
|
59
|
+
"prepack": "cp ../schema.json .",
|
|
58
60
|
"test": "jest --runInBand --forceExit --no-cache",
|
|
59
61
|
"version": "napi version",
|
|
60
62
|
"tauri": "node ./tauri.js",
|
|
@@ -62,14 +64,14 @@
|
|
|
62
64
|
"format:check": "prettier --check ./package.json ./tauri.js"
|
|
63
65
|
},
|
|
64
66
|
"optionalDependencies": {
|
|
65
|
-
"@tauri-apps/cli-win32-x64-msvc": "1.0.0
|
|
66
|
-
"@tauri-apps/cli-darwin-x64": "1.0.0
|
|
67
|
-
"@tauri-apps/cli-linux-x64-gnu": "1.0.0
|
|
68
|
-
"@tauri-apps/cli-darwin-arm64": "1.0.0
|
|
69
|
-
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0
|
|
70
|
-
"@tauri-apps/cli-linux-arm64-musl": "1.0.0
|
|
71
|
-
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0
|
|
72
|
-
"@tauri-apps/cli-linux-x64-musl": "1.0.0
|
|
73
|
-
"@tauri-apps/cli-win32-ia32-msvc": "1.0.0
|
|
67
|
+
"@tauri-apps/cli-win32-x64-msvc": "1.0.0",
|
|
68
|
+
"@tauri-apps/cli-darwin-x64": "1.0.0",
|
|
69
|
+
"@tauri-apps/cli-linux-x64-gnu": "1.0.0",
|
|
70
|
+
"@tauri-apps/cli-darwin-arm64": "1.0.0",
|
|
71
|
+
"@tauri-apps/cli-linux-arm64-gnu": "1.0.0",
|
|
72
|
+
"@tauri-apps/cli-linux-arm64-musl": "1.0.0",
|
|
73
|
+
"@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0",
|
|
74
|
+
"@tauri-apps/cli-linux-x64-musl": "1.0.0",
|
|
75
|
+
"@tauri-apps/cli-win32-ia32-msvc": "1.0.0"
|
|
74
76
|
}
|
|
75
77
|
}
|