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

update yarn, update readme.md on corepack #547

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.0.1.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.1.cjs
yarnPath: .yarn/releases/yarn-4.4.1.cjs
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ Web application for Pendulum. This project was bootstrapped with [vite](https://

In the project directory, you can run:

### Install yarn - corepack

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.

**Note:** If you are using Volta to manage your Node.js versions, you need to follow the
instructions [here](https://yarnpkg.com/corepack#volta).

### `yarn install`

Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "1.5.4",
"type": "module",
"packageManager": "yarn@4.0.1",
"packageManager": "yarn@4.4.1",
"scripts": {
"dev": "vite",
"build": "node version.cjs && tsc && vite build && echo '/* /index.html 200' | cat > dist/_redirects",
Expand Down
Loading
Loading