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

yarn add should be used to install packages instead of yarn install #9562

Merged
merged 5 commits into from
Jan 2, 2024

Conversation

DET171
Copy link
Contributor

@DET171 DET171 commented Jan 1, 2024

yarn install is used to install all packages for a project, and does not accept arguments.

Changes

  • Checks if ctx.packageManager is yarn, and if so, uses add instead of install

Docs

/cc @withastro/maintainers-docs for feedback!

Not sure if this needs to be explicitly stated in the upgrade section.

Copy link

changeset-bot bot commented Jan 1, 2024

🦋 Changeset detected

Latest commit: cbe7aaf

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pr: docs A PR that includes documentation for review label Jan 1, 2024
DET171 and others added 2 commits January 2, 2024 17:57
Fix install command for pnpm

Co-authored-by: Bjorn Lu <[email protected]>
@bluwy bluwy merged commit 67e06f9 into withastro:main Jan 2, 2024
13 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: docs A PR that includes documentation for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants