turf icon indicating copy to clipboard operation
turf copied to clipboard

Pin pnpm version using corepack

Open RobinVdBroeck opened this issue 9 months ago • 1 comments

Please fill in this template.

  • [X] Use a meaningful title for the pull request. Include the name of the package modified.
  • [X] Have read How To Contribute.
  • [X] Run npm test at the sub modules where changes have occurred.
  • [X] Run npm run lint to ensure code style at the turf module level.

I had pnpm 9 (the latest version) installed globally, which resulted in changes to package-lock.json when running pnpm install. This pins the version of pnpm to pnpm v8 when using corepack. When not using corepack, it will still use the global installed version.

I've updated the documentation about this in CONTRIBUTING.md, let me know if I should also add this information in another place.

RobinVdBroeck avatar May 04 '24 14:05 RobinVdBroeck