@quality-sh/create-provenance
v0.2.3
Published
Install and initialize Provenance in a TypeScript project
Maintainers
Readme
@quality-sh/create-provenance
Install Provenance as a development dependency and initialize a TypeScript project:
npx --yes @quality-sh/create-provenanceThe initializer detects npm, pnpm, Yarn, Bun, Deno, or Nub from the
packageManager field or the project lockfile. Use an explicit selection when
a project contains lockfiles from more than one manager:
npx --yes @quality-sh/create-provenance --package-manager bunUse --path <path> to initialize a project outside the current directory. The
initializer installs the matching @quality-sh/provenance release, creates the
default scope, validates the new state, and adds .provenance/cache/ to
.gitignore.
Deno can block packages that are newer than its minimum dependency age. The initializer disables that age check for the Deno add operation so a new Provenance release can install immediately. This method also works with Deno versions that do not support the newer command option.
For Nub, the initializer permits low-download names for the complete add operation. It also replaces the configured release-age exclusion list for that operation with the Provenance package family. The configured age window still applies to all other package names during the add operation.
