<!-- # Before Opening Please... - [x] Search for an existing/duplicate RRFC which might be relevant to your RRFC --> ## Motivation ("The Why") <!-- Examples Let us know why or how you thought of this idea. --> It's very bad for different users prefer different registries globally, I accidentally commit unexpected changes several times. ### Example <!-- Examples An example of what your idea might or could do for you and others. --> FYI, `yarn` 2+ and `pnpm` don't store registry info in their lockfile. ### How #### Current Behaviour <!-- Examples What is currently happening, which doesn't take care of your situation/context? --> Read it from `.npmrc` instead. #### Desired Behaviour <!-- Examples How would you like things to generally work to cover your situation/context? --> As title, `registry` should not be stored into `package-lock.json`, it would also make `package-lock.json` much smaller. ### References <!-- Examples * Related/Reference to #0 * Depends on #0 * Blocked by #0 --> * `yarn`: https://yarnpkg.com/configuration/yarnrc#npmRegistryServer * `pnpm`: https://pnpm.io/settings#registry--authentication-settings