bug: monorepo (Angular) support
Bug Report
Capacitor Version
Both 2 and 3
Current Behavior
A separate package.json in the projects/app/ subfolder needs to be maintained with Capacitor's core and plugin features, lessening the advantages of a single package.json monorepo approach.
Expected Behavior
Capacitor is able to detect plugins from the root package.json.
Code Reproduction
- Create a Angular monorepo application, install Capacitor's core features and (at-least) one 3rd party plugin.
- Try to run
ionic capacitor syncin the root folder. (Error thatpackage.jsoncould not be found) - Add
package.jsonunderprojects/appwith all of Capacitor's plugins and runsyncagain: works.
PLUS ONE.
Would be helpful for tools like nx
Still happening in v4 with nx, any chance for update? Capacitor seems to not resolve plugins from root package.json
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed. Please see the Contributing Guide for how to create a Sample App. Thanks! Ionitron 💙
Does this really need a reproduction?
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.
Have a great day! Ionitron 💙
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.