Skip to content

Commit

Permalink
core: follow prefered way to install yarn
Browse files Browse the repository at this point in the history
The preferred way to manage Yarn is by-project and through Corepack, a
tool shipped by default with Node.js. Modern releases of Yarn aren't
meant to be installed globally, or from npm
(https://yarnpkg.com/getting-started/install).

call to update version:
yarn set version classic
  • Loading branch information
fembau committed Aug 28, 2023
1 parent c6d28b1 commit 6677fc5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,6 @@ yarn-error.log*

# typescript
*.tsbuildinfo
.history
.history

.yarn
1 change: 1 addition & 0 deletions documentation/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yarnPath: .yarn/releases/yarn-1.22.19.cjs
3 changes: 2 additions & 1 deletion documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
"dependencies": {
"vuepress-bar": "^0.4.4",
"vuepress-theme-reco": "^2.0.0-beta.3"
}
},
"packageManager": "[email protected]"
}
1 change: 1 addition & 0 deletions frontend/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yarnPath: .yarn/releases/yarn-1.22.19.cjs
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@
"typescript": "5.1.6",
"unimported": "1.29.2",
"whatwg-fetch": "3.6.2"
}
},
"packageManager": "[email protected]"
}

0 comments on commit 6677fc5

Please sign in to comment.