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

Add Corepack to readme, update packageManager #545

Closed
Sharqiewicz opened this issue Aug 31, 2024 · 0 comments · Fixed by #547
Closed

Add Corepack to readme, update packageManager #545

Sharqiewicz opened this issue Aug 31, 2024 · 0 comments · Fixed by #547
Assignees
Labels
type:bug Something isn't working type:chore Maintenance tasks type:documentation Improvements or additions to documentation

Comments

@Sharqiewicz
Copy link
Collaborator

Problem:

The packageManager field in package.json specifies the package manager and its version for the project. However, it doesn't enforce the use of this package manager on its own.

What to do?

  • Update Yarn version
  • Add the note below to readme.md:
Enable Corepack by executing the command `corepack enable`. 
Corepack is included by default in Node.js, it manages the Yarn version specified in the `packageManager` field.

**Important:** Modern [Yarn](https://yarnpkg.com/getting-started/install) releases should not be installed globally or via npm - use Corepack instead.
@Sharqiewicz Sharqiewicz added type:bug Something isn't working type:chore Maintenance tasks type:documentation Improvements or additions to documentation labels Aug 31, 2024
@Sharqiewicz Sharqiewicz self-assigned this Aug 31, 2024
@Sharqiewicz Sharqiewicz linked a pull request Sep 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working type:chore Maintenance tasks type:documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant