Hey,
As version 4.1.0 brought us NPM support, I'm trying to install components via npm install.
I can do it as documented, using npm login
and authorizing first before installing.
What I'd like to do, is to put authorization details in project's .npmrc file and be able to install packages normally by npm install
, so I wouldn't need to do npm login
seperately.
I am however not able to do this. I've tried multiple combinations (putting details in .npmrc) but none of them works. Some combinations returns HTTP 501 response while some 401, unable to authenticate.
Is the configuration below correct, or am I doing something wrong? Or is this even possible?
@bryntum:registry=https://npm.bryntum.com/
//npm.bryntum.com/:username=<username>
//npm.bryntum.com/:password=<password>
//npm.bryntum.com/:email=<email>
This would help a lot, especially during automated build processes.