Skip to content

Commit

Permalink
chore: specify pnpm version in package json (#1676)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartektelec authored Aug 4, 2023
1 parent e87e00b commit c0cec11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ $ pnpm install
$ pnpm start
```

> Please use [PNPM][pnpm-url] while working on this project.
> Please use [PNPM][pnpm-url] version 7.12 while working on this project.
> Guide on how to install a specific PNPM version can be [found here][pnpm-install-guide-url].
## Git workflow

Expand Down Expand Up @@ -272,3 +273,4 @@ $ pnpm build
[pnpm-url]: https://pnpm.io/
[jest-url]: https://jestjs.io
[page-with-url]: https://github.com/kettanaito/page-with
[pnpm-install-guide-url]: https://pnpm.io/7.x/installation#installing-a-specific-version
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"packageManager": "[email protected]",
"exports": {
".": {
"default": "./lib/index.js"
Expand All @@ -23,7 +24,8 @@
"msw": "cli/index.js"
},
"engines": {
"node": ">=14"
"node": ">=14",
"pnpm": "~7.12"
},
"scripts": {
"start": "tsup --watch",
Expand Down

2 comments on commit c0cec11

@n0r8
Copy link

@n0r8 n0r8 commented on c0cec11 Aug 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"pnpm": "~7.12" this one breaks when I use with pnpm 8+

@n0r8
Copy link

@n0r8 n0r8 commented on c0cec11 Aug 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean when I want to install package with pnpm 8+

Please sign in to comment.