@tauri-apps/cli 1.0.0-rc.7 → 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 CHANGED
@@ -1,5 +1,106 @@
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
+
76
+ ## \[1.0.0-rc.9]
77
+
78
+ - Exit CLI when Cargo returns a non-compilation error in `tauri dev`.
79
+ - [b5622882](https://www.github.com/tauri-apps/tauri/commit/b5622882cf3748e1e5a90915f415c0cd922aaaf8) fix(cli): exit on non-compilation Cargo errors, closes [#3930](https://www.github.com/tauri-apps/tauri/pull/3930) ([#3942](https://www.github.com/tauri-apps/tauri/pull/3942)) on 2022-04-22
80
+ - Notify CLI update when running `tauri dev`.
81
+ - [a649aad7](https://www.github.com/tauri-apps/tauri/commit/a649aad7ad26d4578699370d6e63d80edeca1f97) feat(cli): check and notify about updates on `tauri dev`, closes [#3789](https://www.github.com/tauri-apps/tauri/pull/3789) ([#3960](https://www.github.com/tauri-apps/tauri/pull/3960)) on 2022-04-25
82
+ - Kill the `beforeDevCommand` and app processes if the dev command returns an error.
83
+ - [485c9743](https://www.github.com/tauri-apps/tauri/commit/485c97438ac956d86bcf3794ceaa626bef968a4e) fix(cli): kill beforeDevCommand if dev code returns an error ([#3907](https://www.github.com/tauri-apps/tauri/pull/3907)) on 2022-04-19
84
+ - Fix `info` command showing outdated text for latest versions.
85
+ - [73a4b74a](https://www.github.com/tauri-apps/tauri/commit/73a4b74aea8544e6fda51c1f6697630b0768072c) fix(cli.rs/info): don't show outdated text for latest versions ([#3829](https://www.github.com/tauri-apps/tauri/pull/3829)) on 2022-04-02
86
+ - **Breaking change:** Enable default Cargo features except `tauri/custom-protocol` on the dev command.
87
+ - [f2a30d8b](https://www.github.com/tauri-apps/tauri/commit/f2a30d8bc54fc3ba49e16f69a413eca5f61a9b1f) refactor(core): use ayatana appindicator by default, keep option to use gtk ([#3916](https://www.github.com/tauri-apps/tauri/pull/3916)) on 2022-04-19
88
+ - Kill the `beforeDevCommand` process recursively on Unix.
89
+ - [e251e1b0](https://www.github.com/tauri-apps/tauri/commit/e251e1b0991d26ab10aea33cfb228f3e7f0f85b5) fix(cli): kill before dev command recursively on Unix, closes [#2794](https://www.github.com/tauri-apps/tauri/pull/2794) ([#3848](https://www.github.com/tauri-apps/tauri/pull/3848)) on 2022-04-03
90
+
91
+ ## \[1.0.0-rc.8]
92
+
93
+ - Allows the `tauri.conf.json` file to be git ignored on the path lookup function.
94
+ - [cc7c2d77](https://www.github.com/tauri-apps/tauri/commit/cc7c2d77da2e4a39ec2a97b080d41a719e6d0161) feat(cli): allow conf path to be gitignored, closes [#3636](https://www.github.com/tauri-apps/tauri/pull/3636) ([#3683](https://www.github.com/tauri-apps/tauri/pull/3683)) on 2022-03-13
95
+ - Remove `minimumSystemVersion: null` from the application template configuration.
96
+ - [c81534eb](https://www.github.com/tauri-apps/tauri/commit/c81534ebd873c358e0346c7949aeb171803149a5) feat(cli): use default macOS minimum system version when it is empty ([#3658](https://www.github.com/tauri-apps/tauri/pull/3658)) on 2022-03-13
97
+ - Improve readability of the `info` subcommand output.
98
+ - [49d2f13f](https://www.github.com/tauri-apps/tauri/commit/49d2f13fc07d763d5de9bf4b19d00c901776c11d) feat(cli): colorful cli ([#3635](https://www.github.com/tauri-apps/tauri/pull/3635)) on 2022-03-08
99
+ - Fixes DMG bundling on macOS 12.3.
100
+ - [348a1ab5](https://www.github.com/tauri-apps/tauri/commit/348a1ab59d2697478a594016016f1fccbf1ac054) fix(bundler): DMG bundling on macOS 12.3 cannot use bless, closes [#3719](https://www.github.com/tauri-apps/tauri/pull/3719) ([#3721](https://www.github.com/tauri-apps/tauri/pull/3721)) on 2022-03-18
101
+ - Fixes resources bundling on Windows when the path is on the root of the Tauri folder.
102
+ - [4c84559e](https://www.github.com/tauri-apps/tauri/commit/4c84559e1f3019e7aa2666b10a1a0bd97bb09d24) fix(cli): root resource bundling on Windows, closes [#3539](https://www.github.com/tauri-apps/tauri/pull/3539) ([#3685](https://www.github.com/tauri-apps/tauri/pull/3685)) on 2022-03-13
103
+
3
104
  ## \[1.0.0-rc.6]
4
105
 
5
106
  - Added `tsp` config option under `tauri > bundle > windows`, which enables Time-Stamp Protocol (RFC 3161) for the timestamping
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.1", default-features = false, features = ["napi4"] }
12
- napi-derive = "2.1"
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 = "1.2"
16
+ napi-build = "2.0"
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  ![](https://img.shields.io/github/workflow/status/tauri-apps/tauri/test%20library?label=test%20library
9
9
  )
10
- [![devto](https://img.shields.io/badge/documentation-site-purple.svg)](https://tauri.studio)
10
+ [![devto](https://img.shields.io/badge/documentation-site-purple.svg)](https://tauri.app)
11
11
 
12
12
  [![https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg](https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg)](https://good-labs.github.io/greater-good-affirmation)
13
13
  [![support](https://img.shields.io/badge/sponsor-Opencollective-blue.svg)](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-rc.7",
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.studio)"
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.4.4",
40
+ "@napi-rs/cli": "2.10.0",
41
+ "cross-env": "7.0.3",
41
42
  "cross-spawn": "7.0.3",
42
- "fs-extra": "10.0.1",
43
- "jest": "27.5.1",
43
+ "fs-extra": "10.1.0",
44
+ "jest": "28.1.1",
44
45
  "jest-transform-toml": "1.0.0",
45
- "prettier": "2.5.1"
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": "napi build --platform --release",
56
- "build:debug": "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-rc.7",
66
- "@tauri-apps/cli-darwin-x64": "1.0.0-rc.7",
67
- "@tauri-apps/cli-linux-x64-gnu": "1.0.0-rc.7",
68
- "@tauri-apps/cli-darwin-arm64": "1.0.0-rc.7",
69
- "@tauri-apps/cli-linux-arm64-gnu": "1.0.0-rc.7",
70
- "@tauri-apps/cli-linux-arm64-musl": "1.0.0-rc.7",
71
- "@tauri-apps/cli-linux-arm-gnueabihf": "1.0.0-rc.7",
72
- "@tauri-apps/cli-linux-x64-musl": "1.0.0-rc.7",
73
- "@tauri-apps/cli-win32-ia32-msvc": "1.0.0-rc.7"
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
  }