ericclemmons / polydev

Faster, route-centric development for Node.js apps with built-in Hot Module Replacement.
282 stars 6 forks source link

Remove workspaces #34

Closed ericclemmons closed 5 years ago

ericclemmons commented 5 years ago

Before #28 or #21, we can fix #14 by:

  1. Removing yarn workspaces.
  2. Keep yarn link for polydev.
  3. Move each package into examples with a package.json.
  4. Move packages/polydev to src.

Running an example should require cd into that directory, yarn and polydev.

By doing this, we can ensure that hoisted modules don't affect development/examples.

Also, np will behave as expected.