From 30972175e7fa7117e89cdcfb9cd455b5297337d3 Mon Sep 17 00:00:00 2001 From: Heather Frantisak Date: Mon, 31 Jan 2022 14:13:09 -0800 Subject: [PATCH] Reorder exports map --- packages/address-consts/CHANGELOG.md | 6 +- packages/address-consts/package.json | 4 +- packages/address-mocks/CHANGELOG.md | 6 +- packages/address-mocks/package.json | 4 +- packages/address/CHANGELOG.md | 6 +- packages/address/package.json | 4 +- .../admin-graphql-api-utilities/CHANGELOG.md | 6 +- .../admin-graphql-api-utilities/package.json | 4 +- packages/ast-utilities/CHANGELOG.md | 6 +- packages/ast-utilities/package.json | 12 +-- packages/async/CHANGELOG.md | 6 +- packages/async/package.json | 8 +- packages/browser/CHANGELOG.md | 6 +- packages/browser/package.json | 4 +- packages/csrf-token-fetcher/CHANGELOG.md | 6 +- packages/csrf-token-fetcher/package.json | 4 +- packages/css-utilities/CHANGELOG.md | 6 +- packages/css-utilities/package.json | 4 +- packages/dates/CHANGELOG.md | 6 +- packages/dates/package.json | 4 +- packages/decorators/CHANGELOG.md | 6 +- packages/decorators/package.json | 4 +- packages/function-enhancers/CHANGELOG.md | 6 +- packages/function-enhancers/package.json | 4 +- .../graphql-config-utilities/CHANGELOG.md | 1 + .../graphql-config-utilities/package.json | 4 +- packages/graphql-fixtures/CHANGELOG.md | 6 +- packages/graphql-fixtures/package.json | 4 +- packages/graphql-mini-transforms/CHANGELOG.md | 6 +- packages/graphql-mini-transforms/package.json | 16 ++-- packages/graphql-persisted/CHANGELOG.md | 6 +- packages/graphql-persisted/package.json | 8 +- packages/graphql-testing/CHANGELOG.md | 6 +- packages/graphql-testing/package.json | 8 +- packages/graphql-tool-utilities/CHANGELOG.md | 6 +- packages/graphql-tool-utilities/package.json | 4 +- packages/graphql-typed/CHANGELOG.md | 6 +- packages/graphql-typed/package.json | 4 +- .../CHANGELOG.md | 6 +- .../package.json | 4 +- .../graphql-validate-fixtures/CHANGELOG.md | 6 +- .../graphql-validate-fixtures/package.json | 4 +- packages/i18n/CHANGELOG.md | 6 +- packages/i18n/package.json | 4 +- packages/jest-dom-mocks/CHANGELOG.md | 6 +- packages/jest-dom-mocks/package.json | 4 +- packages/jest-koa-mocks/CHANGELOG.md | 6 +- packages/jest-koa-mocks/package.json | 4 +- packages/koa-liveness-ping/CHANGELOG.md | 6 +- packages/koa-liveness-ping/package.json | 4 +- packages/koa-metrics/CHANGELOG.md | 6 +- packages/koa-metrics/package.json | 4 +- packages/koa-performance/CHANGELOG.md | 6 +- packages/koa-performance/package.json | 4 +- .../koa-shopify-graphql-proxy/CHANGELOG.md | 6 +- .../koa-shopify-graphql-proxy/package.json | 4 +- packages/koa-shopify-webhooks/CHANGELOG.md | 6 +- packages/koa-shopify-webhooks/package.json | 4 +- packages/logger/CHANGELOG.md | 6 +- packages/logger/package.json | 4 +- packages/mime-types/CHANGELOG.md | 6 +- packages/mime-types/package.json | 4 +- packages/network/CHANGELOG.md | 6 +- packages/network/package.json | 4 +- packages/performance/CHANGELOG.md | 6 +- packages/performance/package.json | 4 +- packages/polyfills/CHANGELOG.md | 6 +- packages/polyfills/package.json | 84 +++++++++---------- packages/predicates/CHANGELOG.md | 6 +- packages/predicates/package.json | 4 +- .../CHANGELOG.md | 6 +- .../package.json | 4 +- packages/react-async/CHANGELOG.md | 6 +- packages/react-async/package.json | 8 +- packages/react-bugsnag/CHANGELOG.md | 6 +- packages/react-bugsnag/package.json | 4 +- packages/react-compose/CHANGELOG.md | 6 +- packages/react-compose/package.json | 4 +- packages/react-cookie/CHANGELOG.md | 6 +- packages/react-cookie/package.json | 4 +- .../CHANGELOG.md | 6 +- .../package.json | 4 +- packages/react-csrf/CHANGELOG.md | 6 +- packages/react-csrf/package.json | 4 +- packages/react-effect/CHANGELOG.md | 6 +- packages/react-effect/package.json | 8 +- packages/react-form-state/CHANGELOG.md | 6 +- packages/react-form-state/package.json | 4 +- packages/react-form/CHANGELOG.md | 6 +- packages/react-form/package.json | 4 +- packages/react-google-analytics/CHANGELOG.md | 6 +- packages/react-google-analytics/package.json | 4 +- .../CHANGELOG.md | 6 +- .../package.json | 4 +- packages/react-graphql/CHANGELOG.md | 6 +- packages/react-graphql/package.json | 4 +- packages/react-hooks/CHANGELOG.md | 6 +- packages/react-hooks/package.json | 4 +- packages/react-html/CHANGELOG.md | 6 +- packages/react-html/package.json | 8 +- packages/react-hydrate/CHANGELOG.md | 6 +- packages/react-hydrate/package.json | 4 +- .../CHANGELOG.md | 6 +- .../package.json | 4 +- packages/react-i18n/CHANGELOG.md | 6 +- packages/react-i18n/package.json | 16 ++-- packages/react-idle/CHANGELOG.md | 6 +- packages/react-idle/package.json | 4 +- packages/react-import-remote/CHANGELOG.md | 6 +- packages/react-import-remote/package.json | 4 +- .../react-intersection-observer/CHANGELOG.md | 6 +- .../react-intersection-observer/package.json | 4 +- packages/react-network/CHANGELOG.md | 6 +- packages/react-network/package.json | 8 +- packages/react-performance/CHANGELOG.md | 6 +- packages/react-performance/package.json | 4 +- packages/react-router/CHANGELOG.md | 6 +- packages/react-router/package.json | 4 +- packages/react-server/CHANGELOG.md | 6 +- packages/react-server/package.json | 8 +- packages/react-shortcuts/CHANGELOG.md | 6 +- packages/react-shortcuts/package.json | 4 +- packages/react-testing/CHANGELOG.md | 6 +- packages/react-testing/package.json | 8 +- packages/react-tracking-pixel/CHANGELOG.md | 6 +- packages/react-tracking-pixel/package.json | 4 +- .../react-universal-provider/CHANGELOG.md | 6 +- .../react-universal-provider/package.json | 4 +- packages/react-web-worker/CHANGELOG.md | 6 +- packages/react-web-worker/package.json | 4 +- packages/semaphore/CHANGELOG.md | 6 +- packages/semaphore/package.json | 4 +- packages/sewing-kit-koa/CHANGELOG.md | 6 +- packages/sewing-kit-koa/package.json | 4 +- packages/statsd/CHANGELOG.md | 6 +- packages/statsd/package.json | 4 +- packages/storybook-a11y-test/CHANGELOG.md | 1 + packages/storybook-a11y-test/package.json | 4 +- packages/useful-types/CHANGELOG.md | 6 +- packages/useful-types/package.json | 4 +- packages/with-env/CHANGELOG.md | 6 +- packages/with-env/package.json | 4 +- templates/package.hbs.json | 4 +- tests/consistent-package-json.test.ts | 12 +++ 144 files changed, 577 insertions(+), 287 deletions(-) diff --git a/packages/address-consts/CHANGELOG.md b/packages/address-consts/CHANGELOG.md index 064e786fd7..c72c153a45 100644 --- a/packages/address-consts/CHANGELOG.md +++ b/packages/address-consts/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.0.6 - 2021-09-24 diff --git a/packages/address-consts/package.json b/packages/address-consts/package.json index ae2336be57..42c37bd228 100644 --- a/packages/address-consts/package.json +++ b/packages/address-consts/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/address-mocks/CHANGELOG.md b/packages/address-mocks/CHANGELOG.md index 788dd08b62..b95cefc361 100644 --- a/packages/address-mocks/CHANGELOG.md +++ b/packages/address-mocks/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.13 - 2022-01-06 diff --git a/packages/address-mocks/package.json b/packages/address-mocks/package.json index 6d63c4f1e9..6222a778cb 100644 --- a/packages/address-mocks/package.json +++ b/packages/address-mocks/package.json @@ -43,9 +43,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/address/CHANGELOG.md b/packages/address/CHANGELOG.md index 4ace0dedb0..0da7c3e4f6 100644 --- a/packages/address/CHANGELOG.md +++ b/packages/address/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.0.13 - 2022-01-06 diff --git a/packages/address/package.json b/packages/address/package.json index 4f48a9e74f..0c1981e36d 100644 --- a/packages/address/package.json +++ b/packages/address/package.json @@ -43,9 +43,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/admin-graphql-api-utilities/CHANGELOG.md b/packages/admin-graphql-api-utilities/CHANGELOG.md index 43af3a842b..7eb173a9e4 100644 --- a/packages/admin-graphql-api-utilities/CHANGELOG.md +++ b/packages/admin-graphql-api-utilities/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.0.5 - 2021-09-24 diff --git a/packages/admin-graphql-api-utilities/package.json b/packages/admin-graphql-api-utilities/package.json index 369a302718..05a3e385f0 100644 --- a/packages/admin-graphql-api-utilities/package.json +++ b/packages/admin-graphql-api-utilities/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/ast-utilities/CHANGELOG.md b/packages/ast-utilities/CHANGELOG.md index 03ffd9b545..6086fc38f7 100644 --- a/packages/ast-utilities/CHANGELOG.md +++ b/packages/ast-utilities/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.3.0 - 2022-01-06 diff --git a/packages/ast-utilities/package.json b/packages/ast-utilities/package.json index 1750a2398b..847bbbf678 100644 --- a/packages/ast-utilities/package.json +++ b/packages/ast-utilities/package.json @@ -70,19 +70,19 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./javascript": { + "esnext": "./javascript.esnext", "import": "./javascript.mjs", - "require": "./javascript.js", - "esnext": "./javascript.esnext" + "require": "./javascript.js" }, "./markdown": { + "esnext": "./markdown.esnext", "import": "./markdown.mjs", - "require": "./markdown.js", - "esnext": "./markdown.esnext" + "require": "./markdown.js" } } } diff --git a/packages/async/CHANGELOG.md b/packages/async/CHANGELOG.md index 14b84cc068..a10732df83 100644 --- a/packages/async/CHANGELOG.md +++ b/packages/async/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.1.0 - 2021-12-01 diff --git a/packages/async/package.json b/packages/async/package.json index 451e223526..0ed6566583 100644 --- a/packages/async/package.json +++ b/packages/async/package.json @@ -54,14 +54,14 @@ "exports": { "./": "./", "./babel": { + "esnext": "./babel.esnext", "import": "./babel.mjs", - "require": "./babel.js", - "esnext": "./babel.esnext" + "require": "./babel.js" }, ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index acc617ec4a..174f68b186 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.5 - 2021-11-01 diff --git a/packages/browser/package.json b/packages/browser/package.json index 9cd043116f..eb4e44af74 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -39,9 +39,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/csrf-token-fetcher/CHANGELOG.md b/packages/csrf-token-fetcher/CHANGELOG.md index ebb533d883..31e14c21b7 100644 --- a/packages/csrf-token-fetcher/CHANGELOG.md +++ b/packages/csrf-token-fetcher/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.0.4 - 2021-09-24 diff --git a/packages/csrf-token-fetcher/package.json b/packages/csrf-token-fetcher/package.json index a81bdd15bb..b04e74888a 100644 --- a/packages/csrf-token-fetcher/package.json +++ b/packages/csrf-token-fetcher/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/css-utilities/CHANGELOG.md b/packages/css-utilities/CHANGELOG.md index 8415cd8713..c8610a037d 100644 --- a/packages/css-utilities/CHANGELOG.md +++ b/packages/css-utilities/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.5 - 2021-09-24 diff --git a/packages/css-utilities/package.json b/packages/css-utilities/package.json index 45dfa0b515..66cbeb37ee 100644 --- a/packages/css-utilities/package.json +++ b/packages/css-utilities/package.json @@ -39,9 +39,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/dates/CHANGELOG.md b/packages/dates/CHANGELOG.md index f13a3b7505..b16b764838 100644 --- a/packages/dates/CHANGELOG.md +++ b/packages/dates/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.1.0 - 2022-01-28 diff --git a/packages/dates/package.json b/packages/dates/package.json index bd975e9e8e..51092d20ee 100644 --- a/packages/dates/package.json +++ b/packages/dates/package.json @@ -42,9 +42,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/decorators/CHANGELOG.md b/packages/decorators/CHANGELOG.md index db559e5958..4c644f6466 100644 --- a/packages/decorators/CHANGELOG.md +++ b/packages/decorators/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.4 - 2021-09-24 diff --git a/packages/decorators/package.json b/packages/decorators/package.json index c7d36f7dd2..5a64dbcc13 100644 --- a/packages/decorators/package.json +++ b/packages/decorators/package.json @@ -39,9 +39,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/function-enhancers/CHANGELOG.md b/packages/function-enhancers/CHANGELOG.md index b91f79534c..1f8e7e0daf 100644 --- a/packages/function-enhancers/CHANGELOG.md +++ b/packages/function-enhancers/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.4 - 2021-09-24 diff --git a/packages/function-enhancers/package.json b/packages/function-enhancers/package.json index f29c83a7b7..b2435a3c33 100644 --- a/packages/function-enhancers/package.json +++ b/packages/function-enhancers/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/graphql-config-utilities/CHANGELOG.md b/packages/graphql-config-utilities/CHANGELOG.md index 97c4e391a3..fd7f53b0bd 100644 --- a/packages/graphql-config-utilities/CHANGELOG.md +++ b/packages/graphql-config-utilities/CHANGELOG.md @@ -9,6 +9,7 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ### Changed +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] - Clean test output. [[#2091](https://github.com/Shopify/quilt/pull/2091)] ## 3.0.6 - 2021-11-22 diff --git a/packages/graphql-config-utilities/package.json b/packages/graphql-config-utilities/package.json index b39609fbcf..5ae844b386 100644 --- a/packages/graphql-config-utilities/package.json +++ b/packages/graphql-config-utilities/package.json @@ -40,9 +40,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } }, "tags": [ diff --git a/packages/graphql-fixtures/CHANGELOG.md b/packages/graphql-fixtures/CHANGELOG.md index 3a0b0d60bb..eae89565c9 100644 --- a/packages/graphql-fixtures/CHANGELOG.md +++ b/packages/graphql-fixtures/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.2.1 - 2022-01-26 diff --git a/packages/graphql-fixtures/package.json b/packages/graphql-fixtures/package.json index 305e73d64e..b9444f3e49 100644 --- a/packages/graphql-fixtures/package.json +++ b/packages/graphql-fixtures/package.json @@ -46,9 +46,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/graphql-mini-transforms/CHANGELOG.md b/packages/graphql-mini-transforms/CHANGELOG.md index c5d390c8dd..e5327d9602 100644 --- a/packages/graphql-mini-transforms/CHANGELOG.md +++ b/packages/graphql-mini-transforms/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.0.0 - 2021-12-01 diff --git a/packages/graphql-mini-transforms/package.json b/packages/graphql-mini-transforms/package.json index 8c69efb92b..6cbca2c25e 100644 --- a/packages/graphql-mini-transforms/package.json +++ b/packages/graphql-mini-transforms/package.json @@ -77,24 +77,24 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./jest": { + "esnext": "./jest.esnext", "import": "./jest.mjs", - "require": "./jest.js", - "esnext": "./jest.esnext" + "require": "./jest.js" }, "./jest-simple": { + "esnext": "./jest-simple.esnext", "import": "./jest-simple.mjs", - "require": "./jest-simple.js", - "esnext": "./jest-simple.esnext" + "require": "./jest-simple.js" }, "./webpack": { + "esnext": "./webpack-loader.esnext", "import": "./webpack-loader.mjs", - "require": "./webpack-loader.js", - "esnext": "./webpack-loader.esnext" + "require": "./webpack-loader.js" } }, "tags": [ diff --git a/packages/graphql-persisted/CHANGELOG.md b/packages/graphql-persisted/CHANGELOG.md index d8947e2a56..bcd55a2c0d 100644 --- a/packages/graphql-persisted/CHANGELOG.md +++ b/packages/graphql-persisted/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.1.0 - 2022-01-13 diff --git a/packages/graphql-persisted/package.json b/packages/graphql-persisted/package.json index f7f0522407..e3ac05ab56 100644 --- a/packages/graphql-persisted/package.json +++ b/packages/graphql-persisted/package.json @@ -62,14 +62,14 @@ "exports": { "./": "./", "./apollo": { + "esnext": "./apollo.esnext", "import": "./apollo.mjs", - "require": "./apollo.js", - "esnext": "./apollo.esnext" + "require": "./apollo.js" }, "./koa": { + "esnext": "./koa.esnext", "import": "./koa.mjs", - "require": "./koa.js", - "esnext": "./koa.esnext" + "require": "./koa.js" } } } diff --git a/packages/graphql-testing/CHANGELOG.md b/packages/graphql-testing/CHANGELOG.md index 27de6b92dd..f648e2d1f7 100644 --- a/packages/graphql-testing/CHANGELOG.md +++ b/packages/graphql-testing/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 5.1.3 - 2021-11-23 diff --git a/packages/graphql-testing/package.json b/packages/graphql-testing/package.json index 706bd4c154..e95adadd79 100644 --- a/packages/graphql-testing/package.json +++ b/packages/graphql-testing/package.json @@ -57,14 +57,14 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./matchers": { + "esnext": "./matchers.esnext", "import": "./matchers.mjs", - "require": "./matchers.js", - "esnext": "./matchers.esnext" + "require": "./matchers.js" } } } diff --git a/packages/graphql-tool-utilities/CHANGELOG.md b/packages/graphql-tool-utilities/CHANGELOG.md index 397b7d8452..8d73808b1d 100644 --- a/packages/graphql-tool-utilities/CHANGELOG.md +++ b/packages/graphql-tool-utilities/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.2 - 2021-09-24 diff --git a/packages/graphql-tool-utilities/package.json b/packages/graphql-tool-utilities/package.json index e4bf20d479..633fa90dfc 100644 --- a/packages/graphql-tool-utilities/package.json +++ b/packages/graphql-tool-utilities/package.json @@ -40,9 +40,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } }, "tags": [ diff --git a/packages/graphql-typed/CHANGELOG.md b/packages/graphql-typed/CHANGELOG.md index cc57391d30..689d228923 100644 --- a/packages/graphql-typed/CHANGELOG.md +++ b/packages/graphql-typed/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.1.1 - 2021-09-24 diff --git a/packages/graphql-typed/package.json b/packages/graphql-typed/package.json index bf8049ff95..eb6c52f176 100644 --- a/packages/graphql-typed/package.json +++ b/packages/graphql-typed/package.json @@ -39,9 +39,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/graphql-typescript-definitions/CHANGELOG.md b/packages/graphql-typescript-definitions/CHANGELOG.md index 822bf0f0d9..413630c506 100644 --- a/packages/graphql-typescript-definitions/CHANGELOG.md +++ b/packages/graphql-typescript-definitions/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.6 - 2021-11-22 diff --git a/packages/graphql-typescript-definitions/package.json b/packages/graphql-typescript-definitions/package.json index 62960580d7..fe219fb273 100644 --- a/packages/graphql-typescript-definitions/package.json +++ b/packages/graphql-typescript-definitions/package.json @@ -62,9 +62,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/graphql-validate-fixtures/CHANGELOG.md b/packages/graphql-validate-fixtures/CHANGELOG.md index 8ecbca85e3..473e301f89 100644 --- a/packages/graphql-validate-fixtures/CHANGELOG.md +++ b/packages/graphql-validate-fixtures/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.3 - 2021-11-22 diff --git a/packages/graphql-validate-fixtures/package.json b/packages/graphql-validate-fixtures/package.json index 5eae2cd20b..7e3dc5d5f1 100644 --- a/packages/graphql-validate-fixtures/package.json +++ b/packages/graphql-validate-fixtures/package.json @@ -48,9 +48,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/i18n/CHANGELOG.md b/packages/i18n/CHANGELOG.md index ca3decf1bc..1959afeac8 100644 --- a/packages/i18n/CHANGELOG.md +++ b/packages/i18n/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.0.5 - 2021-09-24 diff --git a/packages/i18n/package.json b/packages/i18n/package.json index c112456ade..849109714f 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/jest-dom-mocks/CHANGELOG.md b/packages/jest-dom-mocks/CHANGELOG.md index 4d41e2e7c4..a66d74dae2 100644 --- a/packages/jest-dom-mocks/CHANGELOG.md +++ b/packages/jest-dom-mocks/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.0.11 - 2022-01-06 diff --git a/packages/jest-dom-mocks/package.json b/packages/jest-dom-mocks/package.json index a150c149ed..5062ce5012 100644 --- a/packages/jest-dom-mocks/package.json +++ b/packages/jest-dom-mocks/package.json @@ -44,9 +44,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/jest-koa-mocks/CHANGELOG.md b/packages/jest-koa-mocks/CHANGELOG.md index 72f348a9fc..223a647004 100644 --- a/packages/jest-koa-mocks/CHANGELOG.md +++ b/packages/jest-koa-mocks/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.1.0 - 2022-01-13 diff --git a/packages/jest-koa-mocks/package.json b/packages/jest-koa-mocks/package.json index 4fb1979b24..d87e0f32af 100644 --- a/packages/jest-koa-mocks/package.json +++ b/packages/jest-koa-mocks/package.json @@ -44,9 +44,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/koa-liveness-ping/CHANGELOG.md b/packages/koa-liveness-ping/CHANGELOG.md index 02d72561fc..daf8e0c502 100644 --- a/packages/koa-liveness-ping/CHANGELOG.md +++ b/packages/koa-liveness-ping/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.1.0 - 2022-01-13 diff --git a/packages/koa-liveness-ping/package.json b/packages/koa-liveness-ping/package.json index b37c488769..f4f6948282 100644 --- a/packages/koa-liveness-ping/package.json +++ b/packages/koa-liveness-ping/package.json @@ -43,9 +43,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/koa-metrics/CHANGELOG.md b/packages/koa-metrics/CHANGELOG.md index a40445474b..1c17563de6 100644 --- a/packages/koa-metrics/CHANGELOG.md +++ b/packages/koa-metrics/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.1.0 - 2022-01-13 diff --git a/packages/koa-metrics/package.json b/packages/koa-metrics/package.json index def2d873cc..d7dbc35506 100644 --- a/packages/koa-metrics/package.json +++ b/packages/koa-metrics/package.json @@ -45,9 +45,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/koa-performance/CHANGELOG.md b/packages/koa-performance/CHANGELOG.md index 08ef2520f2..5e8dc290ea 100644 --- a/packages/koa-performance/CHANGELOG.md +++ b/packages/koa-performance/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.0 - 2022-01-13 diff --git a/packages/koa-performance/package.json b/packages/koa-performance/package.json index cef7d38949..20bd589e18 100644 --- a/packages/koa-performance/package.json +++ b/packages/koa-performance/package.json @@ -52,9 +52,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/koa-shopify-graphql-proxy/CHANGELOG.md b/packages/koa-shopify-graphql-proxy/CHANGELOG.md index edcbce98e6..973180e0ce 100644 --- a/packages/koa-shopify-graphql-proxy/CHANGELOG.md +++ b/packages/koa-shopify-graphql-proxy/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 6.0.3 - 2022-01-13 diff --git a/packages/koa-shopify-graphql-proxy/package.json b/packages/koa-shopify-graphql-proxy/package.json index 38407e30bc..51dfc016aa 100644 --- a/packages/koa-shopify-graphql-proxy/package.json +++ b/packages/koa-shopify-graphql-proxy/package.json @@ -43,9 +43,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/koa-shopify-webhooks/CHANGELOG.md b/packages/koa-shopify-webhooks/CHANGELOG.md index ba5d7b62f8..b6f7a46dd2 100644 --- a/packages/koa-shopify-webhooks/CHANGELOG.md +++ b/packages/koa-shopify-webhooks/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.4.0 - 2022-01-31 diff --git a/packages/koa-shopify-webhooks/package.json b/packages/koa-shopify-webhooks/package.json index 52071e5df8..84afe274c4 100644 --- a/packages/koa-shopify-webhooks/package.json +++ b/packages/koa-shopify-webhooks/package.json @@ -51,9 +51,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md index 7e27637017..6520d716a1 100644 --- a/packages/logger/CHANGELOG.md +++ b/packages/logger/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.0.7 - 2021-11-23 diff --git a/packages/logger/package.json b/packages/logger/package.json index 161295d48d..0ba9c1a7b9 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -41,9 +41,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/mime-types/CHANGELOG.md b/packages/mime-types/CHANGELOG.md index 743fefe1df..f5674bc27a 100644 --- a/packages/mime-types/CHANGELOG.md +++ b/packages/mime-types/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.2.0 - 2022-01-07 diff --git a/packages/mime-types/package.json b/packages/mime-types/package.json index f563d457fe..949df75af7 100644 --- a/packages/mime-types/package.json +++ b/packages/mime-types/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/network/CHANGELOG.md b/packages/network/CHANGELOG.md index d8068bd64d..fdc2059c95 100644 --- a/packages/network/CHANGELOG.md +++ b/packages/network/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.4 - 2021-09-24 diff --git a/packages/network/package.json b/packages/network/package.json index 246e8efb00..8e718a4d57 100644 --- a/packages/network/package.json +++ b/packages/network/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/performance/CHANGELOG.md b/packages/performance/CHANGELOG.md index 8e7b7dc447..0eac3614be 100644 --- a/packages/performance/CHANGELOG.md +++ b/packages/performance/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.10 - 2021-11-30 diff --git a/packages/performance/package.json b/packages/performance/package.json index 3a2a1b6b16..ed3866b5bf 100644 --- a/packages/performance/package.json +++ b/packages/performance/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/polyfills/CHANGELOG.md b/packages/polyfills/CHANGELOG.md index e1870a3cd5..76fc4fdd0e 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.1.5 - 2021-09-24 diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index 158647e214..d8e25bc5f3 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -175,109 +175,109 @@ "exports": { "./": "./", "./base": { + "esnext": "./base.esnext", "import": "./base.mjs", - "require": "./base.js", - "esnext": "./base.esnext" + "require": "./base.js" }, "./fetch.browser": { + "esnext": "./fetch.browser.esnext", "import": "./fetch.browser.mjs", - "require": "./fetch.browser.js", - "esnext": "./fetch.browser.esnext" + "require": "./fetch.browser.js" }, "./fetch.jest": { + "esnext": "./fetch.jest.esnext", "import": "./fetch.jest.mjs", - "require": "./fetch.jest.js", - "esnext": "./fetch.jest.esnext" + "require": "./fetch.jest.js" }, "./fetch.node": { + "esnext": "./fetch.node.esnext", "import": "./fetch.node.mjs", - "require": "./fetch.node.js", - "esnext": "./fetch.node.esnext" + "require": "./fetch.node.js" }, "./formdata.browser": { + "esnext": "./formdata.browser.esnext", "import": "./formdata.browser.mjs", - "require": "./formdata.browser.js", - "esnext": "./formdata.browser.esnext" + "require": "./formdata.browser.js" }, "./formdata.jest": { + "esnext": "./formdata.jest.esnext", "import": "./formdata.jest.mjs", - "require": "./formdata.jest.js", - "esnext": "./formdata.jest.esnext" + "require": "./formdata.jest.js" }, "./formdata.node": { + "esnext": "./formdata.node.esnext", "import": "./formdata.node.mjs", - "require": "./formdata.node.js", - "esnext": "./formdata.node.esnext" + "require": "./formdata.node.js" }, "./idle-callback.browser": { + "esnext": "./idle-callback.browser.esnext", "import": "./idle-callback.browser.mjs", - "require": "./idle-callback.browser.js", - "esnext": "./idle-callback.browser.esnext" + "require": "./idle-callback.browser.js" }, "./idle-callback.jest": { + "esnext": "./idle-callback.jest.esnext", "import": "./idle-callback.jest.mjs", - "require": "./idle-callback.jest.js", - "esnext": "./idle-callback.jest.esnext" + "require": "./idle-callback.jest.js" }, "./idle-callback.node": { + "esnext": "./idle-callback.node.esnext", "import": "./idle-callback.node.mjs", - "require": "./idle-callback.node.js", - "esnext": "./idle-callback.node.esnext" + "require": "./idle-callback.node.js" }, ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./intersection-observer.browser": { + "esnext": "./intersection-observer.browser.esnext", "import": "./intersection-observer.browser.mjs", - "require": "./intersection-observer.browser.js", - "esnext": "./intersection-observer.browser.esnext" + "require": "./intersection-observer.browser.js" }, "./intersection-observer.jest": { + "esnext": "./intersection-observer.jest.esnext", "import": "./intersection-observer.jest.mjs", - "require": "./intersection-observer.jest.js", - "esnext": "./intersection-observer.jest.esnext" + "require": "./intersection-observer.jest.js" }, "./intersection-observer.node": { + "esnext": "./intersection-observer.node.esnext", "import": "./intersection-observer.node.mjs", - "require": "./intersection-observer.node.js", - "esnext": "./intersection-observer.node.esnext" + "require": "./intersection-observer.node.js" }, "./intl.browser": { + "esnext": "./intl.browser.esnext", "import": "./intl.browser.mjs", - "require": "./intl.browser.js", - "esnext": "./intl.browser.esnext" + "require": "./intl.browser.js" }, "./intl.jest": { + "esnext": "./intl.jest.esnext", "import": "./intl.jest.mjs", - "require": "./intl.jest.js", - "esnext": "./intl.jest.esnext" + "require": "./intl.jest.js" }, "./intl.node": { + "esnext": "./intl.node.esnext", "import": "./intl.node.mjs", - "require": "./intl.node.js", - "esnext": "./intl.node.esnext" + "require": "./intl.node.js" }, "./mutation-observer.browser": { + "esnext": "./mutation-observer.browser.esnext", "import": "./mutation-observer.browser.mjs", - "require": "./mutation-observer.browser.js", - "esnext": "./mutation-observer.browser.esnext" + "require": "./mutation-observer.browser.js" }, "./mutation-observer.jest": { + "esnext": "./mutation-observer.jest.esnext", "import": "./mutation-observer.jest.mjs", - "require": "./mutation-observer.jest.js", - "esnext": "./mutation-observer.jest.esnext" + "require": "./mutation-observer.jest.js" }, "./mutation-observer.node": { + "esnext": "./mutation-observer.node.esnext", "import": "./mutation-observer.node.mjs", - "require": "./mutation-observer.node.js", - "esnext": "./mutation-observer.node.esnext" + "require": "./mutation-observer.node.js" }, "./noop": { + "esnext": "./noop.esnext", "import": "./noop.mjs", - "require": "./noop.js", - "esnext": "./noop.esnext" + "require": "./noop.js" } } } diff --git a/packages/predicates/CHANGELOG.md b/packages/predicates/CHANGELOG.md index a71e729050..aac61be33b 100644 --- a/packages/predicates/CHANGELOG.md +++ b/packages/predicates/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.4 - 2021-09-24 diff --git a/packages/predicates/package.json b/packages/predicates/package.json index 18866c7929..0e07953b49 100644 --- a/packages/predicates/package.json +++ b/packages/predicates/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-app-bridge-universal-provider/CHANGELOG.md b/packages/react-app-bridge-universal-provider/CHANGELOG.md index d6c8667c07..773dec2527 100644 --- a/packages/react-app-bridge-universal-provider/CHANGELOG.md +++ b/packages/react-app-bridge-universal-provider/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.15 - 2022-01-19 diff --git a/packages/react-app-bridge-universal-provider/package.json b/packages/react-app-bridge-universal-provider/package.json index a80b27026d..b88472b7c1 100644 --- a/packages/react-app-bridge-universal-provider/package.json +++ b/packages/react-app-bridge-universal-provider/package.json @@ -46,9 +46,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-async/CHANGELOG.md b/packages/react-async/CHANGELOG.md index 5607da5442..406a16d2c3 100644 --- a/packages/react-async/CHANGELOG.md +++ b/packages/react-async/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.1.14 - 2022-01-19 diff --git a/packages/react-async/package.json b/packages/react-async/package.json index 3b1371228a..c3c87ce294 100644 --- a/packages/react-async/package.json +++ b/packages/react-async/package.json @@ -58,14 +58,14 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./testing": { + "esnext": "./testing.esnext", "import": "./testing.mjs", - "require": "./testing.js", - "esnext": "./testing.esnext" + "require": "./testing.js" } } } diff --git a/packages/react-bugsnag/CHANGELOG.md b/packages/react-bugsnag/CHANGELOG.md index 50bab618cf..712fb7002d 100644 --- a/packages/react-bugsnag/CHANGELOG.md +++ b/packages/react-bugsnag/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.2.8 - 2021-11-23 diff --git a/packages/react-bugsnag/package.json b/packages/react-bugsnag/package.json index 25a71a54cd..2dbea43d56 100644 --- a/packages/react-bugsnag/package.json +++ b/packages/react-bugsnag/package.json @@ -43,9 +43,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-compose/CHANGELOG.md b/packages/react-compose/CHANGELOG.md index 5f14beef6d..6b7370e6f2 100644 --- a/packages/react-compose/CHANGELOG.md +++ b/packages/react-compose/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.6 - 2021-09-24 diff --git a/packages/react-compose/package.json b/packages/react-compose/package.json index a54516442a..d4e817d8aa 100644 --- a/packages/react-compose/package.json +++ b/packages/react-compose/package.json @@ -43,9 +43,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-cookie/CHANGELOG.md b/packages/react-cookie/CHANGELOG.md index 5796398d8e..b79436244e 100644 --- a/packages/react-cookie/CHANGELOG.md +++ b/packages/react-cookie/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.2.1 - 2022-01-19 diff --git a/packages/react-cookie/package.json b/packages/react-cookie/package.json index 6eb18e79ab..2129c5e6b9 100644 --- a/packages/react-cookie/package.json +++ b/packages/react-cookie/package.json @@ -45,9 +45,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-csrf-universal-provider/CHANGELOG.md b/packages/react-csrf-universal-provider/CHANGELOG.md index 1bd5811450..7287080839 100644 --- a/packages/react-csrf-universal-provider/CHANGELOG.md +++ b/packages/react-csrf-universal-provider/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.12 - 2022-01-19 diff --git a/packages/react-csrf-universal-provider/package.json b/packages/react-csrf-universal-provider/package.json index da46aab3a3..cc9e83114f 100644 --- a/packages/react-csrf-universal-provider/package.json +++ b/packages/react-csrf-universal-provider/package.json @@ -47,9 +47,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-csrf/CHANGELOG.md b/packages/react-csrf/CHANGELOG.md index 3363c0bcbe..d21463cb6f 100644 --- a/packages/react-csrf/CHANGELOG.md +++ b/packages/react-csrf/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.6 - 2021-09-24 diff --git a/packages/react-csrf/package.json b/packages/react-csrf/package.json index fdea44bc7e..e27092fb7c 100644 --- a/packages/react-csrf/package.json +++ b/packages/react-csrf/package.json @@ -39,9 +39,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-effect/CHANGELOG.md b/packages/react-effect/CHANGELOG.md index a9e7d5d991..1386dc1a82 100644 --- a/packages/react-effect/CHANGELOG.md +++ b/packages/react-effect/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.1.7 - 2021-11-23 diff --git a/packages/react-effect/package.json b/packages/react-effect/package.json index 2a10385a57..2110bca4c7 100644 --- a/packages/react-effect/package.json +++ b/packages/react-effect/package.json @@ -53,14 +53,14 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./server": { + "esnext": "./server.esnext", "import": "./server.mjs", - "require": "./server.js", - "esnext": "./server.esnext" + "require": "./server.js" } } } diff --git a/packages/react-form-state/CHANGELOG.md b/packages/react-form-state/CHANGELOG.md index 0f8b9e3a5d..a1878717cf 100644 --- a/packages/react-form-state/CHANGELOG.md +++ b/packages/react-form-state/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.1.9 - 2022-01-19 diff --git a/packages/react-form-state/package.json b/packages/react-form-state/package.json index a371fd7ad4..a36c164807 100644 --- a/packages/react-form-state/package.json +++ b/packages/react-form-state/package.json @@ -46,9 +46,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-form/CHANGELOG.md b/packages/react-form/CHANGELOG.md index c4a0cb813b..f3e9751dbb 100644 --- a/packages/react-form/CHANGELOG.md +++ b/packages/react-form/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.1.10 - 2022-01-19 diff --git a/packages/react-form/package.json b/packages/react-form/package.json index df5c233b59..04a72c83a1 100644 --- a/packages/react-form/package.json +++ b/packages/react-form/package.json @@ -45,9 +45,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-google-analytics/CHANGELOG.md b/packages/react-google-analytics/CHANGELOG.md index e4df70697c..58071426df 100644 --- a/packages/react-google-analytics/CHANGELOG.md +++ b/packages/react-google-analytics/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.1.14 - 2022-01-19 diff --git a/packages/react-google-analytics/package.json b/packages/react-google-analytics/package.json index fdd19abcfa..770456b7e7 100644 --- a/packages/react-google-analytics/package.json +++ b/packages/react-google-analytics/package.json @@ -42,9 +42,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-graphql-universal-provider/CHANGELOG.md b/packages/react-graphql-universal-provider/CHANGELOG.md index 245c041b40..53bbce5db3 100644 --- a/packages/react-graphql-universal-provider/CHANGELOG.md +++ b/packages/react-graphql-universal-provider/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.4.1 - 2022-01-19 diff --git a/packages/react-graphql-universal-provider/package.json b/packages/react-graphql-universal-provider/package.json index dce9f3f73c..d506f6bc2c 100644 --- a/packages/react-graphql-universal-provider/package.json +++ b/packages/react-graphql-universal-provider/package.json @@ -52,9 +52,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-graphql/CHANGELOG.md b/packages/react-graphql/CHANGELOG.md index 5fd1381969..2839ab3bc5 100644 --- a/packages/react-graphql/CHANGELOG.md +++ b/packages/react-graphql/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 7.1.16 - 2022-01-19 diff --git a/packages/react-graphql/package.json b/packages/react-graphql/package.json index 50441db3d0..98fe216c9c 100644 --- a/packages/react-graphql/package.json +++ b/packages/react-graphql/package.json @@ -56,9 +56,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-hooks/CHANGELOG.md b/packages/react-hooks/CHANGELOG.md index 4091d20f52..fdfecb7874 100644 --- a/packages/react-hooks/CHANGELOG.md +++ b/packages/react-hooks/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.10 - 2022-01-19 diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index 63d11b3f27..0f93a6a6eb 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -39,9 +39,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } }, "devDependencies": { diff --git a/packages/react-html/CHANGELOG.md b/packages/react-html/CHANGELOG.md index 9300bb6bc2..1aab35fb2a 100644 --- a/packages/react-html/CHANGELOG.md +++ b/packages/react-html/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 11.1.12 - 2022-01-19 diff --git a/packages/react-html/package.json b/packages/react-html/package.json index 05e0f2d03a..d82f36aff3 100644 --- a/packages/react-html/package.json +++ b/packages/react-html/package.json @@ -62,14 +62,14 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./server": { + "esnext": "./server.esnext", "import": "./server.mjs", - "require": "./server.js", - "esnext": "./server.esnext" + "require": "./server.js" } } } diff --git a/packages/react-hydrate/CHANGELOG.md b/packages/react-hydrate/CHANGELOG.md index ed1fd6e108..89d5ae80a7 100644 --- a/packages/react-hydrate/CHANGELOG.md +++ b/packages/react-hydrate/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.11 - 2022-01-19 diff --git a/packages/react-hydrate/package.json b/packages/react-hydrate/package.json index 1be9483667..e92ceee869 100644 --- a/packages/react-hydrate/package.json +++ b/packages/react-hydrate/package.json @@ -43,9 +43,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-i18n-universal-provider/CHANGELOG.md b/packages/react-i18n-universal-provider/CHANGELOG.md index 3bfee05d0d..60ffd9852c 100644 --- a/packages/react-i18n-universal-provider/CHANGELOG.md +++ b/packages/react-i18n-universal-provider/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.23 - 2022-01-28 diff --git a/packages/react-i18n-universal-provider/package.json b/packages/react-i18n-universal-provider/package.json index c46dad9ca9..962d700980 100644 --- a/packages/react-i18n-universal-provider/package.json +++ b/packages/react-i18n-universal-provider/package.json @@ -47,9 +47,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-i18n/CHANGELOG.md b/packages/react-i18n/CHANGELOG.md index 2e0eaea578..c7130fe3b1 100644 --- a/packages/react-i18n/CHANGELOG.md +++ b/packages/react-i18n/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 6.3.4 - 2022-01-28 diff --git a/packages/react-i18n/package.json b/packages/react-i18n/package.json index 6b8d49a4c5..98c1d4cee3 100644 --- a/packages/react-i18n/package.json +++ b/packages/react-i18n/package.json @@ -92,24 +92,24 @@ "exports": { "./": "./", "./babel": { + "esnext": "./babel.esnext", "import": "./babel.mjs", - "require": "./babel.js", - "esnext": "./babel.esnext" + "require": "./babel.js" }, "./generate-dictionaries": { + "esnext": "./generate-dictionaries.esnext", "import": "./generate-dictionaries.mjs", - "require": "./generate-dictionaries.js", - "esnext": "./generate-dictionaries.esnext" + "require": "./generate-dictionaries.js" }, "./generate-index": { + "esnext": "./generate-index.esnext", "import": "./generate-index.mjs", - "require": "./generate-index.js", - "esnext": "./generate-index.esnext" + "require": "./generate-index.js" }, ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-idle/CHANGELOG.md b/packages/react-idle/CHANGELOG.md index 17862c8895..5ec2345cd8 100644 --- a/packages/react-idle/CHANGELOG.md +++ b/packages/react-idle/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.7 - 2021-12-01 diff --git a/packages/react-idle/package.json b/packages/react-idle/package.json index 9b60321f7b..5ab3d25692 100644 --- a/packages/react-idle/package.json +++ b/packages/react-idle/package.json @@ -43,9 +43,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-import-remote/CHANGELOG.md b/packages/react-import-remote/CHANGELOG.md index d359a72849..a4a6d79737 100644 --- a/packages/react-import-remote/CHANGELOG.md +++ b/packages/react-import-remote/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.14 - 2022-01-19 diff --git a/packages/react-import-remote/package.json b/packages/react-import-remote/package.json index 800f97a732..0ca3d96c9a 100644 --- a/packages/react-import-remote/package.json +++ b/packages/react-import-remote/package.json @@ -46,9 +46,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-intersection-observer/CHANGELOG.md b/packages/react-intersection-observer/CHANGELOG.md index 288d9a4044..bee8d04241 100644 --- a/packages/react-intersection-observer/CHANGELOG.md +++ b/packages/react-intersection-observer/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.1.7 - 2021-11-01 diff --git a/packages/react-intersection-observer/package.json b/packages/react-intersection-observer/package.json index b65c0d42ff..bd028bc5c4 100644 --- a/packages/react-intersection-observer/package.json +++ b/packages/react-intersection-observer/package.json @@ -39,9 +39,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-network/CHANGELOG.md b/packages/react-network/CHANGELOG.md index 1fb8e0c3e1..23b23aca53 100644 --- a/packages/react-network/CHANGELOG.md +++ b/packages/react-network/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.2.1 - 2022-01-19 diff --git a/packages/react-network/package.json b/packages/react-network/package.json index e18aa2bc80..999d509d9a 100644 --- a/packages/react-network/package.json +++ b/packages/react-network/package.json @@ -64,14 +64,14 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./server": { + "esnext": "./server.esnext", "import": "./server.mjs", - "require": "./server.js", - "esnext": "./server.esnext" + "require": "./server.js" } } } diff --git a/packages/react-performance/CHANGELOG.md b/packages/react-performance/CHANGELOG.md index fa1c0969d3..bfabdab58b 100644 --- a/packages/react-performance/CHANGELOG.md +++ b/packages/react-performance/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.10 - 2021-11-30 diff --git a/packages/react-performance/package.json b/packages/react-performance/package.json index b6af0cdb5d..cf2309dc0e 100644 --- a/packages/react-performance/package.json +++ b/packages/react-performance/package.json @@ -45,9 +45,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index 88e7cd7e69..c3ecec3943 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 1.4.0 - 2022-01-28 diff --git a/packages/react-router/package.json b/packages/react-router/package.json index dc5323e7a0..6158b03e27 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -45,9 +45,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-server/CHANGELOG.md b/packages/react-server/CHANGELOG.md index 4b71a0563c..2e67ce20c4 100644 --- a/packages/react-server/CHANGELOG.md +++ b/packages/react-server/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.1 - 2022-01-19 diff --git a/packages/react-server/package.json b/packages/react-server/package.json index d8d60c06b0..d313df1b0a 100644 --- a/packages/react-server/package.json +++ b/packages/react-server/package.json @@ -85,14 +85,14 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./webpack-plugin": { + "esnext": "./webpack-plugin.esnext", "import": "./webpack-plugin.mjs", - "require": "./webpack-plugin.js", - "esnext": "./webpack-plugin.esnext" + "require": "./webpack-plugin.js" } } } diff --git a/packages/react-shortcuts/CHANGELOG.md b/packages/react-shortcuts/CHANGELOG.md index c06cda4c64..5219fe4da1 100644 --- a/packages/react-shortcuts/CHANGELOG.md +++ b/packages/react-shortcuts/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.2.0 - 2022-01-24 diff --git a/packages/react-shortcuts/package.json b/packages/react-shortcuts/package.json index 688256459e..598b15e648 100644 --- a/packages/react-shortcuts/package.json +++ b/packages/react-shortcuts/package.json @@ -39,9 +39,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-testing/CHANGELOG.md b/packages/react-testing/CHANGELOG.md index 87d1aa35ee..f62ae1f0ab 100644 --- a/packages/react-testing/CHANGELOG.md +++ b/packages/react-testing/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.3.1 - 2022-01-19 diff --git a/packages/react-testing/package.json b/packages/react-testing/package.json index 04b3b9558b..8a9414d05a 100644 --- a/packages/react-testing/package.json +++ b/packages/react-testing/package.json @@ -55,14 +55,14 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" }, "./matchers": { + "esnext": "./matchers.esnext", "import": "./matchers.mjs", - "require": "./matchers.js", - "esnext": "./matchers.esnext" + "require": "./matchers.js" } } } diff --git a/packages/react-tracking-pixel/CHANGELOG.md b/packages/react-tracking-pixel/CHANGELOG.md index a91839b0e3..03cf7c830c 100644 --- a/packages/react-tracking-pixel/CHANGELOG.md +++ b/packages/react-tracking-pixel/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.1.12 - 2022-01-19 diff --git a/packages/react-tracking-pixel/package.json b/packages/react-tracking-pixel/package.json index b6448f7148..2d87db2e5f 100644 --- a/packages/react-tracking-pixel/package.json +++ b/packages/react-tracking-pixel/package.json @@ -42,9 +42,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-universal-provider/CHANGELOG.md b/packages/react-universal-provider/CHANGELOG.md index 6850da3b72..24dde4b7b2 100644 --- a/packages/react-universal-provider/CHANGELOG.md +++ b/packages/react-universal-provider/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.1.12 - 2022-01-19 diff --git a/packages/react-universal-provider/package.json b/packages/react-universal-provider/package.json index 03faf84c40..16a2b89d62 100644 --- a/packages/react-universal-provider/package.json +++ b/packages/react-universal-provider/package.json @@ -43,9 +43,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/react-web-worker/CHANGELOG.md b/packages/react-web-worker/CHANGELOG.md index 95a1d7fd67..c895034963 100644 --- a/packages/react-web-worker/CHANGELOG.md +++ b/packages/react-web-worker/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 4.0.2 - 2022-01-19 diff --git a/packages/react-web-worker/package.json b/packages/react-web-worker/package.json index 2a192398b3..2c0e76ecbe 100644 --- a/packages/react-web-worker/package.json +++ b/packages/react-web-worker/package.json @@ -45,9 +45,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/semaphore/CHANGELOG.md b/packages/semaphore/CHANGELOG.md index 41f62d063e..9b313b780b 100644 --- a/packages/semaphore/CHANGELOG.md +++ b/packages/semaphore/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.7 - 2021-11-23 diff --git a/packages/semaphore/package.json b/packages/semaphore/package.json index d052c211c4..283652b761 100644 --- a/packages/semaphore/package.json +++ b/packages/semaphore/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/sewing-kit-koa/CHANGELOG.md b/packages/sewing-kit-koa/CHANGELOG.md index a5bf3d7e44..00dde5bb4e 100644 --- a/packages/sewing-kit-koa/CHANGELOG.md +++ b/packages/sewing-kit-koa/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 8.1.0 - 2022-01-13 diff --git a/packages/sewing-kit-koa/package.json b/packages/sewing-kit-koa/package.json index 9581562c27..48ecb26e05 100644 --- a/packages/sewing-kit-koa/package.json +++ b/packages/sewing-kit-koa/package.json @@ -56,9 +56,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/statsd/CHANGELOG.md b/packages/statsd/CHANGELOG.md index 6bed06de97..0569ecae51 100644 --- a/packages/statsd/CHANGELOG.md +++ b/packages/statsd/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.0.8 - 2021-11-23 diff --git a/packages/statsd/package.json b/packages/statsd/package.json index cbee652a24..ac9a3fe4fb 100644 --- a/packages/statsd/package.json +++ b/packages/statsd/package.json @@ -40,9 +40,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/storybook-a11y-test/CHANGELOG.md b/packages/storybook-a11y-test/CHANGELOG.md index ca7433e78d..65220dc5c3 100644 --- a/packages/storybook-a11y-test/CHANGELOG.md +++ b/packages/storybook-a11y-test/CHANGELOG.md @@ -10,6 +10,7 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ### Changed - Updated puppeteer to 13.1.3 ([#2149](https://github.com/Shopify/quilt/pull/2149)) +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 0.4.3 - 2022-01-10 diff --git a/packages/storybook-a11y-test/package.json b/packages/storybook-a11y-test/package.json index 49a5afc0bf..d1faabaf5a 100644 --- a/packages/storybook-a11y-test/package.json +++ b/packages/storybook-a11y-test/package.json @@ -50,9 +50,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/useful-types/CHANGELOG.md b/packages/useful-types/CHANGELOG.md index c7c04bf0db..ef7b5d69f9 100644 --- a/packages/useful-types/CHANGELOG.md +++ b/packages/useful-types/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 3.0.5 - 2021-09-24 diff --git a/packages/useful-types/package.json b/packages/useful-types/package.json index d574584bcc..c165a5202b 100644 --- a/packages/useful-types/package.json +++ b/packages/useful-types/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/packages/with-env/CHANGELOG.md b/packages/with-env/CHANGELOG.md index f5bce99f6f..b56681c980 100644 --- a/packages/with-env/CHANGELOG.md +++ b/packages/with-env/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## Unreleased + +### Changed + +- Reorder exports map to prioritize the `esnext` condition. [[#2148](https://github.com/Shopify/quilt/pull/2148)] ## 2.0.4 - 2021-09-24 diff --git a/packages/with-env/package.json b/packages/with-env/package.json index ad9ccc9eca..86c6d819b8 100644 --- a/packages/with-env/package.json +++ b/packages/with-env/package.json @@ -36,9 +36,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/templates/package.hbs.json b/templates/package.hbs.json index c45774540d..9cec352f8c 100644 --- a/templates/package.hbs.json +++ b/templates/package.hbs.json @@ -38,9 +38,9 @@ "exports": { "./": "./", ".": { + "esnext": "./index.esnext", "import": "./index.mjs", - "require": "./index.js", - "esnext": "./index.esnext" + "require": "./index.js" } } } diff --git a/tests/consistent-package-json.test.ts b/tests/consistent-package-json.test.ts index db1faacb03..62933f7b5f 100644 --- a/tests/consistent-package-json.test.ts +++ b/tests/consistent-package-json.test.ts @@ -139,6 +139,18 @@ packages.forEach( it('specifies the expected types', () => { expect(packageJSON.types).toBe(expectedPackageJSON.types); }); + + it('specifies esnext, import, and require as the ordered keys in the exports map', () => { + Object.keys(packageJSON.exports) + .filter((key) => key !== './') + .forEach((key) => { + expect(Object.keys(packageJSON.exports[key])).toStrictEqual([ + 'esnext', + 'import', + 'require', + ]); + }); + }); } });