-
I've had a quick play around attempting to set this in .yarnrc and .npmrc but it appears the dependencies api call isn't parsing these when looking for a newly added dependency. For example I ran |
Beta Was this translation helpful? Give feedback.
Replies: 20 comments 5 replies
-
Hmm, this is an interesting one. It should be possible if we add it as a config to the packager before we install, though we need to open an API to remember the custom registries per sandbox. I'll put it in the pipeline. |
Beta Was this translation helpful? Give feedback.
-
Hey man, great job in the Codesandbox. |
Beta Was this translation helpful? Give feedback.
-
Any progress on this? |
Beta Was this translation helpful? Give feedback.
-
Any progress on this? |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
We use Artifactory to host npm registries inside a corporate firewall. I can't quite remember the exact details of what I was trying to accomplish at the time but our basic use-case is still the same. I guess the main question is does Code Sandbox pull dependencies via the browser or the server. If it's the browser on the client machine then our own DNS would be able to point to the internal Artifactory but if it's the server then it's not possible to get our scenario to work. |
Beta Was this translation helpful? Give feedback.
-
We do both depending on the sandbox type, but we hope to be able to support client-side downloading for all types as we tackle this. |
Beta Was this translation helpful? Give feedback.
-
@garethx I had a question about this. we currently have a set of private scoped packages that are on NPM. Is there anyway to access these via codesandbox? |
Beta Was this translation helpful? Give feedback.
-
@donovanclarke No, that will be covered as part of this work. |
Beta Was this translation helpful? Give feedback.
-
We use cloudsmith as the private registry, with credentials/settings stored in
|
Beta Was this translation helpful? Give feedback.
-
In our company we use Our
|
Beta Was this translation helpful? Give feedback.
-
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 ives@codesandbox.io and state how you use private npm packages? We're interested in:
|
Beta Was this translation helpful? Give feedback.
-
It's cool and I can't wait to see it. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
The issue has not been resolved? 😅 |
Beta Was this translation helpful? Give feedback.
-
Are there any updates on this? I would also like to use private packages with codesandbox. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
@garethx |
Beta Was this translation helpful? Give feedback.
-
@vaalgrind I'll include you in the next cohort - will go out later this week. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone! I converted it to a discussion as the feature has been released but I am sure there will be more questions 👍 |
Beta Was this translation helpful? Give feedback.
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