Skip to content

Releases: denoland/dnt

0.36.0

23 May 15:12
c41900b
Compare
Choose a tag to compare

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

0.35.0

09 May 20:22
744a0f1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.34.0...0.35.0

0.34.0

07 Apr 18:59
088c5d4
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.33.1...0.34.0

0.33.1

01 Feb 20:59
f14599b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.33.0...0.33.1

0.33.0

10 Jan 16:55
b1bb08e
Compare
Choose a tag to compare

What's Changed

  • feat: upgrade for deno 1.29 #241
  • feat: support providing file urls in build options #242
  • fix: .mjs files should be transformed to .js #243
  • fix: handle scenario where declaration file has code file as self #246
  • update dependencies #245

Full Changelog: 0.32.1...0.33.0

0.32.1

19 Dec 05:34
7ff9996
Compare
Choose a tag to compare

What's Changed

  • fix: exports types resolution in package.json and Webpack compatibility @Macil in #237

If you are distributing an esm module or mixed cjs/esm module or package with exports, then please upgrade to this version so the types get resolved correctly and so that your package works with webpack.

New Contributors

Full Changelog: 0.32.0...0.32.1

0.32.0

23 Nov 17:13
ac3a0ae
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.31.0...0.32.0

0.31.0

26 Sep 22:38
9276a9b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.30.0...0.31.0

0.30.0

04 Aug 19:57
58fc794
Compare
Choose a tag to compare

What's Changed

  • fix: do not panic for removed comment at top of the file when injecting shim #203
  • feat: update @deno/shim-deno to 0.9.0 #204

Full Changelog: 0.29.1...0.30.0

0.29.1

29 Jul 20:05
5d25ec7
Compare
Choose a tag to compare

What's Changed

  • fix: do not use exports for cjs only package by @dsherret in #200

Full Changelog: 0.29.0...0.29.1