- Uprade requirements to node
8.0.0
(usesutil.promisify
) - Use
fs.copyFile
where available - remove
getCallerFileName
. This shouldn't have been part of this package in the first place in retrospect :/
- Fix wrong return type for
exists()
- NEW: Use
getCallerFileName
to get the name of the file a function is called in
- Fix npm package not containing
readJSON
.
- Breaking:
copyFile
is renamed tocopy
and supports directories alongside files - Breaking:
deleteFile
is renamed toremove
and supports directories alongside files - NEW:
exists
function to check if a file or folder exists - NEW:
readJson
andwriteJson
to safely read json files
- Don't fail on
writeFile
if directory already exists
- Fix
deleteFile
typings
- Move
@types/glob
and@types/node
todependencies
(consuming modules would fail) - Minor typing enhancements
- Add
replaceExtension
function - Add unit-tests
- cleanup empty target file on
copyFile
rejection - return path of newly created file for
copyFile
- Don't autogenerate typings. The custom ones are more solid.
- Fix
readFile
typings - Fix spelling mistake in
README
- Add
copyFile
function
- Add
mkdirp
wrapper
- Don't change default encoding
- Add
fs.readdir
promise variant
- Allow passing glob options to
find
- Fix
writeFiles
failing on directory creation
- Initial Release