X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/b1e9bca3febc4ee29b647b1afcd575acf8edeaa2..eae4a2b6d4390f7aa1632c293311bc5553a6df0f:/programs/npm.json diff --git a/programs/npm.json b/programs/npm.json index b72361d..7ae081b 100644 --- a/programs/npm.json +++ b/programs/npm.json @@ -1,14 +1,14 @@ { "files": [ { - "path": "$HOME/.npm", + "help": "You need to put the following into your npmrc:\n\n```\nprefix=${XDG_DATA_HOME}/npm\ncache=${XDG_CACHE_HOME}/npm\ninit-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js\ntmp=${XDG_RUNTIME_DIR}/npm\n```\n\n_Note: the `tmp` option has been removed in more recent versions of npm, including it will generate a warning._\n", "movable": true, - "help": "You need to put the following into your npmrc:\n\n```\nprefix=${XDG_DATA_HOME}/npm\ncache=${XDG_CACHE_HOME}/npm\ntmp=${XDG_RUNTIME_DIR}/npm\ninit-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js\n```\n" + "path": "$HOME/.npm" }, { - "path": "$HOME/.npmrc", + "help": "Export the following environment variables:\n\n```bash\nexport NPM_CONFIG_USERCONFIG=\"$XDG_CONFIG_HOME\"/npm/npmrc \n```\n", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nexport NPM_CONFIG_USERCONFIG=\"$XDG_CONFIG_HOME\"/npm/npmrc \n```\n" + "path": "$HOME/.npmrc" } ], "name": "npm"