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

[styleguide] Use Turborepo and Changesets, remove Lerna #22

Merged
merged 2 commits into from
May 6, 2022

Conversation

jonsamp
Copy link
Member

@jonsamp jonsamp commented May 6, 2022

Why

Since Lerna is now no longer maintained, I am transferring our styleguide repos to use turborepo and changesets to build and release our packages.

I added directions on how to get started with these new commands in the README.md, but they are more or less drop-in replacements for Lerna.

Test plan

Make sure that the instructions in the readme make sense, and that you can run yarn, then yarn build successfully. Running yarn build more than once should be ">>> FULL TURBO", since turborepo caches the build results and only repeats them when changes are present.

After building the repo, you should be able to run yarn create:release, which should ask you some questions, then create a file. Then running yarn version should apply the version to the appropriate packages. Finally, yarn publish should run npm publish and publish the packages.

@jonsamp jonsamp requested review from byCedric, Simek and FiberJW May 6, 2022 06:03
Copy link
Contributor

@Simek Simek left a comment

Choose a reason for hiding this comment

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

LGTM, I have tested the refactor locally and have no issues with build or dev scripts.

Also publish questionnaire seems to function as expected, great work Jon! 🙏

.changeset/README.md Outdated Show resolved Hide resolved
@jonsamp jonsamp merged commit 44a9780 into main May 6, 2022
@jonsamp jonsamp deleted the jon/turborepo branch May 6, 2022 18:44
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.

None yet

2 participants