Hi, as a workaround we are attempting to copy the libraries from node_modules and upload it into the repo to use as a local library, however when we do so, on runtime we face a strange console bug as shown below:
weirdBug.PNG (22.07 KiB) Viewed 3503 times
The only change is that package.json points to the local uploaded @bryntum library which is copied from node_modules. This is to workaround the issue with Artifactory. Do you know why this is happening?
I think you should download libs from customerzone and then add custom packages to artifactory manually.
Then you wouldn't need to authorize with bryntum npm
scheduler-lib and grid-lib can be found in node_modules/@bryntum folder after package installation.
Use npm pack to tgzip them or npm publish to publish to your server.
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.