@reviseio/sdk is published privately to the public npm registry. It is not
installable without a token, and the token is issued to you as part of your
licence.
You do not need an npm account, an npm username, or any membership in our
organisation. The token is the whole story.
What you receive
A read-only access token, scoped to@reviseio/sdk alone. It looks like
npm_ followed by a long string. Treat it as a credential: it grants download
access to licensed software.
Local development
The quickest path on a personal machine is to write the credential to your user-level~/.npmrc, where it applies to every project and cannot be
committed by accident:
.npmrc that reads the token from the
environment:
.npmrc
@reviseio scope; every other dependency
resolves exactly as before. The second supplies the credential, expanded from
your environment at install time.
Yarn 2 and newer
Yarn Berry ignores.npmrc. Configure the scope in .yarnrc.yml instead:
.yarnrc.yml
.npmrc and need no special handling.
Continuous integration
Store the token as a secret and export it in the job. The committed.npmrc
needs no changes.
Behind a registry proxy
If your organisation routes installs through Artifactory, Nexus, Verdaccio, or similar, developers cannot authenticate directly and the token belongs in the proxy instead. Your platform team configures a remote repository forregistry.npmjs.org with the token as its upstream credential, scoped to
@reviseio. Developers then install normally, with no token and no .npmrc
change.
Tell us if this is your setup — it changes nothing about the package, but it is
worth confirming the scope is routed before your first install.
Versioning
The package follows semantic versioning. Pin what you ship:package.json
Rotating or revoking
Tokens can be reissued at any time — ask, and the old one stops working the moment the new one is generated. Rotate immediately if a token appears in a build log, a public repository, or a support ticket.Troubleshooting
404 Not Found on @reviseio/sdk
404 Not Found on @reviseio/sdk
The scope is not routed or the token is not being read. Check that
.npmrc sits at the project root, and that echo $REVISE_NPM_TOKEN
prints a value in the same shell you are installing from. npm reports
private packages you cannot see as 404 rather than 403.Works locally, fails in CI
Works locally, fails in CI
The secret is not exposed to the install step. Confirm the environment
variable is set on the job that runs
npm ci, not only at the workflow
level.ERESOLVE peer dependency errors
ERESOLVE peer dependency errors
The package needs React 18 or newer as a peer. On React 17 or earlier the
install fails by design.
Yarn cannot find the package
Yarn cannot find the package
Yarn 2 and newer ignore
.npmrc entirely. The scope must be configured in
.yarnrc.yml — see Yarn 2 and newer above.