Files
pnpm/__utils__/test-ipc-server/package.json
Zoltan Kochan 421ceac0b3 chore: compile pnpm CLI bundle before tests that use it (#11059)
Packages whose tests spawn the local pnpm CLI (pnpm/bin/pnpm.mjs) need
the bundle (pnpm/dist/pnpm.mjs) to exist. Add `pnpm --filter pnpm run
compile` to their test scripts so the bundle is built before tests run.
2026-03-22 10:56:36 +01:00

31 lines
835 B
JSON

{
"name": "@pnpm/test-ipc-server",
"version": "1000.0.0",
"private": true,
"main": "lib/index.js",
"type": "module",
"types": "lib/index.d.ts",
"bin": {
"test-ipc-server-client": "./bin/test-ipc-server-client.js"
},
"devDependencies": {
"@pnpm/prepare": "workspace:*",
"@pnpm/test-ipc-server": "workspace:*",
"@types/node": "catalog:",
"execa": "catalog:"
},
"scripts": {
"lint": "eslint src/**/*.ts test/**/*.ts",
"compile": "rimraf tsconfig.tsbuildinfo lib && tsc --build",
"test": "pnpm run compile && pnpm --filter pnpm run compile && cross-env NODE_OPTIONS=--experimental-vm-modules jest"
},
"keywords": [
"pnpm",
"pnpm11"
],
"jest": {
"preset": "@pnpm/jest-config"
},
"repository": "https://github.com/pnpm/pnpm/tree/main/__utils__/test-ipc-server"
}