JSPM

  • Created
  • Published
  • Downloads 335
  • Score
    100M100P100Q84358F
  • License ISC

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@art-suite/monorepo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @art-suite/monorepo

    An opinionated, yet simple way to manage monorepos of JavaScript projects which use package.json.

    1. All dependencies are synced across all packages to be the same version.
    2. Only one package-lock.json file is checked in - the one in the root that lists all dependencies of all packages.
    3. Only one node_modules/ folder is needed - again, in the root.
    4. Sub-packages can exist anywhere in the tree. Organize them as you like.

    Commands

    • art-monorepo sync - update the root package.json and package-lock.json from all sub-packages
      • Runs all three sub commands: clean, update-sub-packages, and update-mono-package in that order
    • art-monorepo clean - clean up any dangling node_modules/ and package-lock.json files in sub-folders.
    • art-monorepo test - run npm test in every sub-project in parallel
    • art-monorepo run --command foo - run npm run foo in every sub-project in parallel