From c3b692c02f5c421d27471c8a20c2c6825c727863 Mon Sep 17 00:00:00 2001 From: Matt Ickstadt Date: Sat, 6 May 2023 12:41:55 -0500 Subject: [PATCH] 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 --- programs/npm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }, -- 2.47.3