diff --git a/.changeset/bob-the-bundler-299-dependencies.md b/.changeset/bob-the-bundler-299-dependencies.md deleted file mode 100644 index 867c43c0..00000000 --- a/.changeset/bob-the-bundler-299-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"bob-the-bundler": patch ---- -dependencies updates: - - Updated dependency [`globby@^14.0.0` ↗︎](https://www.npmjs.com/package/globby/v/14.0.0) (from `^13.1.3`, in `dependencies`) diff --git a/.changeset/bob-the-bundler-320-dependencies.md b/.changeset/bob-the-bundler-320-dependencies.md deleted file mode 100644 index c19e6ad1..00000000 --- a/.changeset/bob-the-bundler-320-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"bob-the-bundler": patch ---- -dependencies updates: - - Updated dependency [`execa@^7.2.0` ↗︎](https://www.npmjs.com/package/execa/v/7.2.0) (from `7.1.1`, in `dependencies`) diff --git a/.changeset/bob-the-bundler-323-dependencies.md b/.changeset/bob-the-bundler-323-dependencies.md deleted file mode 100644 index 1c9a4dd8..00000000 --- a/.changeset/bob-the-bundler-323-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"bob-the-bundler": patch ---- -dependencies updates: - - Updated dependency [`execa@^9.0.0` ↗︎](https://www.npmjs.com/package/execa/v/9.0.0) (from `^7.2.0`, in `dependencies`) diff --git a/.changeset/bob-the-bundler-324-dependencies.md b/.changeset/bob-the-bundler-324-dependencies.md deleted file mode 100644 index 7207b447..00000000 --- a/.changeset/bob-the-bundler-324-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"bob-the-bundler": patch ---- -dependencies updates: - - Updated dependency [`p-limit@^6.0.0` ↗︎](https://www.npmjs.com/package/p-limit/v/6.0.0) (from `^4.0.0`, in `dependencies`) diff --git a/.changeset/bob-the-bundler-336-dependencies.md b/.changeset/bob-the-bundler-336-dependencies.md deleted file mode 100644 index 6a31e185..00000000 --- a/.changeset/bob-the-bundler-336-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"bob-the-bundler": patch ---- -dependencies updates: - - Added dependency [`get-tsconfig@^4.8.1` ↗︎](https://www.npmjs.com/package/get-tsconfig/v/4.8.1) (to `dependencies`) diff --git a/.changeset/bob-the-bundler-411-dependencies.md b/.changeset/bob-the-bundler-411-dependencies.md deleted file mode 100644 index 87dbe4c6..00000000 --- a/.changeset/bob-the-bundler-411-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"bob-the-bundler": patch ---- -dependencies updates: - - Updated dependency [`yargs@^18.0.0` ↗︎](https://www.npmjs.com/package/yargs/v/18.0.0) (from `^17.6.2`, in `dependencies`) diff --git a/.changeset/bright-drinks-provide.md b/.changeset/bright-drinks-provide.md deleted file mode 100644 index 6566feb6..00000000 --- a/.changeset/bright-drinks-provide.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'bob-the-bundler': major ---- - -Drop "module" package.json field - -The field was just a proposal and was never officially (and fully) defined by Node. Node instead uses (and recommends) the ["exports" field](https://nodejs.org/api/packages.html#exports). diff --git a/.changeset/neat-eyes-help.md b/.changeset/neat-eyes-help.md deleted file mode 100644 index d0acc9d4..00000000 --- a/.changeset/neat-eyes-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'bob-the-bundler': patch ---- - -Check whether package exports map files exist diff --git a/.changeset/rare-lemons-count.md b/.changeset/rare-lemons-count.md deleted file mode 100644 index 535daeb4..00000000 --- a/.changeset/rare-lemons-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'bob-the-bundler': major ---- - -Drop "typescript" package.json field diff --git a/.changeset/thin-mails-clap.md b/.changeset/thin-mails-clap.md deleted file mode 100644 index 2a0dbe56..00000000 --- a/.changeset/thin-mails-clap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'bob-the-bundler': major ---- - -Build modern CommonJS and support package.json exports diff --git a/.changeset/wise-tigers-roll.md b/.changeset/wise-tigers-roll.md deleted file mode 100644 index db362a38..00000000 --- a/.changeset/wise-tigers-roll.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'bob-the-bundler': major ---- - -"main" package.json field matches the location of "type" output - -> The "type" field defines the module format that Node.js uses for all .js files that have that package.json file as their nearest parent. -> -> Files ending with .js are loaded as ES modules when the nearest parent package.json file contains a top-level field "type" with a value of "module". -> -> If the nearest parent package.json lacks a "type" field, or contains "type": "commonjs", .js files are treated as CommonJS. If the volume root is reached and no package.json is found, .js files are treated as CommonJS. - -_[Node documentation](https://nodejs.org/api/packages.html#type)_ diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f0c6746..b24736fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,83 @@ # Changelog +## 8.0.0 + +### Major Changes + +- [#339](https://github.com/graphql-hive/bob/pull/339) + [`f6be910`](https://github.com/graphql-hive/bob/commit/f6be91029ba6dbe76f5f268bdefa9cb48494a0b6) + Thanks [@enisdenjo](https://github.com/enisdenjo)! - Drop "module" package.json field + + The field was just a proposal and was never officially (and fully) defined by Node. Node instead + uses (and recommends) the ["exports" field](https://nodejs.org/api/packages.html#exports). + +- [#339](https://github.com/graphql-hive/bob/pull/339) + [`f6be910`](https://github.com/graphql-hive/bob/commit/f6be91029ba6dbe76f5f268bdefa9cb48494a0b6) + Thanks [@enisdenjo](https://github.com/enisdenjo)! - Drop "typescript" package.json field + +- [#336](https://github.com/graphql-hive/bob/pull/336) + [`407c0be`](https://github.com/graphql-hive/bob/commit/407c0be856df6ef463e2c6dab729e413c180648d) + Thanks [@enisdenjo](https://github.com/enisdenjo)! - Build modern CommonJS and support + package.json exports + +- [#339](https://github.com/graphql-hive/bob/pull/339) + [`f6be910`](https://github.com/graphql-hive/bob/commit/f6be91029ba6dbe76f5f268bdefa9cb48494a0b6) + Thanks [@enisdenjo](https://github.com/enisdenjo)! - "main" package.json field matches the + location of "type" output + + > The "type" field defines the module format that Node.js uses for all .js files that have that + > package.json file as their nearest parent. + > + > Files ending with .js are loaded as ES modules when the nearest parent package.json file + > contains a top-level field "type" with a value of "module". + > + > If the nearest parent package.json lacks a "type" field, or contains "type": "commonjs", .js + > files are treated as CommonJS. If the volume root is reached and no package.json is found, .js + > files are treated as CommonJS. + + _[Node documentation](https://nodejs.org/api/packages.html#type)_ + +### Patch Changes + +- [#299](https://github.com/graphql-hive/bob/pull/299) + [`380347f`](https://github.com/graphql-hive/bob/commit/380347ffe6bfa1ec6150c6d5db830ec789e30cbc) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency [`globby@^14.0.0` ↗︎](https://www.npmjs.com/package/globby/v/14.0.0) (from + `^13.1.3`, in `dependencies`) + +- [#320](https://github.com/graphql-hive/bob/pull/320) + [`e20635c`](https://github.com/graphql-hive/bob/commit/e20635c66b9f52fcfe93e3738ab4d346ae3eae8d) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency [`execa@^7.2.0` ↗︎](https://www.npmjs.com/package/execa/v/7.2.0) (from + `7.1.1`, in `dependencies`) + +- [`ea8df64`](https://github.com/graphql-hive/bob/commit/ea8df64b4c251b446d5a7d8b3a5e8a678e8ea1bb) + Thanks [@renovate[bot]](https://github.com/renovate%5Bbot%5D)! - dependencies updates: + - Updated dependency [`execa@^9.0.0` ↗︎](https://www.npmjs.com/package/execa/v/9.0.0) (from + `^7.2.0`, in `dependencies`) + +- [#324](https://github.com/graphql-hive/bob/pull/324) + [`9d3424f`](https://github.com/graphql-hive/bob/commit/9d3424fa1d46c0211165faa51fe81cab480a5a92) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency [`p-limit@^6.0.0` ↗︎](https://www.npmjs.com/package/p-limit/v/6.0.0) (from + `^4.0.0`, in `dependencies`) + +- [#336](https://github.com/graphql-hive/bob/pull/336) + [`407c0be`](https://github.com/graphql-hive/bob/commit/407c0be856df6ef463e2c6dab729e413c180648d) + Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates: + - Added dependency [`get-tsconfig@^4.8.1` ↗︎](https://www.npmjs.com/package/get-tsconfig/v/4.8.1) + (to `dependencies`) + +- [#411](https://github.com/graphql-hive/bob/pull/411) + [`a07c114`](https://github.com/graphql-hive/bob/commit/a07c114d941d25afec04e509ddf1df4dbff4a15c) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency [`yargs@^18.0.0` ↗︎](https://www.npmjs.com/package/yargs/v/18.0.0) (from + `^17.6.2`, in `dependencies`) + +- [#266](https://github.com/graphql-hive/bob/pull/266) + [`6eab363`](https://github.com/graphql-hive/bob/commit/6eab3631dbb71b7e10579316da373e74a13099b5) + Thanks [@enisdenjo](https://github.com/enisdenjo)! - Check whether package exports map files exist + ## 7.0.1 ### Patch Changes @@ -34,28 +112,24 @@ - [#201](https://github.com/kamilkisiela/bob/pull/201) [`edf3301`](https://github.com/kamilkisiela/bob/commit/edf33014afa82c065ef4900ccbbc414cc864b1b4) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`execa@7.1.1` ↗︎](https://www.npmjs.com/package/execa/v/7.1.1) (from `6.1.0`, in `dependencies`) - [#229](https://github.com/kamilkisiela/bob/pull/229) [`2519f67`](https://github.com/kamilkisiela/bob/commit/2519f6784486d5451873f51940084773ff1dd768) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`typescript@^5.0.0` ↗︎](https://www.npmjs.com/package/typescript/v/4.7.4) (from `^4.7.4`, in `peerDependencies`) - [#244](https://github.com/kamilkisiela/bob/pull/244) [`f7b5824`](https://github.com/kamilkisiela/bob/commit/f7b58246e0aeb00f12b8238d30c986e00aa92891) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`consola@^3.0.0` ↗︎](https://www.npmjs.com/package/consola/v/3.0.0) (from `^2.15.3`, in `dependencies`) - [#247](https://github.com/kamilkisiela/bob/pull/247) [`0a5ff75`](https://github.com/kamilkisiela/bob/commit/0a5ff7507dfc6a569fc3721bc99db45330f46517) Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - dependencies updates: - - Removed dependency [`@vercel/ncc@^0.36.0` ↗︎](https://www.npmjs.com/package/@vercel/ncc/v/0.36.0) (from `dependencies`) @@ -110,7 +184,6 @@ - [#183](https://github.com/kamilkisiela/bob/pull/183) [`d6f981f`](https://github.com/kamilkisiela/bob/commit/d6f981f6d50608d4954c4a421b19b7cfe8f4b076) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`resolve.exports@^2.0.0` ↗︎](https://www.npmjs.com/package/resolve.exports/v/2.0.0) (from `^1.1.0`, in `dependencies`) @@ -118,14 +191,12 @@ - [#187](https://github.com/kamilkisiela/bob/pull/187) [`d7a8fd5`](https://github.com/kamilkisiela/bob/commit/d7a8fd54fb22973c3da426a0d907064b4b62ac40) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`mkdirp@^2.0.0` ↗︎](https://www.npmjs.com/package/mkdirp/v/2.0.0) (from `^1.0.4`, in `dependencies`) - [#188](https://github.com/kamilkisiela/bob/pull/188) [`4f9c7d4`](https://github.com/kamilkisiela/bob/commit/4f9c7d453911c252a813b084de5d183d994ae287) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`resolve.exports@^2.0.0` ↗︎](https://www.npmjs.com/package/resolve.exports/v/2.0.0) (from `^1.1.0`, in `dependencies`) @@ -160,7 +231,6 @@ - [#145](https://github.com/kamilkisiela/bob/pull/145) [`a4ebd65`](https://github.com/kamilkisiela/bob/commit/a4ebd655dd76c8703edb64605f0de2dd58870263) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`rollup-plugin-typescript2@^0.34.0` ↗︎](https://www.npmjs.com/package/rollup-plugin-typescript2/v/0.34.0) (from `^0.33.0`, in `dependencies`) @@ -168,7 +238,6 @@ - [#150](https://github.com/kamilkisiela/bob/pull/150) [`e18b500`](https://github.com/kamilkisiela/bob/commit/e18b500cc3807d7a76ad38639ef1cc59c1eab987) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`@vercel/ncc@^0.36.0` ↗︎](https://www.npmjs.com/package/@vercel/ncc/v/0.36.0) (from `^0.34.0`, in `dependencies`) @@ -176,7 +245,6 @@ - [#154](https://github.com/kamilkisiela/bob/pull/154) [`616e125`](https://github.com/kamilkisiela/bob/commit/616e1254ba3b3db638a2030abd244a50ff6ddb2b) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`@rollup/plugin-json@^6.0.0` ↗︎](https://www.npmjs.com/package/@rollup/plugin-json/v/6.0.0) (from `^4.1.0`, in `dependencies`) @@ -202,7 +270,6 @@ - [#151](https://github.com/kamilkisiela/bob/pull/151) [`4695d0b`](https://github.com/kamilkisiela/bob/commit/4695d0b4f1bf849d87f626f97445b9b9b5bb9cba) Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - dependencies updates: - - Updated dependency [`tsup@^6.5.0` ↗︎](https://www.npmjs.com/package/tsup/v/6.5.0) (from `^5.11.6`, in `dependencies`) @@ -225,7 +292,6 @@ - [#129](https://github.com/kamilkisiela/bob/pull/129) [`cd16844`](https://github.com/kamilkisiela/bob/commit/cd16844210db99a3e74fa95c3311fb644ad48594) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`rollup-plugin-typescript2@^0.33.0` ↗︎](https://www.npmjs.com/package/rollup-plugin-typescript2/v/null) (from `^0.32.1`, in `dependencies`) diff --git a/package.json b/package.json index fae1e95d..3e449ee7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bob-the-bundler", - "version": "7.0.1", + "version": "8.0.0", "type": "module", "description": "Bob The Bundler!", "repository": {