-
Notifications
You must be signed in to change notification settings - Fork 3
Simplify monorepo #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
# Conflicts: # RFC-by-stage/1-approved/monorepo.md
RFC-by-stage/1-approved/monorepo.md
Outdated
|
|
||
| ## A short description of the solution | ||
|
|
||
| I propose we remove lerna, move to [yarn v1 workspaces](https://classic.yarnpkg.com/en/docs/workspaces/) and de-tangle the reasons the `bootstrap` process is currently so dependent on a very specific order at which what dependency has to be installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively we could consider moving to a single-export repo.
Turborepo would be a good drop in replacement for Lerna.
|
|
||
| - [prettier](https://prettier.io/) | ||
| - [manypkgs](https://github.com/Thinkmill/manypkg) | ||
| - [preconstruct](https://preconstruct.tools/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turborepo could replace npm + preconstruct, or Parcel 2 which might be a lighter touch here.
| The docs website will be included into this monorepo so that docs are drawn from the readme of each component. | ||
| That way we won't have to deal duplicating docs in two places. | ||
|
|
||
| This depends on [Docs site improvements #4](https://github.com/designsystemau/RFCs/pull/4). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simplify the monorepo setup... depends on #1 and #4