Skip to content

fix(cli): install npm plugin packages in the frontend directory (fix #16001) - #16003

Merged
Legend-Master merged 1 commit into
tauri-apps:devfrom
Darth-S1d1ous:fix/cli-add-npm-frontend-dir
Sep 10, 2026
Merged

Legend-Master merged 1 commit into
tauri-apps:devfrom
Darth-S1d1ous:fix/cli-add-npm-frontend-dir

Conversation

@Darth-S1d1ous

Copy link
Copy Markdown
Contributor

tauri add / tauri remove used dirs.tauri as the npm cwd, so pnpm created package.json under src-tauri instead of the project root.

Summary

  • tauri add / tauri remove used dirs.tauri as the npm cwd, so pnpm created package.json, pnpm-lock.yaml, and node_modules under src-tauri instead of the frontend directory.
  • Install and remove npm plugin packages in dirs.frontend instead.

Closes #16001

tauri add/remove used dirs.tauri as the npm cwd, so pnpm created package.json under src-tauri instead of the project root.
@Darth-S1d1ous
Darth-S1d1ous requested a review from a team as a code owner September 10, 2026 14:31

@Legend-Master Legend-Master left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through 689bde9

There are 14 changes which include tauri-cli with minor, @tauri-apps/cli with minor, tauri with minor, tauri-build with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, tauri-bundler with minor, tauri-macos-sign with minor, @tauri-apps/api with minor, tauri-codegen with minor, tauri-macros with minor, tauri-plugin with minor, tauri-driver with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.11.1 2.12.0
tauri-utils 2.9.3 2.10.0
tauri-macos-sign 2.3.4 2.4.0
tauri-bundler 2.9.4 2.10.0
tauri-runtime 2.11.3 2.12.0
tauri-runtime-wry 2.11.4 2.12.0
tauri-codegen 2.6.3 2.7.0
tauri-macros 2.6.3 2.7.0
tauri-plugin 2.6.3 2.7.0
tauri-build 2.6.3 2.7.0
tauri 2.11.5 2.12.0
@tauri-apps/cli 2.11.4 2.12.0
tauri-cli 2.11.4 2.12.0
tauri-driver 2.0.6 2.1.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@Legend-Master
Legend-Master merged commit 2b7c1f8 into tauri-apps:dev Sep 10, 2026
17 checks passed
@Darth-S1d1ous
Darth-S1d1ous deleted the fix/cli-add-npm-frontend-dir branch September 11, 2026 00:22
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.

[bug] When adding a plugin, package.json gets generated in the wrong place

2 participants