Compare commits

...

3 Commits

Author SHA1 Message Date
FabianLars
65bb24b9ae fix(cli): fix metadata version 2025-07-21 10:10:12 +02:00
FabianLars
332ec355a1 fix(cli): add default triplets to napi targets config 2025-07-21 09:59:32 +02:00
renovate[bot]
2c46b1873e chore(deps): update dependency eslint-config-prettier to v10.1.8 (#13855)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-21 10:23:19 +08:00
16 changed files with 235 additions and 213 deletions

View File

@@ -1,6 +1,6 @@
{
"cli.js": {
"version": "2.6.3",
"version": "2.7.0",
"node": ">= 10.0.0"
},
"tauri": "2.7.0",

View File

@@ -51,7 +51,7 @@
"@types/eslint": "^9.6.1",
"@types/node": "^22.15.32",
"eslint": "^9.29.0",
"eslint-config-prettier": "10.1.5",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-security": "3.0.1",
"fast-glob": "3.3.3",
"globals": "^16.2.0",

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

10
pnpm-lock.yaml generated
View File

@@ -77,8 +77,8 @@ importers:
specifier: ^9.29.0
version: 9.29.0(jiti@2.4.2)
eslint-config-prettier:
specifier: 10.1.5
version: 10.1.5(eslint@9.29.0(jiti@2.4.2))
specifier: 10.1.8
version: 10.1.8(eslint@9.29.0(jiti@2.4.2))
eslint-plugin-security:
specifier: 3.0.1
version: 3.0.1
@@ -1673,8 +1673,8 @@ packages:
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
eslint-config-prettier@10.1.5:
resolution: {integrity: sha512-zc1UmCpNltmVY34vuLRV61r1K27sWuX39E+uyUnY8xS2Bex88VV9cugG+UZbRSRGtGyFboj+D8JODyme1plMpw==}
eslint-config-prettier@10.1.8:
resolution: {integrity: sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==}
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
@@ -3992,7 +3992,7 @@ snapshots:
escape-string-regexp@4.0.0: {}
eslint-config-prettier@10.1.5(eslint@9.29.0(jiti@2.4.2)):
eslint-config-prettier@10.1.8(eslint@9.29.0(jiti@2.4.2)):
dependencies:
eslint: 9.29.0(jiti@2.4.2)