Skip to content
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

chore: move to monorepo #1297

Merged
merged 6 commits into from
Mar 23, 2019
Merged

chore: move to monorepo #1297

merged 6 commits into from
Mar 23, 2019

Conversation

endiliey
Copy link
Contributor

@endiliey endiliey commented Mar 23, 2019

Motivation

Move to monorepo with yarn workspaces and lerna. Still lot of WIP and CI will break.

Overall new structure is here https://github.com/endiliey/Docusaurus/tree/monorepo

Will need to start moving things to packages/* and publish stuff as scoped package under @Docusaurus

Changes:

  1. Now only one yarn at root is needed to install all dependencies
  2. All prettier, test, lint command should be done at root

One thing to note is that we still put v2 as docusaurus-2 name for now, but we'll switch back to docusaurus later on when we really cut v1 branch on GitHub and remove v1 package. This is because yarn workspaces doesnt allow two package with same name (although different version)

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

CI pass

@endiliey endiliey added the status: don't merge yet This PR is completed, but we are still waiting for other things to be ready. label Mar 23, 2019
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Mar 23, 2019
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit 8250a76

https://deploy-preview-1297--docusaurus-2.netlify.com

Copy link
Contributor

@yangshun yangshun left a comment

Choose a reason for hiding this comment

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

600 files, my browser cannot take it, it is lagging so badly 😅

@endiliey
Copy link
Contributor Author

It's mostly rename 😢 MY browser is lagging too. They should enable filter to not show rename

@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-preview ready!

Built with commit 8250a76

https://deploy-preview-1297--docusaurus-preview.netlify.com

@endiliey endiliey merged commit 1f91d19 into facebook:master Mar 23, 2019
@endiliey endiliey deleted the monorepo branch March 23, 2019 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA status: don't merge yet This PR is completed, but we are still waiting for other things to be ready.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants