Skip to content

Publish npm packages

rvs selects the correct Ravenstash publication target for the command it launches.

With an authenticated rvs session, publish from the package directory without persisting a token:

Terminal window
rvs art select namespace/packages
rvs npm publish

The Ravenstash-oriented helper is also available:

Terminal window
rvs art select namespace/packages
rvs art npm publish .

Preview the tarball contents before uploading:

Terminal window
rvs art select namespace/packages
rvs npm pack --dry-run
rvs npm publish

The target determines the upload registry; no registry URL or token needs to be committed to package.json or .npmrc.

  1. Confirm npm reports a successful publish.
  2. Open the package in Ravenstash and inspect the new version.
  3. Select the same repository target as described in Install npm packages.
  4. Install the exact version in a clean project.