-
Notifications
You must be signed in to change notification settings - Fork 4k
Description
Is there an existing issue for this?
- I have searched the existing issues
This is a CLI Docs Problem, not another kind of Docs Problem.
- This is a CLI Docs Problem.
Description of Problem
I tried to search for related issues but the topic is pretty generic.
The tmp config option is marked as not used since v7 in the config docs:
DEPRECATED: This setting is no longer used. npm stores temporary files in a special location in the cache, and they are managed by
cacache.
But it's still documented as doing something in the npm folders docs:
Temporary files are stored by default in the folder specified by the
tmpconfig, which defaults to the TMPDIR, TMP, or TEMP environment variables, or/tmpon Unix andc:\windows\tempon Windows.https://docs.npmjs.com/cli/v8/configuring-npm/folders#temp-files
Potential Solution
If I've misunderstood it's depreciation feel free to close this. But it appears to me that these two pages are out of sync.
Either tmp does still do something or it doesn't.
Affected URL
https://docs.npmjs.com/cli/v8/configuring-npm/folders#temp-files