Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.npmrc #299

Open
16 of 36 tasks
breautek opened this issue Sep 12, 2021 · 0 comments
Open
16 of 36 tasks

.npmrc #299

breautek opened this issue Sep 12, 2021 · 0 comments
Assignees

Comments

@breautek
Copy link
Contributor

breautek commented Sep 12, 2021

Feature Request

  • Add .npmrc file to assert using https://registry.npmjs.org registry.

Motivation Behind Feature

https://lists.apache.org/thread.html/raa963b0c2349e8d08d6c2f9d557b9055402d6410d35d4e9573b63cab%40%3Cdev.cordova.apache.org%3E

To summarize, for users who have alternate NPM configurations and use private and/or NPM mirrors, it can be easy to install packages from a source other than the official NPM registry without realizing it. It's in Cordova's interest to ensure that NPM runs with a configuration of using the official NPM registry.

We can correct this via adding an .npmrc file to each of our repos with the following config:

registry=https://registry.npmjs.org

Implementation Progress

Platforms

Plugins

Tooling

Excluded:

  • cordova-status
  • cordova
  • any unused, outdated, or deprecated repos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant