From: Matt Ickstadt Date: Sat, 6 May 2023 17:41:55 +0000 (-0500) Subject: Fix npmrc env var format X-Git-Tag: v0.2.0.2~58^2 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/c3b692c02f5c421d27471c8a20c2c6825c727863?ds=sidebyside Fix npmrc env var format npmrc only supports interpolating env vars with braces like this. https://docs.npmjs.com/cli/v8/configuring-npm/npmrc#files --- diff --git a/programs/npm.json b/programs/npm.json index ecca1da..dc15fb6 100644 --- a/programs/npm.json +++ b/programs/npm.json @@ -1,7 +1,7 @@ { "files": [ { - "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", + "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, "path": "$HOME/.npm" },