Skip to content

Commit 261b193

Browse files
authored
chore(ci): revert Yarn v4 to Yarn Classic in pre-commit checks (#4876)
1 parent eff4df8 commit 261b193

3 files changed

Lines changed: 8 additions & 25 deletions

File tree

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ init:
1111

1212
# The node version manager is optional, so we don't fail if it's not installed.
1313
if [ -n "$NVM_DIR" ] && [ -d "$NVM_DIR" ]; then nvm use; fi
14-
# The corepack is optional, so we don't fail if it's not installed.
15-
if ! command -v corepack > /dev/null; then corepack enable; fi
1614

1715
yarn install
1816

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "placeholder_package",
33
"description": "Used to manage npm dependencies in pre-commit",
44
"version": "0.0.0",
5-
"packageManager": "yarn@4.6.0",
65
"devDependencies": {
76
"prettier": "3.5.0"
8-
}
7+
},
8+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
99
}

yarn.lock

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1-
# This file is generated by running "yarn install" inside your project.
2-
# Manual changes might be lost - proceed with caution!
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
33

4-
__metadata:
5-
version: 8
6-
cacheKey: 10c0
74

8-
"placeholder_package@workspace:.":
9-
version: 0.0.0-use.local
10-
resolution: "placeholder_package@workspace:."
11-
dependencies:
12-
prettier: "npm:3.5.0"
13-
languageName: unknown
14-
linkType: soft
15-
16-
"prettier@npm:3.5.0":
17-
version: 3.5.0
18-
resolution: "prettier@npm:3.5.0"
19-
bin:
20-
prettier: bin/prettier.cjs
21-
checksum: 10c0/6c355d74c377f5622953229d92477e8b9779162e848db90fd7e06c431deb73585d31fafc4516cf5868917825b97b9ec7c87c8d8b8e03ccd9fc9c0b7699d1a650
22-
languageName: node
23-
linkType: hard
5+
prettier@3.5.0:
6+
version "3.5.0"
7+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.5.0.tgz#50325a28887c6dfdf2ca3f8eaba02b66a8429ca7"
8+
integrity sha512-quyMrVt6svPS7CjQ9gKb3GLEX/rl3BCL2oa/QkNcXv4YNVBC9olt3s+H7ukto06q7B1Qz46PbrKLO34PR6vXcA==

0 commit comments

Comments
 (0)