From c0cec117975e9f71c5d70bcdfbaaafd46ad81277 Mon Sep 17 00:00:00 2001 From: Bartek Telec Date: Fri, 4 Aug 2023 09:36:37 +0200 Subject: [PATCH] chore: specify pnpm version in package json (#1676) --- CONTRIBUTING.md | 4 +++- package.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2635fcb5e..1df787cf6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 @@ -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 diff --git a/package.json b/package.json index 742fca231..bcac18e91 100644 --- a/package.json +++ b/package.json @@ -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": "pnpm@7.12.2", "exports": { ".": { "default": "./lib/index.js" @@ -23,7 +24,8 @@ "msw": "cli/index.js" }, "engines": { - "node": ">=14" + "node": ">=14", + "pnpm": "~7.12" }, "scripts": { "start": "tsup --watch",