Registry and auth
scpm uses npm registry protocols and pnpm-compatible .npmrc configuration.
Registries
registry=https://registry.npmjs.org/
@acme:registry=https://registry.example.test/
The global --registry flag overrides the default registry for one command:
scpm --registry=https://registry.example.test install
Commands such as publish, login, logout, deprecate, undeprecate, and
unpublish also accept their own --registry flag.
Tokens
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
Log in interactively or with a pasted token:
scpm login
scpm login --scope @acme --registry https://registry.example.test/
scpm logout --scope @acme
Proxies and TLS
scpm reads common npm proxy and TLS settings:
https-proxy=http://proxy.example.test:8080
noproxy=localhost,127.0.0.1
strict-ssl=true
cafile=/path/to/corp-ca.pem
Cache tools
scpm cache list
scpm cache view react
scpm cache delete '@babel/*'
scpm cache list-registries
These commands inspect and prune the packument metadata cache.
