The local (or global) .npmrc will contain the Artifactory credentials only. We expect the credentials for Bryntum to be hidden from the developers or CI processes completely (by Artifactory). As far as they are concerned the packages are coming from Artifactory.
An Artifactory virtual repository will try all of the local and remotes within it in the order specified in order to find a requested artifact.
Nothing special is needed in the project, in fact most of our projects do not have a .npmrc as we rely on the development environment or build environment to have a user level one.
So your package.json entry would be exactly what we would expect.
We've updated server to support username/password auth for Artifactory.
Tokens are yet not supported due to some issues from Artifactory side.
Could you please check if this instruction valid for serving packages.
These docs will be available online after update.
You might know of this already but this is here for someone who may search for the solution.
To use Bryntum NPM registry as a remote repository please follow this instruction.
Add Bryntum registry as a remote repository
In Artifactory admin console navigate to Administration - Repositories and click Add repositories - Remote
repository.
After creating remote repository click on wrench icon (Set Me Up) in the line with the repository to get credentials for
accessing repository.
Create .npmrc file in the project's folder and add credentials there for @bryntum scope packages:
For example if you use JFrog Platform for hosting your Artifactory registry (e.g. yourregistry.jfrog.io) for
Artifactory with the user name user@example.com than you will have similar config:
<BASE64_PASSWORD> will be generated for you in Artifactory console if you enter your credentials there.
After these actions you will be able to install @bryntum packages with your Artifactory login from .npmrc file.
Later you may add bryntum Artifactory remote repository to any virtual repository to have access to several
repositories with the same Artifactory credentials.