Skip to content

Releases: homer0/cjs2esm

1.1.2

07 Mar 10:36
Compare
Choose a tag to compare

1.1.2 (2021-03-07)

Bug Fixes

  • downgrade jscodeshift to prevent issues with exports (befa6a6)

1.1.1

07 Mar 10:18
Compare
Choose a tag to compare

1.1.1 (2021-03-07)

Bug Fixes

  • disable husky on CD action (6986dbf)
  • update dependencies (9f97fea)
  • use is-ci to prevent husky from running on the CI (ed5e7ae)

1.1.0

10 Aug 06:35
Compare
Choose a tag to compare

1.1.0 (2020-08-10)

Bug Fixes

  • add support for files with shebang (f57f8db)
  • add support for require('.') (a254a3f)

Features

  • add a prepublishOnly script to create a ESM version (a83c5c7)

1.0.0

09 Aug 16:12
Compare
Choose a tag to compare

1.0.0 (2020-08-09)

Bug Fixes

  • allow the use of the .js extension (c334ebb)
  • flat sub directories' contents (f62709d)
  • make a proxy for require (ef97f20)
  • move the generic functions into a utility file (b4ce5fc)
  • reload the list of imports after the first change (a586244)
  • remove support for package.json on the path from the main (6683ec9)
  • use more specific options for the extension handling (59121dc)
  • use the fn to parse JS files when looking for a extension (454475b)

Features

  • add error handling (07001ab)
  • add functionality to clean the output directory (bf35add)
  • add functionality to load the configuration (c0b353f)
  • add package.json on the output directory with type module (8b9063b)
  • add transformation for module paths (ec43420)
  • add transformation to add missing mjs extensions (350c78d)
  • add transformations for default exports (40a5c14)
  • find and copy all the files to the output directory (88f77a4)
  • show ellapsed time (4c1c8d6)
  • transform imports and exports (1e4ee4d)
  • update project package.json and add module entry (f171e03)