Release Notes / Version 12.2412.0
Table Of ContentsThird-Party Update: Upgraded jQuery to version 3.7.1
Updated jQuery to 3.7.1 in the blueprint and in the frontend workspace. If you are using jQuery in your themes, please update the dependency in the package.json of the theme too to avoid importing both jquery versions.
Upgrade steps:
Run pnpm -r up jquery@3.7.1
in your frontend
workspace.
(CMS-23970)
Modernized eslint and prettier in frontend workspace
We updated and integrated eslint and prettier (via eslint-plugin) to
the whole frontend workspace. It is enabled and configured for all
themes and bricks via a shared configuration. It is integrated in the
frontend tooling too. You can check and lint all files via
pnpm lint
. All blueprint source files have been
linted.
Upgrade steps:
If you don't want to use eslint and prettier, everything should work
as before. Otherwise run the following command in your custom themes
and bricks:
pnpm add -D eslint @coremedia/eslint-config-frontend
Also add the following entry to the scripts block in the
package.json
:
"lint": "eslint --fix \"src/*/.js\""
(CMS-23949)