composablesys/collabs

Remove nested workspaces

mweidner037 opened this issue · 2 comments

demos/apps is a nested workspace, which has issues:

  • Need to repeat sub-dependencies in demos/apps/package.json
  • Does not work on npm 8.5+ due to npm/cli#4774 . For now, my local + CircleCI + Heroku are pinned to a lower version.

We should remove the nesting if possible, or move to yarn if it supports this.

  • npm run reset does not affect nested workspaces

Perhaps change apps to be its own workspace, with file: links to the imported Collabs packages?
Although then copy-pasting a demo outside of the monorepo will not work.

Or: get rid of the demos/apps workspace, and list each demo as its own workspace in the top-level package.json.