Skip to content

Commit

Permalink
update(Makefile): add corepack to install-yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Paget committed Aug 30, 2023
1 parent 6be9c04 commit eef834c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified .yarn/install-state.gz
Binary file not shown.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,10 @@ install-venv: check-prerequisites
. .venv/bin/activate; pip install -Ur requirements.txt

install-yarn: check-prerequisites
nvm install 14
nvm use 14
corepack enable
yarn set version stable
yarn install
make install-prettier


install-prettier: check-prerequisites
yarn add --dev --exact prettier
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"husky": "^4.2.5",
"markdown-spellcheck": "https://github.com/brendangadd/node-markdown-spellcheck.git#45cf81bfb56f298d0928461133aa9f264047dd49",
"prettier": "2.8.8"
"prettier": "3.0.3"
},
"packageManager": "[email protected]"
}
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1500,12 +1500,12 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:2.8.8":
version: 2.8.8
resolution: "prettier@npm:2.8.8"
"prettier@npm:3.0.3":
version: 3.0.3
resolution: "prettier@npm:3.0.3"
bin:
prettier: bin-prettier.js
checksum: b49e409431bf129dd89238d64299ba80717b57ff5a6d1c1a8b1a28b590d998a34e083fa13573bc732bb8d2305becb4c9a4407f8486c81fa7d55100eb08263cf8
prettier: bin/prettier.cjs
checksum: e10b9af02b281f6c617362ebd2571b1d7fc9fb8a3bd17e371754428cda992e5e8d8b7a046e8f7d3e2da1dcd21aa001e2e3c797402ebb6111b5cd19609dd228e0
languageName: node
linkType: hard

Expand Down Expand Up @@ -1585,7 +1585,7 @@ __metadata:
dependencies:
husky: ^4.2.5
markdown-spellcheck: "https://github.com/brendangadd/node-markdown-spellcheck.git#45cf81bfb56f298d0928461133aa9f264047dd49"
prettier: 2.8.8
prettier: 3.0.3
languageName: unknown
linkType: soft

Expand Down

0 comments on commit eef834c

Please sign in to comment.