Skip to content

Install

shipped 1.0.0
npm i -g @xumana/cwp
cwp --version
cwp doctor

cwp is installed globally, once per machine — not per project. There is nothing to add to a project’s package.json, and no version of cwp is pinned per site.

Project state lives in two files, both YAML, both maintained by cwp init and cwp config set rather than by hand:

  • .cwp.yml in the repository, committed;
  • ~/.config/cwp/config.yml on your machine, never committed.

Environments and the two-layer config is the page about what goes in which.

Provenance

The package is published from GitLab CI through npm’s trusted publishing: a short-lived OIDC token is exchanged for a publish token, and npm generates a provenance attestation from it. No npm token exists anywhere in this project.

npm view @xumana/cwp

0.2.0 and 0.3.0 were published as @bernsteinkraft/cwp and are deprecated with a pointer here. They are not unpublished; a package somebody may have installed does not get removed from under them.