.npmrc
Opened this issue · 0 comments
breautek commented
Feature Request
- Add
.npmrc
file to assert usinghttps://registry.npmjs.org
registry.
Motivation Behind Feature
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
- cordova-android (apache/cordova-android#1348)
- cordova-browser (apache/cordova-browser#117)
- cordova-electron
- cordova-ios (apache/cordova-ios#1145)
Plugins
- cordova-plugin-battery-status
- cordova-plugin-camera (apache/cordova-plugin-camera#893)
- cordova-plugin-device
- cordova-plugin-dialogs
- cordova-plugin-file (apache/cordova-plugin-file#490)
- cordova-plugin-file-transfer (apache/cordova-plugin-file-transfer#323)
- cordova-plugin-geolocation (apache/cordova-plugin-geolocation#236)
- cordova-plugin-inappbrowser
- cordova-plugin-media
- cordova-plugin-media-capture
- cordova-plugin-network-information
- cordova-plugin-screen-orientation (apache/cordova-plugin-screen-orientation#103)
- cordova-plugin-splashscreen
- cordova-plugin-statusbar
- cordova-plugin-vibration
Tooling
- cordova-cli (apache/cordova-cli#564)
- cordova-coho (apache/cordova-coho#288)
- cordova-common (apache/cordova-common#173)
- cordova-create
- cordova-fetch
- cordova-js
- cordova-lib (apache/cordova-lib#881)
- cordova-node-xcode
- cordova-paramedic (apache/cordova-paramedic#223)
- cordova-plugin-test-framework
- cordova-serve
- cordova-docs (apache/cordova-docs#1204)
- cordova-app-hello-world
- cordova-test-platform
- cordova-mobile-spec
- cordova-plugman (apache/cordova-plugman#157)
- cordova-eslint (apache/cordova-eslint#18)
Excluded:
cordova-status
cordova
- any unused, outdated, or deprecated repos