degit
degit copied to clipboard
Support XDG Base Directory Specification
Degit should be using $XDG_CACHE_HOME/degit
instead of ~/.degit
to store downloaded repositories.
This keeps users' home directories clean of dotfiles. It is being widely adopted by Linux/BSD applications.
See here for more info.
This could/should be considered a bug these days because the XDG Base Directory Specification has been a (well established) standard for over 10 years or so.
Agree. Forced to refuse from degit because of this
Currently, degit use https://github.com/Rich-Harris/degit/blob/master/src/utils.js#L127 home-ortmp
as a base directory determine way, maybe could use https://www.npmjs.com/package/xdg to instead.