Branching off main issue re: project structure configurability: #2232
We can add support in the Ionic CLI for multi-app projects.
@PoiScript summed it up nicely:
The primary problem is that we can not specify which project to use with ionic-cli
These multi-app projects are typically in the shape of monorepos which have multiple apps and libraries.
angular
. This means a shared angular.json
at the root of the monorepo.angular.json
. Not a big deal, but it would need to be deletedThe builders in ng-toolkit were built with Angular 6 tooling, so they support any project structure that the Angular CLI does. The issue is how do we map ionic serve
and related project commands to the requested project such that Ionic and Angular know which project to use.
These commands already have a --project
and --configuration
option to configure which map to configuration within angular.json
. I think all we need to do is read angular.json
, use the key from --project
and find the project root
and then look for ionic.config.json
inside the specified directory.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4