diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 60ae210aa..aa2eaa5a1 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,6 +1,14 @@ # Changelog -## \[2.6.3] +## \[2.7.0] + +### New Features + +- [`33d079392`](https://www.github.com/tauri-apps/tauri/commit/33d079392ac4a5a153b7d8a6d82fefd6f54a2bdf) ([#13811](https://www.github.com/tauri-apps/tauri/pull/13811) by [@mhbagheri-99](https://www.github.com/tauri-apps/tauri/../../mhbagheri-99)) Allow runner configuration to be an object with cmd, cwd, and args properties. The runner can now be configured as `{ "cmd": "my_runner", "cwd": "/path", "args": ["--quiet"] }` while maintaining backwards compatibility with the existing string format. + +### Enhancements + +- [`232265c70`](https://www.github.com/tauri-apps/tauri/commit/232265c70e1c213bbb3f84b5541ddc07d330fce1) ([#13209](https://www.github.com/tauri-apps/tauri/pull/13209) by [@kandrelczyk](https://www.github.com/tauri-apps/tauri/../../kandrelczyk)) Binaries are patched before bundling to add the type of a bundle they will placed in. This information will be used during update process to select the correct target. ### Bug Fixes diff --git a/packages/cli/npm/darwin-arm64/package.json b/packages/cli/npm/darwin-arm64/package.json index 9297f731a..92c0d6a84 100644 --- a/packages/cli/npm/darwin-arm64/package.json +++ b/packages/cli/npm/darwin-arm64/package.json @@ -1,24 +1,6 @@ { "name": "@tauri-apps/cli-darwin-arm64", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, - "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, - "contributors": [ - "Tauri Programme within The Commons Conservancy" - ], - "license": "Apache-2.0 OR MIT", - "publishConfig": { - "access": "public" - }, - "os": [ - "darwin" - ], + "version": "2.6.3", "cpu": [ "arm64" ], @@ -26,7 +8,26 @@ "files": [ "cli.darwin-arm64.node" ], + "description": "Command line interface for building Tauri apps", + "homepage": "https://github.com/tauri-apps/tauri#readme", + "contributors": [ + "Tauri Programme within The Commons Conservancy" + ], + "license": "Apache-2.0 OR MIT", "engines": { "node": ">= 10" - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, + "publishConfig": { + "access": "public" + }, + "os": [ + "darwin" + ] } diff --git a/packages/cli/npm/darwin-x64/package.json b/packages/cli/npm/darwin-x64/package.json index fa9072a4c..a4d7495cb 100644 --- a/packages/cli/npm/darwin-x64/package.json +++ b/packages/cli/npm/darwin-x64/package.json @@ -1,24 +1,6 @@ { "name": "@tauri-apps/cli-darwin-x64", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, - "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, - "contributors": [ - "Tauri Programme within The Commons Conservancy" - ], - "license": "Apache-2.0 OR MIT", - "publishConfig": { - "access": "public" - }, - "os": [ - "darwin" - ], + "version": "2.6.3", "cpu": [ "x64" ], @@ -26,7 +8,26 @@ "files": [ "cli.darwin-x64.node" ], + "description": "Command line interface for building Tauri apps", + "homepage": "https://github.com/tauri-apps/tauri#readme", + "contributors": [ + "Tauri Programme within The Commons Conservancy" + ], + "license": "Apache-2.0 OR MIT", "engines": { "node": ">= 10" - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, + "publishConfig": { + "access": "public" + }, + "os": [ + "darwin" + ] } diff --git a/packages/cli/npm/linux-arm-gnueabihf/package.json b/packages/cli/npm/linux-arm-gnueabihf/package.json index c1ad0efa7..82b25373d 100644 --- a/packages/cli/npm/linux-arm-gnueabihf/package.json +++ b/packages/cli/npm/linux-arm-gnueabihf/package.json @@ -1,24 +1,6 @@ { "name": "@tauri-apps/cli-linux-arm-gnueabihf", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, - "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, - "contributors": [ - "Tauri Programme within The Commons Conservancy" - ], - "license": "Apache-2.0 OR MIT", - "publishConfig": { - "access": "public" - }, - "os": [ - "linux" - ], + "version": "2.6.3", "cpu": [ "arm" ], @@ -26,7 +8,26 @@ "files": [ "cli.linux-arm-gnueabihf.node" ], + "description": "Command line interface for building Tauri apps", + "homepage": "https://github.com/tauri-apps/tauri#readme", + "contributors": [ + "Tauri Programme within The Commons Conservancy" + ], + "license": "Apache-2.0 OR MIT", "engines": { "node": ">= 10" - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, + "publishConfig": { + "access": "public" + }, + "os": [ + "linux" + ] } diff --git a/packages/cli/npm/linux-arm64-gnu/package.json b/packages/cli/npm/linux-arm64-gnu/package.json index 559dac434..1b43db11e 100644 --- a/packages/cli/npm/linux-arm64-gnu/package.json +++ b/packages/cli/npm/linux-arm64-gnu/package.json @@ -1,35 +1,36 @@ { "name": "@tauri-apps/cli-linux-arm64-gnu", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, + "version": "2.6.3", + "cpu": [ + "arm64" + ], + "main": "cli.linux-arm64-gnu.node", + "files": [ + "cli.linux-arm64-gnu.node" + ], + "description": "Command line interface for building Tauri apps", "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, "contributors": [ "Tauri Programme within The Commons Conservancy" ], "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">= 10" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, "publishConfig": { "access": "public" }, "os": [ "linux" ], - "cpu": [ - "arm64" - ], "libc": [ "glibc" - ], - "main": "cli.linux-arm64-gnu.node", - "files": [ - "cli.linux-arm64-gnu.node" - ], - "engines": { - "node": ">= 10" - } + ] } diff --git a/packages/cli/npm/linux-arm64-musl/package.json b/packages/cli/npm/linux-arm64-musl/package.json index a2e2b84cf..bbf9ac75e 100644 --- a/packages/cli/npm/linux-arm64-musl/package.json +++ b/packages/cli/npm/linux-arm64-musl/package.json @@ -1,35 +1,36 @@ { "name": "@tauri-apps/cli-linux-arm64-musl", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, + "version": "2.6.3", + "cpu": [ + "arm64" + ], + "main": "cli.linux-arm64-musl.node", + "files": [ + "cli.linux-arm64-musl.node" + ], + "description": "Command line interface for building Tauri apps", "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, "contributors": [ "Tauri Programme within The Commons Conservancy" ], "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">= 10" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, "publishConfig": { "access": "public" }, "os": [ "linux" ], - "cpu": [ - "arm64" - ], "libc": [ "musl" - ], - "main": "cli.linux-arm64-musl.node", - "files": [ - "cli.linux-arm64-musl.node" - ], - "engines": { - "node": ">= 10" - } + ] } diff --git a/packages/cli/npm/linux-riscv64-gnu/package.json b/packages/cli/npm/linux-riscv64-gnu/package.json index 779b164a2..faf846e73 100644 --- a/packages/cli/npm/linux-riscv64-gnu/package.json +++ b/packages/cli/npm/linux-riscv64-gnu/package.json @@ -1,35 +1,36 @@ { "name": "@tauri-apps/cli-linux-riscv64-gnu", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, + "version": "2.6.3", + "cpu": [ + "riscv64" + ], + "main": "cli.linux-riscv64-gnu.node", + "files": [ + "cli.linux-riscv64-gnu.node" + ], + "description": "Command line interface for building Tauri apps", "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, "contributors": [ "Tauri Programme within The Commons Conservancy" ], "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">= 10" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, "publishConfig": { "access": "public" }, "os": [ "linux" ], - "cpu": [ - "riscv64" - ], "libc": [ "glibc" - ], - "main": "cli.linux-riscv64-gnu.node", - "files": [ - "cli.linux-riscv64-gnu.node" - ], - "engines": { - "node": ">= 10" - } + ] } diff --git a/packages/cli/npm/linux-x64-gnu/package.json b/packages/cli/npm/linux-x64-gnu/package.json index ab41c91bc..fc6748b2a 100644 --- a/packages/cli/npm/linux-x64-gnu/package.json +++ b/packages/cli/npm/linux-x64-gnu/package.json @@ -1,35 +1,36 @@ { "name": "@tauri-apps/cli-linux-x64-gnu", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, + "version": "2.6.3", + "cpu": [ + "x64" + ], + "main": "cli.linux-x64-gnu.node", + "files": [ + "cli.linux-x64-gnu.node" + ], + "description": "Command line interface for building Tauri apps", "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, "contributors": [ "Tauri Programme within The Commons Conservancy" ], "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">= 10" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, "publishConfig": { "access": "public" }, "os": [ "linux" ], - "cpu": [ - "x64" - ], "libc": [ "glibc" - ], - "main": "cli.linux-x64-gnu.node", - "files": [ - "cli.linux-x64-gnu.node" - ], - "engines": { - "node": ">= 10" - } + ] } diff --git a/packages/cli/npm/linux-x64-musl/package.json b/packages/cli/npm/linux-x64-musl/package.json index 82deedabd..927a11734 100644 --- a/packages/cli/npm/linux-x64-musl/package.json +++ b/packages/cli/npm/linux-x64-musl/package.json @@ -1,35 +1,36 @@ { "name": "@tauri-apps/cli-linux-x64-musl", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, + "version": "2.6.3", + "cpu": [ + "x64" + ], + "main": "cli.linux-x64-musl.node", + "files": [ + "cli.linux-x64-musl.node" + ], + "description": "Command line interface for building Tauri apps", "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, "contributors": [ "Tauri Programme within The Commons Conservancy" ], "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">= 10" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, "publishConfig": { "access": "public" }, "os": [ "linux" ], - "cpu": [ - "x64" - ], "libc": [ "musl" - ], - "main": "cli.linux-x64-musl.node", - "files": [ - "cli.linux-x64-musl.node" - ], - "engines": { - "node": ">= 10" - } + ] } diff --git a/packages/cli/npm/win32-arm64-msvc/package.json b/packages/cli/npm/win32-arm64-msvc/package.json index 8a7000f58..9795690a1 100644 --- a/packages/cli/npm/win32-arm64-msvc/package.json +++ b/packages/cli/npm/win32-arm64-msvc/package.json @@ -1,24 +1,6 @@ { "name": "@tauri-apps/cli-win32-arm64-msvc", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, - "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, - "contributors": [ - "Tauri Programme within The Commons Conservancy" - ], - "license": "Apache-2.0 OR MIT", - "publishConfig": { - "access": "public" - }, - "os": [ - "win32" - ], + "version": "2.6.3", "cpu": [ "arm64" ], @@ -26,7 +8,26 @@ "files": [ "cli.win32-arm64-msvc.node" ], + "description": "Command line interface for building Tauri apps", + "homepage": "https://github.com/tauri-apps/tauri#readme", + "contributors": [ + "Tauri Programme within The Commons Conservancy" + ], + "license": "Apache-2.0 OR MIT", "engines": { "node": ">= 10" - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, + "publishConfig": { + "access": "public" + }, + "os": [ + "win32" + ] } diff --git a/packages/cli/npm/win32-ia32-msvc/package.json b/packages/cli/npm/win32-ia32-msvc/package.json index 54e0fa606..d713779a3 100644 --- a/packages/cli/npm/win32-ia32-msvc/package.json +++ b/packages/cli/npm/win32-ia32-msvc/package.json @@ -1,24 +1,6 @@ { "name": "@tauri-apps/cli-win32-ia32-msvc", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, - "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, - "contributors": [ - "Tauri Programme within The Commons Conservancy" - ], - "license": "Apache-2.0 OR MIT", - "publishConfig": { - "access": "public" - }, - "os": [ - "win32" - ], + "version": "2.6.3", "cpu": [ "ia32" ], @@ -26,7 +8,26 @@ "files": [ "cli.win32-ia32-msvc.node" ], + "description": "Command line interface for building Tauri apps", + "homepage": "https://github.com/tauri-apps/tauri#readme", + "contributors": [ + "Tauri Programme within The Commons Conservancy" + ], + "license": "Apache-2.0 OR MIT", "engines": { "node": ">= 10" - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, + "publishConfig": { + "access": "public" + }, + "os": [ + "win32" + ] } diff --git a/packages/cli/npm/win32-x64-msvc/package.json b/packages/cli/npm/win32-x64-msvc/package.json index edb078b36..391bbdaef 100644 --- a/packages/cli/npm/win32-x64-msvc/package.json +++ b/packages/cli/npm/win32-x64-msvc/package.json @@ -1,24 +1,6 @@ { "name": "@tauri-apps/cli-win32-x64-msvc", - "version": "0.0.0", - "repository": { - "type": "git", - "url": "git+https://github.com/tauri-apps/tauri.git" - }, - "homepage": "https://github.com/tauri-apps/tauri#readme", - "bugs": { - "url": "https://github.com/tauri-apps/tauri/issues" - }, - "contributors": [ - "Tauri Programme within The Commons Conservancy" - ], - "license": "Apache-2.0 OR MIT", - "publishConfig": { - "access": "public" - }, - "os": [ - "win32" - ], + "version": "2.6.3", "cpu": [ "x64" ], @@ -26,7 +8,26 @@ "files": [ "cli.win32-x64-msvc.node" ], + "description": "Command line interface for building Tauri apps", + "homepage": "https://github.com/tauri-apps/tauri#readme", + "contributors": [ + "Tauri Programme within The Commons Conservancy" + ], + "license": "Apache-2.0 OR MIT", "engines": { "node": ">= 10" - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tauri-apps/tauri.git" + }, + "bugs": { + "url": "https://github.com/tauri-apps/tauri/issues" + }, + "publishConfig": { + "access": "public" + }, + "os": [ + "win32" + ] } diff --git a/packages/cli/package.json b/packages/cli/package.json index be721f739..1b4b2c473 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.6.3", + "version": "2.7.0", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective", @@ -26,6 +26,9 @@ "napi": { "binaryName": "cli", "targets": [ + "x86_64-unknown-linux-gnu", + "x86_64-pc-windows-msvc", + "x86_64-apple-darwin", "aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl",