Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Aug 09:34
· 207 commits to master since this release
11b8532

Major Changes

  • f685733: Change the exports map again, to please TypeScript commonjs :)

    This is a major breaking change as it requires adjusting your package.json exports map.

    The require entries file extension must be changed from .d.ts to .d.cts.

      {
        "exports": {
          ".": {
            "require": {
    -          "types": "./dist/typings/index.d.ts",
    +          "types": "./dist/typings/index.d.cts"
            }
          }
        }
      }

Minor Changes

  • 14fa965: Disable commonjs output via package.json

    {
      "name": "my-package",
      "bob": {
        "commonjs": false
      }
    }
  • b8db426: Ignore __tests__ and __testUtils__ from bundling