npm custom registry
w
Todays Question How do I save the npm custom registry URL so I don't need to set it everytime? /cc @Jacob Overgaard or @Niels Lyngsø
j
Finally something easy to answer 😄 You create an .npmrc file and put in the following:
Copy code
@umbraco-cms:registry=https://www.myget.org/F/umbracoprereleases/npm/
Hint: If you also put in "legacy-peer-deps=true" you save on bandwidth not having to download all of our dependencies. I believe Vite creates this file by default but here goes:
Copy code
legacy-peer-deps=true
@umbraco-cms:registry=https://www.myget.org/F/umbracoprereleases/npm/