Skip to content

Releases: knightedcodemonkey/duel

Pre-release v1.0.0-rc.6

05 Aug 22:56
9990e8a
Compare
Choose a tag to compare
Pre-release

Changes:

Fixes:

  • Assign correct outDir in all use cases.

Pre-release v1.0.0-rc.5

04 Aug 17:45
d21c74c
Compare
Choose a tag to compare
Pre-release

Changes:

  • Stops deleting the build output directory defined by outDir before builds, and instead does a copy overwrite to the specified outDir, or dist if no outDir defined.

Pre-release v1.0.0-rc.4

04 Aug 15:12
db54ec4
Compare
Choose a tag to compare
Pre-release

Changes:

  • Use dist as a default outDir when one is not defined.
  • rm the outDir prior to build.
  • Add some timing around preparing parallel builds.
  • Update README.

Pre-release v1.0.0-rc.3

04 Aug 04:33
78fa30b
Compare
Choose a tag to compare
Pre-release

Changes:

  • Adds --parallel option to run the builds in parallel.
  • Updates the README.

Pre-release v1.0.0-rc.2

02 Aug 16:50
6cfa904
Compare
Choose a tag to compare
Pre-release
  • Adds --dirs option.
  • Updates dependency babel-dual-package.
  • Updates README.

BREAKING CHANGE:

  • Renames the dual build dir for CJS-first projects from mjs to esm. Update your project's exports before publishing after building with duel.

Once this package hits a stable 1.0.0 release there will be no breaking changes without changing the major version.

Pre-release v1.0.0-rc.1

02 Aug 04:52
9bff3f7
Compare
Choose a tag to compare
Pre-release

BREAKING CHANGE:

  • Deprecates --target-extension in favor of --pkg-dir to infer the dual build target from the package.json type field. Deprecates as in completely removes support. These are pre-releases after all.

Changes:

  • Adds --pkg-dir to indicate what directory to start looking for a package.json file. Defaults to the cwd. You should rarely, if ever need this.
  • Updates the documentation (README).
  • Builds should be slightly faster now that no copying of files is necessary post build since duel now uses --module nodenext in combination with dynamic package.json files.

Initial release candidate, v1.0.0-rc.0

31 Jul 20:25
919e176
Compare
Choose a tag to compare
Pre-release

Changes:

  • No substantial changes from the last release. Updates the README and ensures correct runtime behavior of the build output on Node.js starting from a CJS-first project.

Pre-release v1.0.0-alpha.4

30 Jul 22:08
dddbc46
Compare
Choose a tag to compare
Pre-release

Changes:

  • Allows a peerDependency on typescript 4.
  • Ensures the correct module system by file extension for each build, despite the difficulties in trying to do this with tsc alone.

Pre-release v1.0.0-alpha.3

29 Jul 02:31
bfd59a9
Compare
Choose a tag to compare
Pre-release

Changes:

  • Add more test assertions to a successful build.
  • Update README.
  • Improve spacing in --help output.

Pre-release v1.0.0-alpha.2

29 Jul 00:03
b16bb2e
Compare
Choose a tag to compare
Pre-release

Changes:

  • Expands the README.
  • Removes unused dependency magic-string.