Releases: denoland/dnt
Releases · denoland/dnt
0.41.3
What's Changed
- feat: upgrade @ts-morph/bootstrap to 0.23 (#407) by @dylanpyle in #408
- fix: update dependencies by @dsherret in #423
New Contributors
- @dylanpyle made their first contribution in #408
Full Changelog: 0.41.2...0.41.3
0.41.2
0.41.1
0.41.0
What's Changed
- feat: migrate to and support jsr by @dsherret in #380
- feat(BREAKING): no longer map
node:
specifiers to not have node scheme by @dsherret in #379 - feat: polyfill
Promise.withResolvers
by @dsherret in #368 - feat: support
Deno.test.only
by @dsherret in #367 - feat: make stripInternal configurable and default to
false
by @dsherret in #373 - feat: make declarationMap configurable and enable by default by @redabacha in #374
- fix: .npmignore should ignore files relative to the root by @dsherret in #388
- fix: remove needless semi-colon in fromAsync.ts by @dsherret in #370
Upgrading
- Run
deno add @deno/dnt
- Update your import statement:
- import { build, emptyDir } from "https://deno.land/x/[email protected]/mod.ts"; + import { build, emptyDir } from "@deno/dnt";
New Contributors
- @redabacha made their first contribution in #374
Full Changelog: 0.40.0...0.41.0
0.40.0
What's Changed
- feat: upgrade @deno/shim-deno to 0.18 for Deno 1.40 by @dsherret in #360
- feat: add
Array.fromAsync
polyfill by @dsherret in #359 - fix: warn when someone specifies 'files' in a package.json by @dsherret in #354
- fix: add more missing exports to undici shim by @dsherret in #361
- feat: add
findLast
/findLastIndex
polyfill for Uint8Array by @dsherret in #363
Full Changelog: 0.39.0...0.40.0
0.39.0
What's Changed
- feat: add skipNpmInstall option by @DerZade in #339
- feat: upgrade to TypeScript 5.2 by @dsherret in #348
- feat: upgrade @deno/shim-deno to 0.17 by @dsherret in #349
- fix: fetch https dependencies with retries by @dsherret in #350
- fix: ensure package.json entries are in a reasonable order by @dsherret in #351
- feat: add _generatedBy to package.json for https://arethetypeswrong.github.io/ by @dsherret in #352
New Contributors
Full Changelog: 0.38.1...0.39.0
0.38.1
0.38.0
What's Changed
- feat: add transform for
import.meta.resolve/main
expressions by @Gaubee in #322 - feat: add
internalWasmUrl
option by @Gaubee in #323 - fix: support comments when using deno.json as an import map by @dsherret in #315
- fix(regression): properly ignore test declaration files in .npmignore by @dsherret in #326
Full Changelog: 0.37.0...0.38.0
0.37.0
0.36.0
What's Changed
- feat: make
declaration: "inline"
the default by @dsherret in #292 - feat: ability to type check both esm and script output by @dsherret in #294
- feat: replace chalk dev dependency with picocolors by @UrielCh in #279
- feat: export
PackageJson
by @UrielCh in #295 - feat: complete PackageJson by @UrielCh in #291
- feat: add more type checking compiler options by @dsherret in #302
- feat: align casing of lib options with tsconfig.json by @dsherret in #303
- fix: handle esm.sh/gh/ specifier by @dsherret in #293
- docs: update GitHub Action instructions by @bjuppa in #299
This release makes declaration: "inline"
the default, which was recommended by the TypeScript team. This means that dual esm/cjs packages will have two copies of declaration files—one for ESM and one for CJS (script). This fixes the "Masquerading as CJS" issue you might have seen on https://arethetypeswrong.github.io -- Note that the previous behavior is still available by specifying declaration: "separate"
.
New Contributors
Full Changelog: 0.35.0...0.36.0