Our pure JavaScript Scheduler component


Post by tjmeal »

Dear all,

i have used https://bryntum.com/products/scheduler/docs/guide/Scheduler/npm-repository#access-tokens-for-cicd

In order to allow Vercel to build my project succesfully, the think is that the access code is pushed on give which is visible to all the developer.

What is the proper way of doing it without reveil access code to git ? Can i use some kind of environment variable or something?


Post by sergey.maltsev »

Hi!

Token for CI/CD should be stored in .npmrc file in project
If you don't want to keep it in VCS, then you may make some script which copies it from somewhere else before running installation.
I can't say how it is done in Vercel, though.

Please keep in mind, that no one could install packages without login.
So npm install will fail for devs without access.

If devs want installing, then you definitely should create and keep the file in VCS.


Post Reply