Repository navigation
Maintainer input on portable pnpm plugin paths for #8621 #8749
Unanswered
ibrahimmaq14
asked this question in
General
Replies: 1 comment 2 replies
|
In Resolving plugin paths via Node\x27s |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Could a maintainer confirm whether #8621 should cover generated plugin paths when an app is checked out with a different pnpm virtual-store location?
I used Codex to verify this on
mainat82b01fddf3e0, with pnpm 11.20.0 and@capacitor/app. Freshcap update androidandcap update iosruns produced paths that resolved to the installed plugin. When I reusedandroid/capacitor.settings.gradleandios/App/CapApp-SPM/Package.swiftin a checkout with a different store location and the original store unavailable, both paths failed to resolve. Rerunning the updates restored them. This matches the portability case described in the issue and confirms it for both generated files.Would you approve a CLI fix that uses the app’s
node_modulespackage entry for the generated Gradle and SwiftPM paths when it resolves to the same installed plugin? The commenter also offered to take this on. Please let me know if they or anyone else are already working on it so we can avoid duplicating the effort.All reactions