mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-24 09:42:43 +00:00
4e9436a835
We want to have the system-level npmrc located at /etc/npmrc. By default, npm looks for it in /usr/etc/npmrc, so we placed a symlink to /etc/npmrc there. However, we are the only known package that has anything in /usr/etc, which confuses and/or breaks various tooling (see related bug). This gets rid of the symlink, and instead uses "builtin"-level configuration of npm to cause it to load the system-level configuration from /etc/npmrc. Related: rhbz#2177776 Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
5 lines
219 B
INI
5 lines
219 B
INI
# This is the distibution-level configuration file for npm.
|
|
# To configure NPM on a system level, use the globalconfig below (defaults to @SYSCONFDIR@/npmrc).
|
|
# vim:set filetype=dosini:
|
|
|
|
globalconfig=@SYSCONFDIR@/npmrc
|