Releases: knightedcodemonkey/duel
Releases · knightedcodemonkey/duel
Pre-release v1.0.0-rc.6
Changes:
- Supports import attributes, in particular TypeScript's
resolution-mode
assertion.
Fixes:
- Assign correct
outDir
in all use cases.
Pre-release v1.0.0-rc.5
Changes:
- Stops deleting the build output directory defined by
outDir
before builds, and instead does a copy overwrite to the specifiedoutDir
, ordist
if nooutDir
defined.
Pre-release v1.0.0-rc.4
Changes:
- Use
dist
as a defaultoutDir
when one is not defined. rm
theoutDir
prior to build.- Add some timing around preparing parallel builds.
- Update README.
Pre-release v1.0.0-rc.3
Changes:
- Adds
--parallel
option to run the builds in parallel. - Updates the README.
Pre-release v1.0.0-rc.2
- Adds
--dirs
option. - Updates dependency
babel-dual-package
. - Updates README.
BREAKING CHANGE:
- Renames the dual build dir for CJS-first projects from
mjs
toesm
. Update your project'sexports
before publishing after building withduel
.
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
BREAKING CHANGE:
- Deprecates
--target-extension
in favor of--pkg-dir
to infer the dual build target from the package.jsontype
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
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
Changes:
- Allows a
peerDependency
ontypescript
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
Changes:
- Add more test assertions to a successful build.
- Update README.
- Improve spacing in
--help
output.
Pre-release v1.0.0-alpha.2
Changes:
- Expands the README.
- Removes unused dependency
magic-string
.