Repository navigation
fix(deps): align @tauri-apps npm packages with the Rust crates (release build blocker) - #966
Merged
Merged
Conversation
…se build blocker) tauri build refuses a major.minor mismatch between each Rust crate and its npm package, and release.yml (tauri-action v0.6.2) does not pass --ignore-version-mismatches, so v1.0.4 would fail to build. - @tauri-apps/api 2.11.1 -> 2.12.3 (tauri 2.12.1) - @tauri-apps/plugin-opener 2.5.5 -> 2.7.1 (tauri-plugin-opener 2.7.0) - @tauri-apps/plugin-updater 2.12.0 -> 2.13.3 (tauri-plugin-updater 2.13.1) - @tauri-apps/cli 2.11.5 -> 2.12.2 (matches tauri 2.12) The newest patches (api 2.12.4, opener 2.7.2, cli 2.12.3) are under the repo's 3-day minimumReleaseAge, so the previous patch of each was chosen. The lockfile diff touches only @tauri-apps packages; overrides intact. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018hjX3pEMmC7CHfG41PiPj7
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018hjX3pEMmC7CHfG41PiPj7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
tauri buildrefuses a major.minor mismatch between each Rust crate and its npm package. On main (d7db30d), Cargo.lock has tauri 2.12.1, tauri-plugin-opener 2.7.0 and tauri-plugin-updater 2.13.1, but pnpm-lock.yaml resolved @tauri-apps/api 2.11.1, plugin-opener 2.5.5 and plugin-updater 2.12.0.release.ymlbuilds through tauri-apps/tauri-action v0.6.2 without--ignore-version-mismatches, so the v1.0.4 release build would fail. This PR is a release blocker.Versions
dependency_checkand returned proceed: no advisories, trusted publisher with no trust downgrade, no install scripts, and no new dependencies.dependency_checkreturned wait for them, and the repo'sminimumReleaseAge: 4320also holds them back, so I chose the previous patch of each.Lockfile
The
pnpm-lock.yamldiff (pnpm 10.34.6, perpackageManager) changes only the@tauri-apps/*entries: api, cli plus its 11 platform binaries, plugin-opener and plugin-updater. 70 lines added and 70 removed.node scripts/check-pnpm-overrides.cjsreports: OK, pinned to pnpm 10.x, 35 overrides across 2 manifests are live.Verification
pnpm run typecheck(tsc --noEmit): exit 0pnpm run test(vitest): 191 of 191 files, 1945 of 1945 tests passed, no unhandled errorspnpm exec tauri infono longer shows a mismatch warning:A full
tauri buildwas not run locally because the machine is heavily loaded. The release workflow is the end-to-end check.Auto-merge is not enabled.
🤖 Generated with Claude Code
https://claude.ai/code/session_018hjX3pEMmC7CHfG41PiPj7