diff --git a/.changeset/brown-deers-hammer.md b/.changeset/brown-deers-hammer.md deleted file mode 100644 index 87db39a9..00000000 --- a/.changeset/brown-deers-hammer.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"bob-the-bundler": minor ---- - -Disable commonjs output via package.json - -```json -{ - "name": "my-package", - "bob": { - "commonjs": false - } -} -``` diff --git a/.changeset/nine-snails-speak.md b/.changeset/nine-snails-speak.md deleted file mode 100644 index 30d75839..00000000 --- a/.changeset/nine-snails-speak.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"bob-the-bundler": major ---- - -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`. - -```diff - { - "exports": { - ".": { - "require": { -- "types": "./dist/typings/index.d.ts", -+ "types": "./dist/typings/index.d.cts" - } - } - } - } -``` diff --git a/.changeset/tasty-feet-complain.md b/.changeset/tasty-feet-complain.md deleted file mode 100644 index 3f3972a4..00000000 --- a/.changeset/tasty-feet-complain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"bob-the-bundler": minor ---- - -Ignore `__tests__` and `__testUtils__` from bundling diff --git a/CHANGELOG.md b/CHANGELOG.md index 8de9a991..50f64eed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## 4.0.0 + +### 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`. + + ```diff + { + "exports": { + ".": { + "require": { + - "types": "./dist/typings/index.d.ts", + + "types": "./dist/typings/index.d.cts" + } + } + } + } + ``` + +### Minor Changes + +- 14fa965: Disable commonjs output via package.json + + ```json + { + "name": "my-package", + "bob": { + "commonjs": false + } + } + ``` + +- b8db426: Ignore `__tests__` and `__testUtils__` from bundling + ## 3.0.5 ### Patch Changes diff --git a/package.json b/package.json index 1abfca82..19b2795a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bob-the-bundler", - "version": "3.0.5", + "version": "4.0.0", "description": "Bob The Bundler!", "author": { "email": "kamil.kisiela@gmail.com",