Skip to content

0.36.0

Compare
Choose a tag to compare
@dsherret dsherret released this 23 May 15:12
· 38 commits to main since this release
c41900b

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