duel

TypeScript dual packages.

MIT License

Downloads
1.5K
Stars
20

Bot releases are visible (Hide)

duel - Pre-release v1.0.0-rc.3

Published by knightedcodemonkey about 1 year ago

Changes:

  • Adds --parallel option to run the builds in parallel.
  • Updates the README.
duel - Pre-release v1.0.0-rc.2

Published by knightedcodemonkey about 1 year ago

  • 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.

duel - Pre-release v1.0.0-rc.1

Published by knightedcodemonkey about 1 year ago

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.
duel - Initial release candidate, v1.0.0-rc.0

Published by knightedcodemonkey about 1 year ago

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.
duel - Pre-release v1.0.0-alpha.4

Published by knightedcodemonkey about 1 year ago

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.
duel - Pre-release v1.0.0-alpha.3

Published by knightedcodemonkey about 1 year ago

Changes:

  • Add more test assertions to a successful build.
  • Update README.
  • Improve spacing in --help output.
duel - Pre-release v1.0.0-alpha.2

Published by knightedcodemonkey about 1 year ago

Changes:

  • Expands the README.
  • Removes unused dependency magic-string.
duel - Pre-release v1.0.0-alpha.1

Published by knightedcodemonkey about 1 year ago

Fixes:

  • Use correct pathing to peer dependency executable tsc.
duel - Initial Pre-release

Published by knightedcodemonkey about 1 year ago