Skip to content

Commit

Permalink
feat(devex): package manager settings (#90)
Browse files Browse the repository at this point in the history
* feat(devex): package manager settings

* feat(devex): specify packageManager version
  • Loading branch information
dctalbot authored Aug 13, 2024
1 parent 65a86a3 commit d72075f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false

- name: Get pnpm store directory
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false
- name: Install dependencies
run: pnpm i --frozen-lockfile
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false

- name: Get pnpm store directory
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package-manager-strict-version = true
manage-package-manager-versions = true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function MyForm() {
### First time setup

- Install node.js (only Node v20 is currently supported)
- Install pnpm: [https://pnpm.io/installation](https://pnpm.io/installation) (use pnpm 8.6.8+)
- Install the version of [pnpm](https://pnpm.io/installation) specified in the `packageManager` field in `package.json`
- Clone this repository
- Install dependencies: `pnpm i --frozen-lockfile`
- Run tests: `pnpm test`
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": false,
"license": "MIT",
"description": "ant design renderer set for the jsonforms declarative form framework",
"packageManager": "[email protected]",
"keywords": [
"jsonschema",
"form",
Expand Down

0 comments on commit d72075f

Please sign in to comment.