Skip to content

Releases: ghiscoding/native-copyfiles

v2.0.3

Choose a tag to compare

@github-actions github-actions released this 03 Jun 04:24

2.0.3 (2026-06-03)

Bug Fixes

  • remove duplicate code & add consistent curly braces (#79) (22d581f)

v2.0.2

Choose a tag to compare

@github-actions github-actions released this 01 Jun 23:56

2.0.2 (2026-06-01)

Bug Fixes

v2.0.1

Choose a tag to compare

@github-actions github-actions released this 27 Jan 22:55

2.0.1 (2026-01-27)

Bug Fixes

  • support more complex glob patterns, brace expansion & negation (#64) (9f501b0)

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Jan 04:10

2.0.0 (2026-01-27)

Major 2.0 Release ⚠️

This project now requires Node.JS >= 22.17.0 so that we can use the native fs.glob and drop tinyglobby (reducing the project size even more). With this major change, it is decreasing the lib size from 13.7kB to 1.85kB gzip 📦

Another small breaking change was done in the JS API, the source(s) and destination are now 2 separate arguments (which is different compared to v1.0 which had the destination inside the 1st argument array as the last element which was super confusing).

JS API change:

// previously source & destination were together as the 1st argument
- copyfiles(['src/styles/*.scss', 'dist/styles/sass'], { flat: true }, () => console.log('SASS files copied'));

// now split into 2 separate arguments (1st sources string or array, then 2nd argument is destination)
+ copyfiles('src/styles/*.scss', 'dist/styles/sass', { flat: true }, () => console.log('SASS files copied'));

// OR with multiple sources as 1st argument (array)
+ copyfiles(['src/source1.txt', 'src/source2.txt'], 'dist/assets', { up: 1 }, () => console.log('asset files copied'));

⚠ BREAKING CHANGES

  • deps: increase NodeJS engine requirement
  • move JS API target destination as 2nd argument (#59)
  • drop tinyglobby and use native fs.glob (#58)

Features

  • drop tinyglobby and use native fs.glob (#58) (6dfb43c)
  • move JS API target destination as 2nd argument (#59) (f497142)

Bug Fixes

  • adjust /** patterns to // for fs.globSync compatibility (#60) (e163688)

Miscellaneous Chores

  • deps: increase NodeJS engine requirement (e96bdf5)

v1.3.7

Choose a tag to compare

@github-actions github-actions released this 07 Nov 23:54

1.3.7 (2025-11-07)

Bug Fixes

  • copyfiles JS API options argument should be optional, fixes #49 (#50) (6dd26ea)

v1.3.6

Choose a tag to compare

@github-actions github-actions released this 26 Sep 17:27

1.3.6 (2025-09-26)

Bug Fixes

v1.3.5

Choose a tag to compare

@github-actions github-actions released this 14 Jul 22:53

1.3.5 (2025-07-14)

Bug Fixes

  • .git and node_modules should be excluded by default (#34) (7f3a4c9)

v1.3.4

Choose a tag to compare

@github-actions github-actions released this 09 Jul 23:37

1.3.4 (2025-07-09)

Bug Fixes

  • deps: update cli-nano to latest and add CLI examples (#32) (03c6023)

v1.3.3

Choose a tag to compare

@github-actions github-actions released this 05 Jul 05:38

1.3.3 (2025-07-05)

Further decrease project size yet again... 🚀

  • v1.2.0 → pkg-size: 792KB / 18 packages (yargs)
  • v1.3.0 → pkg-size: 350KB / 6 packages (cli-nano)
  • v1.3.1 → pkg-size: 300KB / 6 packages (cli-nano)
  • v1.3.3 → pkg-size: 287KB / 6 packages (cli-nano)

Bug Fixes

  • deps: bump all dependencies (f46c973)
  • deps: update cli-nano to latest w/better typing & smaller build (#29) (489b89e)
  • use only declaration maps (#30) (837fd07)

v1.3.2

Choose a tag to compare

@github-actions github-actions released this 02 Jul 05:36

1.3.2 (2025-07-02)

Bug Fixes

  • deps: upgrade cli-nano to new major version (#26) (9cf2fa3)