Császár Ákos10/27/2023, 6:59 AM
But every time I try, it can't access the packages from registry.npmjs.org/. So my question is, is it possible to do this from the .npmrc file? If yes how should it look like and is it enough if I put it in the project root of my KMP project? My goal is to run the ./gradlew jsBrowserProductionWebpack task and collect every package from the defined registries.
registry=<http://serverA.url/repository-uri/> //serverA.url/repository-uri/:_authToken=00000000-0000-0000-0000-0000000000000 //registry.npmjs.org/
Artem Kobzar10/27/2023, 8:12 AM
Ilya Goncharov [JB]10/27/2023, 10:14 AM
in project dir should work. We do not process it on our side, Yarn do. I am not sure, that it support several npm registries apart from registry for scope https://stackoverflow.com/questions/32633678/is-there-any-way-to-configure-multiple-registries-in-a-single-npmrc-file
Császár Ákos10/30/2023, 8:32 AM