You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2021/09/12 12:12:23 UTC

[GitHub] [cordova] breautek opened a new issue #299: .npmrc

breautek opened a new issue #299:
URL: https://github.com/apache/cordova/issues/299


   # 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
   
   - [ ] cordova-android
   - [ ] cordova-browser
   - [ ] cordova-electron
   - [ ] cordova-ios
   - [ ] cordova-osx
   - [ ] cordova-windows
   
   ### Plugins
   
   - [ ] cordova-plugin-battery-status
   - [ ] cordova-plugin-camera
   - [ ] cordova-plugin-device
   - [ ] cordova-plugin-dialogs
   - [ ] cordova-plugin-file
   - [ ] cordova-plugin-geolocation
   - [ ] cordova-plugin-inappbrowser
   - [ ] cordova-plugin-media
   - [ ] cordova-plugin-media-capture
   - [ ] cordova-plugin-network-information
   - [ ] cordova-plugin-screen-orientation
   - [ ] cordova-plugin-splashscreen
   - [ ] cordova-plugin-statusbar
   - [ ] cordova-plugin-vibration
   - [ ] cordova-plugin-whitelist
   
   ### Tooling
   
   - [ ] cordova-cli
   - [ ] cordova-coho
   - [ ] cordova-common
   - [ ] cordova-create
   - [ ] cordova-fetch
   - [ ] cordova-js
   - [ ] cordova-lib
   - [ ] cordova-node-xcode
   - [ ] cordova-paramedic
   - [ ] cordova-plugin-test-framework
   - [ ] cordova-serve
   - [ ] cordova-docs
   - [ ] cordova-app-hello-world
   - [ ] cordova-test-platform
   - [ ] cordova-mobile-spec
   - [ ] cordova-plugman
   
   _Excluded:_ 
   * `cordova-status`
   * `cordova`
   * any unused, outdated, or deprecated repos


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org