Skip to content

Remove unused @tauri-apps/plugin-window-state npm package#517

Merged
xiaolai merged 1 commit intomainfrom
fix/remove-unused-window-state-pkg
Mar 23, 2026
Merged

Remove unused @tauri-apps/plugin-window-state npm package#517
xiaolai merged 1 commit intomainfrom
fix/remove-unused-window-state-pkg

Conversation

@claude
Copy link
Contributor

@claude claude bot commented Mar 23, 2026

Summary

  • Remove @tauri-apps/plugin-window-state from package.json — it is never imported in frontend code
  • The Rust-side tauri_plugin_window_state (registered in lib.rs) is unaffected
  • Reduces node_modules footprint by one unused package

Closes #514

Test plan

  • pnpm check:all passes (lint + tests + build)
  • Verify window state persistence still works (save/restore position on relaunch)

🤖 Generated with Claude Code

The window-state plugin is only used on the Rust side; no frontend JS
imports exist. Removing the npm package reduces node_modules size
without affecting functionality.

Closes #514

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@claude claude bot enabled auto-merge (squash) March 23, 2026 09:44
@xiaolai xiaolai merged commit ac14656 into main Mar 23, 2026
8 checks passed
@xiaolai xiaolai deleted the fix/remove-unused-window-state-pkg branch March 23, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[audit] dead-code: unused npm package @tauri-apps/plugin-window-state

1 participant