Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update npm.json #441

Merged
merged 2 commits into from
Oct 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions programs/npm.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
{
"path": "$HOME/.node-gyp",
"movable": true,
"help": "You need to put the following into your npmrc:\n\n```\ncache=${XDG_CACHE_HOME}/npm\n```\n"
"help": "Export the following environment variables:\n\n```bash\nexport NPM_CONFIG_CACHE=\"$XDG_CACHE_HOME\"/npm\n```\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",
"help": "Export the following environment variables:\n\n```bash\nexport NPM_CONFIG_INIT_MODULE=\"$XDG_CONFIG_HOME\"/npm/config/npm-init.js\nexport NPM_CONFIG_CACHE=\"$XDG_CACHE_HOME\"/npm\nexport NPM_CONFIG_TMP=\"$XDG_RUNTIME_DIR\"/npm\n```\n",
"movable": true,
"path": "$HOME/.npm"
},
Expand Down
Loading