@adobe-commerce/event-bus 1.1.0 → 1.1.1-alpha-20260616095844

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @adobe-commerce/event-bus
2
2
 
3
+ ## 1.1.1-alpha-20260616095844
4
+
5
+ ### Patch Changes
6
+
7
+ - 7d1602d: Upgrade TypeScript to 6.0 and ESLint to 9 (flat config)
8
+
9
+ Bumps TypeScript from 4.7 to 6.0 and ESLint from 8 to 9, with `@typescript-eslint` migrated to the unified `typescript-eslint` v8 package. The shared ESLint config (`@adobe-commerce/elsie/config/eslint`) is rewritten as a flat-config array; the `.eslintrc.js` files in each workspace package are replaced with `eslint.config.js`. TS 6 new defaults that would force wide source edits (`noUncheckedIndexedAccess`, `exactOptionalPropertyTypes`, `verbatimModuleSyntax`) are explicitly opted-out of in `tsconfig-base.json` to preserve current behavior.
10
+
11
+ Breaking for `@adobe-commerce/elsie` consumers only:
12
+
13
+ - Projects extending `@adobe-commerce/elsie/config/eslint` must migrate their own ESLint config to flat config (ESLint 9+ requirement).
14
+ - Projects consuming elsie's emitted `.d.ts` files should upgrade their own TypeScript to `>=6.0` for full compatibility.
15
+
16
+ See `docs/typescript-6-eslint-upgrade.md` for migration details.
17
+
3
18
  ## 1.1.0
4
19
 
5
20
  ### Minor Changes
@@ -2,13 +2,12 @@
2
2
  * Copyright 2024 Adobe
3
3
  * All Rights Reserved.
4
4
  *
5
- * NOTICE: Adobe permits you to use, modify, and distribute this
6
- * file in accordance with the terms of the Adobe license agreement
7
- * accompanying it.
5
+ * NOTICE: Adobe permits you to use, modify, and distribute this
6
+ * file in accordance with the terms of the Adobe license agreement
7
+ * accompanying it.
8
8
  *******************************************************************/
9
9
 
10
- const baseConfig = require('@adobe-commerce/elsie/config/eslint');
10
+ const base = require('@adobe-commerce/elsie/config/eslint');
11
+ const { sourceImportRestrictions } = base;
11
12
 
12
- module.exports = {
13
- ...baseConfig,
14
- };
13
+ module.exports = [...base, ...sourceImportRestrictions];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe-commerce/event-bus",
3
- "version": "1.1.0",
3
+ "version": "1.1.1-alpha-20260616095844",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "description": "An event bus for storefront packages to communicate in the browser",
6
6
  "main": "src/index.ts",