npm pack
needs to be able to save to a specific directory.
#316
Labels
Milestone
npm pack
needs to be able to save to a specific directory.
#316
Currently
npm pack
callsfs.writeFile
with a bare filename, ending with a tgz file that is written to whatever the cwd of the running node process is. This means that thetest/lib/pack.js
tests leave crud incwd
every time you run the tests.It would be nice to save those files inside a testDir so they get cleaned up automatically. It would also be nice to allow end users to specify where those files end up being generated.
The text was updated successfully, but these errors were encountered: