This feature allows to add configuration option to NPM. For example _authToken for private pakcages.
User should be able to create his own .npmrc file in the project root directory, or it could be added to the "Configuration Files" section.
I really like this idea. We've been talking about custom npm registry support before, but I didn't think of an implementation like this. This seems like the most simple and straightforward solution to it.
Would love to see this feature too!
Any progress for this?
I'd like to help implement this, but have absolutely no idea where to start from >~< For my specific use case, I'd be running the codesandbox client on a private infrastructure; not sure if that is relevant or not (probably not?)
I'm also interested in contributing to this. I've setup my local for the client, but it does seem like there will have to be an update to the packager as well. I'm not sure how to get that service setup for testing.
We'd be keen to know how you use private npm registries so that we can build an implementation that fits your needs. In particular, do you use a service for your private npm registries? (Like GitHub Package Registry) and do you host your npm registry within a VPN? Thanks
a service of our private npm registries @garethx
Sure, but which service and is it within a VPN?
If it's of any help, we are using https://verdaccio.org/ and the packages are available in our office networks (and via VPN).
It is, thanks! We're looking to get specifics from as many folks as possible to make sure our solution works for all.
I would like this feature too. We at VMware have a number of internal libraries that use an internal registry only available within our VPN. That is, we set registry=https://build-artifactory.eng.vmware.com/artifactory/api/npm/npm We are building a library that displays angular editable example and are currently using stackblitz but would switch over if this is implemented since they also don't support it. See https://github.com/vmware/vmware-cloud-director-ui-components/tree/master/projects/doc-lib and live examples at https://vmware.github.io/vmware-cloud-director-ui-components/dataExporter . Many of the other examples are currently broken, don't try them all :p
Please excuse some wrong information in the README, we haven't published this repo yet.
We don't need full npmrc support though, just the registry entry.
Hi
I The need to import in FontAwesome Pro Icons requires a custom NPMRC
https://fontawesome.com/how-to-use/on-the-web/setup/using-package-managers
Be great to have it live
This will be a very helpful feature. We have a private npm registry accessible within VPN.
I found a similar issue #97 which was opened long back.
We're now finally working full-time on this, but we'd love to have your input so we can make sure that we cover all cases. If you're interested in helping us with this, could you send an email to [email protected] and state how you use private npm packages?
We're interested in:
This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.
This is now available to pilot users. Docs are here: https://codesandbox.io/docs/custom-npm-registry and you can register to join the pilot here: https://airtable.com/shrlgLSJWiX8rYqyG
Most helpful comment
Would love to see this feature too!