Files
pnpm/pkg-manifest/exportable-manifest/package.json
Dasa Paddock 29764fb140 feat(hooks): add beforePacking hook (#10303)
* feat(hooks): add `readPackageForPublishing` hook

* feat: pass project `dir` parameter to `readPackageForPublishing` hook

* chore: cleanup

* fix: add support for multiple pnpmfiles

* test: readPackageForPublishing hook

* test: add more tests

* test: small update

* refactor: pass in `hooks` as an option

* test: pass in `hooks` as an option

* test: small update

* chore: rename `readPackageForPublishing` to `beforePacking`
2025-12-21 15:49:47 +01:00

60 lines
1.7 KiB
JSON

{
"name": "@pnpm/exportable-manifest",
"version": "1000.1.7",
"description": "Creates an exportable manifest",
"keywords": [
"pnpm",
"pnpm11"
],
"license": "MIT",
"funding": "https://opencollective.com/pnpm",
"repository": "https://github.com/pnpm/pnpm/tree/main/pkg-manifest/exportable-manifest",
"homepage": "https://github.com/pnpm/pnpm/tree/main/pkg-manifest/exportable-manifest#readme",
"bugs": {
"url": "https://github.com/pnpm/pnpm/issues"
},
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": "./lib/index.js"
},
"files": [
"lib",
"!*.map"
],
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
"test": "pnpm run compile && pnpm run _test",
"prepublishOnly": "pnpm run compile",
"compile": "tsc --build && pnpm run lint --fix",
"_test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest"
},
"dependencies": {
"@pnpm/catalogs.resolver": "workspace:*",
"@pnpm/error": "workspace:*",
"@pnpm/read-project-manifest": "workspace:*",
"@pnpm/resolving.jsr-specifier-parser": "workspace:*",
"@pnpm/types": "workspace:*",
"p-map-values": "catalog:",
"ramda": "catalog:"
},
"devDependencies": {
"@pnpm/catalogs.config": "workspace:*",
"@pnpm/catalogs.types": "workspace:*",
"@pnpm/exportable-manifest": "workspace:*",
"@pnpm/pnpmfile": "workspace:*",
"@pnpm/prepare": "workspace:*",
"@types/cross-spawn": "catalog:",
"@types/ramda": "catalog:",
"cross-spawn": "catalog:",
"write-yaml-file": "catalog:"
},
"engines": {
"node": ">=20.19"
},
"jest": {
"preset": "@pnpm/jest-config"
}
}