Skip to content

RESERVED_SCRIPT_NAMES

const RESERVED_SCRIPT_NAMES: ReadonlySet<string>

Defined in: cli/astromech/src/vocabulary/reserved-script-names/reserved-script-names.ts:7

Script names npm and pnpm give a meaning of their own, so no task may be named like one (spec ci-flat-task-vocabulary, “npm lifecycle and package-manager names”): pnpm publish runs a script called publish after publishing, prepare and the install hooks run on pnpm install, version hooks wrap npm version. That is why the task is release. prepare stays a root script (husky) and can never be a task.