Files
pnpm/exec/commands
Zoltan Kochan 0407e36ab2 feat: support hidden scripts starting with '.' (#11041)
Scripts starting with '.' are hidden:
- Cannot be run directly via 'pnpm run .script' (throws HIDDEN_SCRIPT error)
- Can only be called from other scripts (detected via npm_lifecycle_event)
- Omitted from 'pnpm run' listing

This allows packages to have internal scripts that are implementation
details, preventing accidental direct execution. Similar to how
dotfiles are hidden in file systems.
2026-03-20 17:59:11 +01:00
..

@pnpm/plugin-commands-script-runners

Commands for running scripts

npm version

Installation

pnpm add @pnpm/plugin-commands-script-runners

License

MIT