-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
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 (chore: npmrc cordova-android#1348)
- cordova-browser (chore: Added .npmrc cordova-browser#117)
- cordova-electron
- cordova-ios (chore: npmrc cordova-ios#1145)
Plugins
- cordova-plugin-battery-status
- cordova-plugin-camera (chore: npmrc cordova-plugin-camera#893)
- cordova-plugin-device
- cordova-plugin-dialogs (chore: npmrc cordova-plugin-dialogs#188)
- cordova-plugin-file (chore: npmrc cordova-plugin-file#490)
- cordova-plugin-file-transfer (chore: .npmrc cordova-plugin-file-transfer#323)
- cordova-plugin-geolocation (chore: npmrc cordova-plugin-geolocation#236)
- cordova-plugin-inappbrowser
- cordova-plugin-media
- cordova-plugin-media-capture (chore: npmrc cordova-plugin-media-capture#305)
- cordova-plugin-network-information
- cordova-plugin-screen-orientation (chore: npmrc cordova-plugin-screen-orientation#103)
- cordova-plugin-splashscreen
- cordova-plugin-statusbar
- cordova-plugin-vibration
Tooling
- cordova-cli (chore: npmrc cordova-cli#564)
- cordova-coho (chore: npmrc cordova-coho#288)
- cordova-common (chore: npmrc cordova-common#173)
- cordova-create
- cordova-fetch
- cordova-js
- cordova-lib (chore: npmrc cordova-lib#881)
- cordova-node-xcode
- cordova-paramedic (chore: npmrc cordova-paramedic#223)
- cordova-plugin-test-framework
- cordova-serve
- cordova-docs (chore: npmrc cordova-docs#1204)
- cordova-app-hello-world
- cordova-test-platform
- cordova-mobile-spec
- cordova-plugman (chore: npmrc cordova-plugman#157)
- cordova-eslint (chore: npmrc cordova-eslint#18)
Excluded:
cordova-status
cordova
- any unused, outdated, or deprecated repos
Metadata
Metadata
Assignees
Labels
No labels