Skip to content

Commit b556576

Browse files
authored
Merge pull request #12 from MONEI/chore/migrate-yarn-to-pnpm
chore: migrate JS tooling from Yarn to pnpm
2 parents d88a0a1 + f79fb91 commit b556576

8 files changed

Lines changed: 3906 additions & 14 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v6
1212

1313
- name: Install uv
1414
uses: astral-sh/setup-uv@v5

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1111

1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414

1515
- name: Install uv and set Python version
1616
uses: astral-sh/setup-uv@v5

.gitignore

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ test.py
7676

7777
.idea
7878

79-
# Yarn
80-
.yarn/*
81-
!.yarn/patches
82-
!.yarn/plugins
83-
!.yarn/releases
84-
!.yarn/sdks
85-
!.yarn/versions
79+
# Yarn (legacy)
80+
yarn.lock
81+
.yarn/
82+
.pnp.*
83+
84+
# pnpm
85+
.pnpm-store/
8686

8787
##### UV specific
8888
.uv/.cache/

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yarn commitlint --edit $1
1+
pnpm commitlint --edit $1

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Run lint-staged to format Python files with Black
2-
yarn lint-staged
2+
pnpm lint-staged
33

44
# Run tests to ensure everything works
5-
yarn test
5+
pnpm test

.yarnrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,10 @@
3030
"lint-staged": "^16.2.7",
3131
"release-it": "^19.0.6"
3232
},
33-
"packageManager": "yarn@4.12.0"
33+
"pnpm": {
34+
"onlyBuiltDependencies": [
35+
"@openapitools/openapi-generator-cli"
36+
]
37+
},
38+
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
3439
}

0 commit comments

Comments
 (0)