github denoland/dnt 0.36.0

latest releases: 0.41.1, 0.41.0, 0.40.0...
12 months ago

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

Don't miss a new dnt release

NewReleases is sending notifications on new releases.