capacitor icon indicating copy to clipboard operation
capacitor copied to clipboard

bug: monorepo (Angular) support

Open alexciesielski opened this issue 4 years ago • 2 comments

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 sync in the root folder. (Error that package.json could not be found)
  • Add package.json under projects/app with all of Capacitor's plugins and run sync again: works.

alexciesielski avatar Apr 28 '21 07:04 alexciesielski

PLUS ONE.

spicemix avatar Sep 28 '21 20:09 spicemix

Would be helpful for tools like nx

jase88 avatar Aug 13 '22 09:08 jase88

Still happening in v4 with nx, any chance for update? Capacitor seems to not resolve plugins from root package.json

WetCouch avatar Mar 28 '23 09:03 WetCouch

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 💙

ionitron-bot[bot] avatar Dec 15 '23 18:12 ionitron-bot[bot]

Does this really need a reproduction?

WhatsThatItsPat avatar Dec 16 '23 01:12 WhatsThatItsPat

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 💙

Ionitron avatar Jan 01 '24 00:01 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.

ionitron-bot[bot] avatar Jan 31 '24 00:01 ionitron-bot[bot]