Skip to content

Releases: acegoal07/file-tools

1.0.9

17 Jul 14:48
Compare
Choose a tag to compare

1.0.9

  • Fixes deletefile function that was not returning the class properly
  • Formatting of code to make it easier to read and standardized
  • Improves tests
  • Cuts down on functions in the package.json file

1.0.8

28 May 13:11
Compare
Choose a tag to compare

1.0.8

  • Quality of life improvements to code

1.0.7

22 Mar 15:03
Compare
Choose a tag to compare

1.0.7

  • Adds addition settings to copyFile which includes overwrite
  • Moves copyPath into addition settings of copyFile to allow you to enable overwrite but not have to specify a copyPath to enable it
  • Moves copyDir into addition settings of copyDir to allow you to enable overwrite but not have to specify a copyDir to enable it
  • Removes some checks that are not required within some functions
  • Adds overwrite to moveFile
  • In some locations switched from using fs.copyFileSync to fse.copySync to allow for additional settings
  • Removes settings parameter from moveDir and makes it so overwrite is its own parameter
  • Adds emptyDir
  • Adds a check for whether or not the file you are trying to create already exists is createFile
  • Makes it so copyFile edits the name of the file instead of the file type to add support for file without file types
  • Updates some error messages
  • Fixes copyDir adding a number to a copied folder when it shouldn't have a number
  • Rewrites the copy functions for both copyFile and copyDir to cut down on unneeded code

1.0.6

04 Feb 21:57
Compare
Choose a tag to compare

1.0.6

  • Makes it so if an error occurs with either fileExists or dirExists check it will return false
  • Adds renameDir
  • Adds moveDir
  • Adds copyDir
  • Completely removes all deprecated items
  • Adds fs-extra to dependencies

1.0.5

28 Jan 16:34
Compare
Choose a tag to compare

1.0.5

  • Makes it so you can run multiple functions without a new call of the class this is only available for functions that do not return any data
  • Breaks up UniversalFileTools into FileTools and DirectoryTools
  • Adds a check to anything that has a directory string input to make sure the string references a directory and not a file
  • Deprecates UniversalFileTools
  • Adds FileTools and DirectoryTools
  • Removes all directory tools from FileTools and moves them to DirectoryTools
  • Adds more checks to functions to prevent errors from occurring

1.0.4

25 Jan 19:54
Compare
Choose a tag to compare

1.0.4

  • Adds deleteDir function
  • Adds isDirEmpty function
  • Updates the wiki
  • Adds new build and test script to packages.json
  • Adds the ability to pass objects into write file
  • Improves copy file making to so you can copy a file multiple times without a destination
  • Makes it so all write functions uses base write function to cut down on the reuse of code

1.0.3

14 Jan 14:33
Compare
Choose a tag to compare

1.0.3

  • Cleans up files removing unneeded files from published version
  • Improves TypeScript files
  • Adds build script to package.json

1.0.2

13 Oct 15:35
Compare
Choose a tag to compare

1.0.2

  • Fixes copyFile making it so it stops turning files into json files when a copy location isn't specified

1.0.1

09 Oct 23:58
Compare
Choose a tag to compare

1.0.1

  • Fixes an issue with JsonFileTools trying to reference UniversalFileTools incorrectly

1.0.0

09 Oct 23:31
Compare
Choose a tag to compare

1.0.0

  • Initial release