diff --git a/package.json b/package.json index a9e3b45..9c62dce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-root", - "version": "15.0.0", + "version": "15.0.1", "private": true, "repository": { "type": "git", diff --git a/packages/base/CHANGELOG.md b/packages/base/CHANGELOG.md index 400d12c..9d82f39 100644 --- a/packages/base/CHANGELOG.md +++ b/packages/base/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.0.1] [BACKPORT] + +### Fixed + +- Allow import from CommonJS ([#453](https://github.com/MetaMask/eslint-config/pull/453)) + ## [15.0.0] ### Changed @@ -292,7 +298,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add base, TypeScript, and Jest configs (#3) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@15.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@15.0.1...HEAD +[15.0.1]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@15.0.0...@metamask/eslint-config@15.0.1 [15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@14.1.0...@metamask/eslint-config@15.0.0 [14.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@14.0.0...@metamask/eslint-config@14.1.0 [14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@13.0.0...@metamask/eslint-config@14.0.0 diff --git a/packages/base/package.json b/packages/base/package.json index 60324e8..925d279 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config", - "version": "15.0.0", + "version": "15.0.1", "description": "Shareable MetaMask ESLint config.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -14,10 +14,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./src/index.d.mts", - "default": "./src/index.mjs" - } + "types": "./src/index.d.mts", + "default": "./src/index.mjs" } }, "main": "./src/index.mjs", diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index 9fcec7c..a6c0e26 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.0.1] [BACKPORT] + +### Fixed + +- Allow import from CommonJS ([#453](https://github.com/MetaMask/eslint-config/pull/453)) + ## [15.0.0] ### Changed @@ -60,7 +66,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release of this package. -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-browser@15.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-browser@15.0.1...HEAD +[15.0.1]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-browser@15.0.0...@metamask/eslint-config-browser@15.0.1 [15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-browser@14.0.0...@metamask/eslint-config-browser@15.0.0 [14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-browser@13.0.0...@metamask/eslint-config-browser@14.0.0 [13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-browser@12.1.0...@metamask/eslint-config-browser@13.0.0 diff --git a/packages/browser/package.json b/packages/browser/package.json index 5d60bad..05c568e 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-browser", - "version": "15.0.0", + "version": "15.0.1", "description": "Shareable MetaMask ESLint plugin for browser environments.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -14,10 +14,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./src/index.d.mts", - "default": "./src/index.mjs" - } + "types": "./src/index.d.mts", + "default": "./src/index.mjs" } }, "main": "./src/index.mjs", diff --git a/packages/commonjs/CHANGELOG.md b/packages/commonjs/CHANGELOG.md index d760562..5a09522 100644 --- a/packages/commonjs/CHANGELOG.md +++ b/packages/commonjs/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.0.1] [BACKPORT] + +### Fixed + +- Allow import from CommonJS ([#453](https://github.com/MetaMask/eslint-config/pull/453)) + ## [15.0.0] ### Changed @@ -55,7 +61,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release of this package ([#267](https://github.com/MetaMask/eslint-config/pull/267)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-commonjs@15.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-commonjs@15.0.1...HEAD +[15.0.1]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-commonjs@15.0.0...@metamask/eslint-config-commonjs@15.0.1 [15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-commonjs@14.0.0...@metamask/eslint-config-commonjs@15.0.0 [14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-commonjs@13.0.0...@metamask/eslint-config-commonjs@14.0.0 [13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-commonjs@12.1.0...@metamask/eslint-config-commonjs@13.0.0 diff --git a/packages/commonjs/package.json b/packages/commonjs/package.json index 1e218d0..756741a 100644 --- a/packages/commonjs/package.json +++ b/packages/commonjs/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-commonjs", - "version": "15.0.0", + "version": "15.0.1", "description": "Shareable MetaMask ESLint config for CommonJS projects.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -14,10 +14,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./src/index.d.mts", - "default": "./src/index.mjs" - } + "types": "./src/index.d.mts", + "default": "./src/index.mjs" } }, "main": "./src/index.mjs", diff --git a/packages/jest/CHANGELOG.md b/packages/jest/CHANGELOG.md index c76e5f5..a2b1bd6 100644 --- a/packages/jest/CHANGELOG.md +++ b/packages/jest/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.0.1] [BACKPORT] + +### Fixed + +- Allow import from CommonJS ([#453](https://github.com/MetaMask/eslint-config/pull/453)) + ## [15.0.0] ### Changed @@ -128,7 +134,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - To continue extending this config, install this package and update your `.eslintrc.js` `extends` array to include `@metamask/eslint-config-jest` instead of `@metamask/eslint-config/jest`. - Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@15.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@15.0.1...HEAD +[15.0.1]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@15.0.0...@metamask/eslint-config-jest@15.0.1 [15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@14.1.0...@metamask/eslint-config-jest@15.0.0 [14.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@14.0.0...@metamask/eslint-config-jest@14.1.0 [14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@13.0.0...@metamask/eslint-config-jest@14.0.0 diff --git a/packages/jest/package.json b/packages/jest/package.json index aa724df..127584b 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-jest", - "version": "15.0.0", + "version": "15.0.1", "description": "Shareable MetaMask ESLint config for Jest.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -14,10 +14,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./src/index.d.mts", - "default": "./src/index.mjs" - } + "types": "./src/index.d.mts", + "default": "./src/index.mjs" } }, "main": "./src/index.mjs", diff --git a/packages/mocha/CHANGELOG.md b/packages/mocha/CHANGELOG.md index 50f610b..c0a95b6 100644 --- a/packages/mocha/CHANGELOG.md +++ b/packages/mocha/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.0.1] [BACKPORT] + +### Fixed + +- Allow import from CommonJS ([#453](https://github.com/MetaMask/eslint-config/pull/453)) + ## [15.0.0] ### Changed @@ -115,7 +121,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - To continue extending this config, install this package and update your `.eslintrc.js` `extends` array to include `@metamask/eslint-config-mocha` instead of `@metamask/eslint-config/mocha`. - Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-mocha@15.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-mocha@15.0.1...HEAD +[15.0.1]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-mocha@15.0.0...@metamask/eslint-config-mocha@15.0.1 [15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-mocha@14.0.0...@metamask/eslint-config-mocha@15.0.0 [14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-mocha@13.0.0...@metamask/eslint-config-mocha@14.0.0 [13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-mocha@12.1.0...@metamask/eslint-config-mocha@13.0.0 diff --git a/packages/mocha/package.json b/packages/mocha/package.json index 89809bd..abf1314 100644 --- a/packages/mocha/package.json +++ b/packages/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-mocha", - "version": "15.0.0", + "version": "15.0.1", "description": "Shareable MetaMask ESLint config for Mocha.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -14,10 +14,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./src/index.d.mts", - "default": "./src/index.mjs" - } + "types": "./src/index.d.mts", + "default": "./src/index.mjs" } }, "main": "./src/index.mjs", diff --git a/packages/nodejs/CHANGELOG.md b/packages/nodejs/CHANGELOG.md index fd26a15..656c1cc 100644 --- a/packages/nodejs/CHANGELOG.md +++ b/packages/nodejs/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.0.1] [BACKPORT] + +### Fixed + +- Allow import from CommonJS ([#453](https://github.com/MetaMask/eslint-config/pull/453)) + ## [15.0.0] ### Changed @@ -129,7 +135,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - To continue extending this config, install this package and update your `.eslintrc.js` `extends` array to include `@metamask/eslint-config-nodejs` instead of `@metamask/eslint-config/nodejs`. - Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-nodejs@15.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-nodejs@15.0.1...HEAD +[15.0.1]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-nodejs@15.0.0...@metamask/eslint-config-nodejs@15.0.1 [15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-nodejs@14.0.0...@metamask/eslint-config-nodejs@15.0.0 [14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-nodejs@13.0.0...@metamask/eslint-config-nodejs@14.0.0 [13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-nodejs@12.1.0...@metamask/eslint-config-nodejs@13.0.0 diff --git a/packages/nodejs/package.json b/packages/nodejs/package.json index fe784f9..663e59e 100644 --- a/packages/nodejs/package.json +++ b/packages/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-nodejs", - "version": "15.0.0", + "version": "15.0.1", "description": "Shareable MetaMask ESLint config for Node.js.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -14,10 +14,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./src/index.d.mts", - "default": "./src/index.mjs" - } + "types": "./src/index.d.mts", + "default": "./src/index.mjs" } }, "main": "./src/index.mjs", diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index 2c1ac42..05bd930 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.0.1] [BACKPORT] + +### Fixed + +- Allow import from CommonJS ([#453](https://github.com/MetaMask/eslint-config/pull/453)) + ## [15.0.0] ### Changed @@ -211,7 +217,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - To continue extending this config, install this package and update your `.eslintrc.js` `extends` array to include `@metamask/eslint-config-typescript` instead of `@metamask/eslint-config/typescript`. - Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@15.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@15.0.1...HEAD +[15.0.1]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@15.0.0...@metamask/eslint-config-typescript@15.0.1 [15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@14.1.0...@metamask/eslint-config-typescript@15.0.0 [14.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@14.0.0...@metamask/eslint-config-typescript@14.1.0 [14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@13.0.0...@metamask/eslint-config-typescript@14.0.0 diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 13b17e2..f392d44 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-typescript", - "version": "15.0.0", + "version": "15.0.1", "description": "Shareable MetaMask ESLint config for TypeScript.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -14,10 +14,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./src/index.d.mts", - "default": "./src/index.mjs" - } + "types": "./src/index.d.mts", + "default": "./src/index.mjs" } }, "main": "./src/index.mjs", diff --git a/packages/vitest/CHANGELOG.md b/packages/vitest/CHANGELOG.md index 403c338..86e86c1 100644 --- a/packages/vitest/CHANGELOG.md +++ b/packages/vitest/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.0.1] [BACKPORT] + +### Fixed + +- Allow import from CommonJS ([#453](https://github.com/MetaMask/eslint-config/pull/453)) + ## [15.0.0] ### Changed @@ -22,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - This config is based on the `@metamask/eslint-config-jest` config, but uses the Vitest plugin instead of Jest. -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-vitest@15.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-vitest@15.0.1...HEAD +[15.0.1]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-vitest@15.0.0...@metamask/eslint-config-vitest@15.0.1 [15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-vitest@1.0.0...@metamask/eslint-config-vitest@15.0.0 [1.0.0]: https://github.com/MetaMask/eslint-config/releases/tag/@metamask/eslint-config-vitest@1.0.0 diff --git a/packages/vitest/package.json b/packages/vitest/package.json index 77fb8e6..d3f43fa 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-vitest", - "version": "15.0.0", + "version": "15.0.1", "description": "Shareable MetaMask ESLint config for Vitest.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -14,10 +14,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./src/index.d.mts", - "default": "./src/index.mjs" - } + "types": "./src/index.d.mts", + "default": "./src/index.mjs" } }, "main": "./src/index.mjs",