Files
pnpm/exec/lifecycle/package.json
Zoltan Kochan f871365adb feat!: use cleaner output for script execution (#11132)
* feat: use yarn-like output for script execution

Print `$ command` instead of `> pkg@version stage path\n> command`.
Show project name and path only when running in a different directory.

* fix: sort chalk dependency after @pnpm packages

* refactor: remove project info line from run output

* chore: add changeset

* refactor: print script command line to stderr

The `$ command` line is metadata, not program output. Printing it to
stderr keeps stdout clean for piping, matching bun's behavior.

* chore: update changeset to major
2026-03-28 15:58:03 +01:00

72 lines
2.0 KiB
JSON

{
"name": "@pnpm/exec.lifecycle",
"version": "1001.0.25",
"description": "Package lifecycle hook runner",
"keywords": [
"pnpm",
"pnpm11",
"lifecycle",
"scripts"
],
"license": "MIT",
"funding": "https://opencollective.com/pnpm",
"repository": "https://github.com/pnpm/pnpm/tree/main/exec/lifecycle",
"homepage": "https://github.com/pnpm/pnpm/tree/main/exec/lifecycle#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": "pn compile && pn .test",
"prepublishOnly": "pn compile",
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
"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/bins.linker": "workspace:*",
"@pnpm/core-loggers": "workspace:*",
"@pnpm/error": "workspace:*",
"@pnpm/fetching.directory-fetcher": "workspace:*",
"@pnpm/npm-lifecycle": "catalog:",
"@pnpm/pkg-manifest.reader": "workspace:*",
"@pnpm/store.cafs-types": "workspace:*",
"@pnpm/store.controller-types": "workspace:*",
"@pnpm/types": "workspace:*",
"chalk": "catalog:",
"is-windows": "catalog:",
"path-exists": "catalog:",
"run-groups": "catalog:",
"shlex": "catalog:"
},
"peerDependencies": {
"@pnpm/logger": "catalog:"
},
"devDependencies": {
"@pnpm/exec.lifecycle": "workspace:*",
"@pnpm/logger": "workspace:*",
"@pnpm/prepare": "workspace:*",
"@pnpm/test-fixtures": "workspace:*",
"@pnpm/test-ipc-server": "workspace:*",
"@types/is-windows": "catalog:",
"@zkochan/rimraf": "catalog:",
"load-json-file": "catalog:"
},
"engines": {
"node": ">=22.13"
},
"jest": {
"preset": "@pnpm/jest-config"
}
}