Skip to content

improvement(repo): Migrate from yarn to pnpm #45

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

improvement(repo): Migrate from yarn to pnpm #45

wants to merge 2 commits into from

Conversation

jackyef
Copy link
Owner

@jackyef jackyef commented Feb 25, 2020

},
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build --scope=react-isomorphic-data --stream",
"bootstrap": "pnpm recursive install",
Copy link

Choose a reason for hiding this comment

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

pnpm install will work the same way as pnpm recursive install in a monorepo

"dev": "pnpm run dev --filter react-isomorphic-data",
"example": "pnpm run start --filter client",
"example:ssr": "pnpm run start --filter ssr",
"deploy": "pnpm run test && HUSKY_SKIP_HOOKS=true lerna publish --conventional-commits --create-release github",
Copy link

Choose a reason for hiding this comment

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

pnpm test would also work

@@ -0,0 +1,3 @@
packages:
- 'examples/*'
- 'packages/*'
Copy link

Choose a reason for hiding this comment

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

this will work for one level. If you have subdirs, use packages/**

@jackyef
Copy link
Owner Author

jackyef commented Mar 15, 2020

@zkochan Whoa, thanks a lot for your review! Keep being awesome!

@jackyef jackyef closed this Jul 31, 2022
@jackyef jackyef reopened this Jul 31, 2022
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.

2 participants