You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm submitting a ... (check one with "x")
[ ] bug report
[X] feature request
Current behavior:
When working on a system that has multiple apps, all using the same API it is convenient to have all code in a mono-repo rather than one git repo per application.
Given the following folder structure:
|-my-project/
|----apps/
|--------awesome-app1/
|------------(ionic app in here)
|--------awesome-app2/
|------------(ionic app in here)
|----libs/
|--------services/
|------------(shared service code)
|--------model/
|------------(shared model and business logic)
It would be good if the package.json file in the my-project folder could describe all of the dependencies across all of the apps. This way only one node_modules folder in my-project would be needed, instead currently each app needs it's own node_modules. I know it's possible to have multiple apps in a mono repo, sharing a libs folder and the same node_modules folder in angular. It's a shame the benefits are lost as soon as I add an Ionic project into the mono repo
Given that IonicPro requires the app code to be pushed into a git repo in order for it to become available in IonicView, then I'm assuming the above structure won't work with IonicView.
Thanks @johneast, I appreciate the feature request! Could you explain a bit more where there's a lack of support for monorepos? I'm assuming it's a CLI issue.
As for Pro, I know the Ionic Pro team is aware of the request. I am trying to get more details now, but it would help to understand your use case better.
From @johneast on February 11, 2018 0:17
Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[X] 3.x
[ ] 4.x
I'm submitting a ... (check one with "x")
[ ] bug report
[X] feature request
Current behavior:
When working on a system that has multiple apps, all using the same API it is convenient to have all code in a mono-repo rather than one git repo per application.
Given the following folder structure:
It would be good if the package.json file in the
my-project
folder could describe all of the dependencies across all of the apps. This way only onenode_modules
folder inmy-project
would be needed, instead currently each app needs it's ownnode_modules
. I know it's possible to have multiple apps in a mono repo, sharing a libs folder and the samenode_modules
folder in angular. It's a shame the benefits are lost as soon as I add an Ionic project into the mono repoGiven that IonicPro requires the app code to be pushed into a git repo in order for it to become available in IonicView, then I'm assuming the above structure won't work with IonicView.
Copied from original issue: ionic-team/ionic-framework#13999
The text was updated successfully, but these errors were encountered: