Skip to content

Commit d72075f

Browse files
authored
feat(devex): package manager settings (#90)
* feat(devex): package manager settings * feat(devex): specify packageManager version
1 parent 65a86a3 commit d72075f

6 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish-storybook.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
- uses: pnpm/action-setup@v3
3131
name: Install pnpm
3232
with:
33-
version: 8
3433
run_install: false
3534

3635
- name: Get pnpm store directory

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
- name: Install pnpm
3030
uses: pnpm/action-setup@v3
3131
with:
32-
version: 8
3332
run_install: false
3433
- name: Install dependencies
3534
run: pnpm i --frozen-lockfile

.github/workflows/tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
- uses: pnpm/action-setup@v3
2525
name: Install pnpm
2626
with:
27-
version: 8
2827
run_install: false
2928

3029
- name: Get pnpm store directory

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package-manager-strict-version = true
2+
manage-package-manager-versions = true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function MyForm() {
137137
### First time setup
138138

139139
- Install node.js (only Node v20 is currently supported)
140-
- Install pnpm: [https://pnpm.io/installation](https://pnpm.io/installation) (use pnpm 8.6.8+)
140+
- Install the version of [pnpm](https://pnpm.io/installation) specified in the `packageManager` field in `package.json`
141141
- Clone this repository
142142
- Install dependencies: `pnpm i --frozen-lockfile`
143143
- Run tests: `pnpm test`

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"private": false,
44
"license": "MIT",
55
"description": "ant design renderer set for the jsonforms declarative form framework",
6+
"packageManager": "pnpm@8.15.9",
67
"keywords": [
78
"jsonschema",
89
"form",

0 commit comments

Comments
 (0)