Skip to content

Conversation

@dominikwilkowski
Copy link
Member

@dominikwilkowski dominikwilkowski commented Aug 13, 2021

Simplify the monorepo setup... depends on #1 and #4

@elisechant elisechant changed the title Added RFC to simplify monorepo Simplify monorepo Dec 13, 2021

## 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.
Copy link
Contributor

@elisechant elisechant Dec 13, 2021

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.

This was referenced Dec 13, 2021
@dominikwilkowski dominikwilkowski marked this pull request as ready for review December 14, 2021 03:12

- [prettier](https://prettier.io/)
- [manypkgs](https://github.com/Thinkmill/manypkg)
- [preconstruct](https://preconstruct.tools/)
Copy link
Contributor

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).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think #4 comes after this, so #4 depends on #2. Can remove this line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants