mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-21 21:22:26 -04:00
Repo policy (.meta-updater) strips `optionalDependencies` from the main pnpm/package.json and enforces a specific field set on new workspace packages. This commit applies the auto-fixes: - agent/cafs-writer/package.json gets the standard keywords/repository fields and the self-referential devDependencies used across the repo - pnpm/package.json loses its `@pnpm/agent.cafs-writer` optionalDep; the dev path (pd.js) still loads the native module via the worker's nested node_modules. Bundled-production loading is a separate follow-up (needs prebuilds + move to `dependencies`). - worker keeps the optionalDep, which is what gates native loading in the dev path.
71 lines
2.0 KiB
JSON
71 lines
2.0 KiB
JSON
{
|
|
"name": "@pnpm/worker",
|
|
"version": "1100.0.1",
|
|
"description": "A worker for extracting package taralls to the store",
|
|
"keywords": [
|
|
"pnpm",
|
|
"pnpm11",
|
|
"tarball"
|
|
],
|
|
"license": "MIT",
|
|
"funding": "https://opencollective.com/pnpm",
|
|
"repository": "https://github.com/pnpm/pnpm/tree/main/worker",
|
|
"homepage": "https://github.com/pnpm/pnpm/tree/main/worker#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"exports": {
|
|
".": "./lib/index.js",
|
|
"./start": "./lib/start.js"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"!*.map"
|
|
],
|
|
"scripts": {
|
|
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"prepublishOnly": "pn compile",
|
|
"test": "pn compile && pn .test",
|
|
"compile": "tsgo --build && pn lint --fix",
|
|
".test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
|
|
},
|
|
"dependencies": {
|
|
"@pnpm/building.pkg-requires-build": "workspace:*",
|
|
"@pnpm/crypto.integrity": "workspace:*",
|
|
"@pnpm/error": "workspace:*",
|
|
"@pnpm/fs.graceful-fs": "workspace:*",
|
|
"@pnpm/fs.hard-link-dir": "workspace:*",
|
|
"@pnpm/fs.symlink-dependency": "workspace:*",
|
|
"@pnpm/store.cafs": "workspace:*",
|
|
"@pnpm/store.cafs-types": "workspace:*",
|
|
"@pnpm/store.create-cafs-store": "workspace:*",
|
|
"@pnpm/store.index": "workspace:*",
|
|
"@rushstack/worker-pool": "catalog:",
|
|
"is-windows": "catalog:",
|
|
"p-limit": "catalog:",
|
|
"semver": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"@pnpm/logger": "catalog:"
|
|
},
|
|
"optionalDependencies": {
|
|
"@pnpm/agent.cafs-writer": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@pnpm/logger": "workspace:*",
|
|
"@pnpm/types": "workspace:*",
|
|
"@pnpm/worker": "workspace:*",
|
|
"@types/is-windows": "catalog:",
|
|
"@types/semver": "catalog:"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.13"
|
|
},
|
|
"jest": {
|
|
"preset": "@pnpm/jest-config"
|
|
}
|
|
}
|