For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuring pnpm

Point pnpm at the Seal Artifact Server using a per-project .npmrc.

pnpm reads registry configuration from .npmrc files, the same as npm. The configuration is identical.

Configuration

Create or edit .npmrc in the project root:

registry=https://npm.sealsecurity.io/
//npm.sealsecurity.io/:username=<project-id>
//npm.sealsecurity.io/:_password=<token-base64>
//npm.sealsecurity.io/:always-auth=true

Replace <project-id> with the Seal Project ID as a literal value. Replace <token-base64> with the base64 encoding of your production token:

echo -n "$SEAL_TOKEN" | base64        # macOS
echo -n "$SEAL_TOKEN" | base64 -w0    # Linux

The _password field is base64-decoded by pnpm in the same way as npm, so encoding the token is mandatory.

Verify

pnpm config get registry

The output should be https://npm.sealsecurity.io/. A clean pnpm install should resolve packages from the same host.

Last updated