Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

chore: enforce pnpm via devEngines.packageManager (#3304)

nynexman446404655889611a
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 731ad8c9e0..ecc1bd582a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -33,8 +33,9 @@ Download and install from https://nodejs.org
### pnpm
Astryx uses [pnpm](https://pnpm.io/) as its package manager (declared in
-the `packageManager` field of `package.json`). The easiest way to install
-it is via [Corepack](https://nodejs.org/api/corepack.html), which ships
+the `packageManager` and `devEngines.packageManager` fields of
+`package.json`). The easiest way to install it is via
+[Corepack](https://nodejs.org/api/corepack.html), which ships
with Node.js:
```bash
diff --git a/package.json b/package.json
index 8a319dde19..837ac4fc10 100644
--- a/package.json
+++ b/package.json
@@ -63,6 +63,12 @@
"vitest": "^2.1.0"
},
"packageManager": "[email protected]",
+ "devEngines": {
+ "packageManager": {
+ "name": "pnpm",
+ "onFail": "error"
+ }
+ },
"workspaces": [
"apps/*",
"packages/*",