Skip to content
Multi-project setup for Ionic/Angular apps & libraries with single `node_modules` & `package.json`. Supports JetBrains IDE(s).
TypeScript JavaScript CSS HTML Batchfile
Branch: master
Clone or download
Latest commit a8e13ed Nov 8, 2019

README.md

Multi-project setup for Ionic apps with root package.json and common node_modules

CircleCI

  • Root package.json, tsconfig.json, etc. to manage common settings & dependencies
  • Works correctly with JetBrains IDEs (WebStorm, IDEA, PyCharm, GoLand, etc.)
  • Project level package.json to overrider/add project specific settings & dependencies

Purpose & benefits of multi-project workspace

  • Consistent configuration across multiple projects

  • Quick refactoring across multiple projects
    (e.g. renaming method in library with instant refactoring of all dependent projects)

  • Quicker to pull & setup due to single node_modules so you don't need to install same packages multiple times

  • Quicker & easy to update common dependencies

Top level structure

📁 node_modules
📂 projects
  📂 apps
    📂 ang1 (angular app)
       ...
    📂 ionic1 (first Ionic app)
       📄 package.json
       ...
    📂 ionic2 (second Ionic app)
       📄 package.json
       ...
  📂 libs
     📂 lib1
       📄 package.json
       ...
     📂 lib2
       📄 package.json
       ...
📄 angular.json
📄 ionic.config.json
📄 package.json
📄 tsconfig.json
📄 tslint.json

Credits & references

Used by

Here is list of projects that use this setup

Create a pull request to add a link to your project here.

You can’t perform that action at this time.