Skip to content

Commit 22c079f

Browse files
committed
chore(package): improve project metadata configuration
- Add packageManager property with [email protected] - Fix engines property with valid semver syntax - Update Node.js requirement from >=20.x.x to >=22.0.0 - Change package manager from npm to pnpm in engines - Ensure consistency between packageManager and engines.pnpm Fixes #1181
1 parent 033d950 commit 22c079f

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/workflows/publish-release-beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v4
2323
with:
24-
version: latest
24+
version: 10.2.1
2525
- name: Install dependencies
2626
run: pnpm install --frozen-lockfile
2727
- name: Release

.github/workflows/publish-release-next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v4
2323
with:
24-
version: latest
24+
version: 10.2.1
2525
- name: Install dependencies
2626
run: pnpm install --frozen-lockfile
2727
- name: Release

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v4
2323
with:
24-
version: latest
24+
version: 10.2.1
2525
- name: Install dependencies
2626
run: pnpm install --frozen-lockfile
2727
- name: Release

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install pnpm
2828
uses: pnpm/action-setup@v4
2929
with:
30-
version: latest
30+
version: 10.2.1
3131
- name: Install dependencies
3232
run: pnpm install --frozen-lockfile
3333
- name: Lint (show only errors)

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@gouvminint/vue-dsfr",
33
"type": "module",
44
"version": "3.7.5",
5+
"packageManager": "[email protected]",
56
"license": "MIT",
67
"repository": {
78
"type": "git",
@@ -41,8 +42,8 @@
4142
"types"
4243
],
4344
"engines": {
44-
"node": ">=20.x.x",
45-
"npm": ">=10.x.x"
45+
"node": ">=22.0.0",
46+
"pnpm": ">=10.0.0"
4647
},
4748
"publishConfig": {
4849
"@gouvminint:registry": "https://registry.npmjs.com",

0 commit comments

Comments
 (0)