You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/09-migration-guides/02-to-version-3.md
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,3 +98,48 @@ CSS custom properties (`--ui5-*`) are no longer scoped with the package version
98
98
>
99
99
> If you relied on versioned variable names for multi-version isolation, you will need to implement an alternative strategy (e.g. CSS layer scoping or shadow DOM containment).
100
100
101
+
---
102
+
103
+
### ESLint support removed
104
+
105
+
The built-in ESLint runner and shared ESLint configuration have been removed from `@ui5/webcomponents-tools`. The following are no longer provided:
> **What to do:** Set up ESLint directly in your project. Remove any `.eslintrc.cjs` file that extended `@ui5/webcomponents-tools/components-package/eslint.js` — it is no longer available.
117
+
>
118
+
> For guidance on setting up ESLint with TypeScript support in a web components project, refer to the [ESLint documentation](https://eslint.org/docs/latest/) and the [@typescript-eslint getting started guide](https://typescript-eslint.io/getting-started/).
119
+
120
+
---
121
+
122
+
### Package converted to native ESM (`"type": "module"`)
123
+
124
+
`@ui5/webcomponents-tools` is now a native ES module package. All files use ESM syntax (`import`/`export`) and the package has `"type": "module"` in its `package.json`.
125
+
126
+
**`package-scripts.cjs` must be renamed and converted to ESM**
127
+
128
+
If your package has a `package-scripts.cjs` file, rename it to `package-scripts.js` and convert it to ESM syntax:
All files that were previously published with a `.mjs` extension are now `.js`. If you imported any of these directly (e.g. from `lib/css-processors/` or `lib/dev-server/`), update the extension in your imports.
0 commit comments