fix(cli): add default triplets to napi targets config

This commit is contained in:
FabianLars
2025-07-21 09:59:32 +02:00
parent 2c46b1873e
commit 332ec355a1
13 changed files with 239 additions and 217 deletions

View File

@@ -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

View File

@@ -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"
]
}

View File

@@ -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"
]
}

View File

@@ -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"
]
}

View File

@@ -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"
}
]
}

View File

@@ -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"
}
]
}

View File

@@ -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"
}
]
}

View File

@@ -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"
}
]
}

View File

@@ -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"
}
]
}

View File

@@ -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"
]
}

View File

@@ -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"
]
}

View File

@@ -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"
]
}

View File

@@ -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",