Skip to content

Commit c9a3557

Browse files
chore: bump pluggable-widgets-tools to 11.12.0
- Bump @mendix/pluggable-widgets-tools 11.11.0 → 11.12.0 - Regenerate patch for 11.12.0 (versioned filename, updated context lines) - rich-text-web: remove preset: "ts-jest" incompatible with new @swc/jest runner - dropdown-sort-web: remove pinned jest@29 devDep (conflicts with pwt jest@30), rename jest.config.cjs → jest.config.js, fix test script to use --projects flag Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d376dbf commit c9a3557

6 files changed

Lines changed: 142 additions & 682 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@babel/core@7": "7.29.7",
5454
"@codemirror/state": "^6.5.2",
5555
"@codemirror/view": "^6.38.1",
56-
"@mendix/pluggable-widgets-tools": "11.11.0",
56+
"@mendix/pluggable-widgets-tools": "11.12.0",
5757
"@mendix/pluggable-widgets-tools>eslint": "-",
5858
"@mendix/pluggable-widgets-tools>eslint-config-prettier": "-",
5959
"@mendix/pluggable-widgets-tools>eslint-plugin-jest": "-",
@@ -76,7 +76,7 @@
7676
"typescript": ">5.8.0 <6.0.0"
7777
},
7878
"patchedDependencies": {
79-
"@mendix/pluggable-widgets-tools": "patches/@mendix__pluggable-widgets-tools.patch",
79+
"@mendix/pluggable-widgets-tools@11.12.0": "patches/@mendix__pluggable-widgets-tools@11.12.0.patch",
8080
"mime-types": "patches/mime-types.patch",
8181
"mobx-react-lite@4.0.7": "patches/mobx-react-lite@4.0.7.patch",
8282
"mobx@6.12.3": "patches/mobx@6.12.3.patch",

packages/pluggableWidgets/dropdown-sort-web/jest.config.cjs renamed to packages/pluggableWidgets/dropdown-sort-web/jest.config.js

File renamed without changes.

packages/pluggableWidgets/dropdown-sort-web/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"lint": "eslint src/ package.json",
3737
"release": "pluggable-widgets-tools release:ts",
3838
"start": "pluggable-widgets-tools start:server",
39-
"test": "jest",
39+
"test": "jest --projects jest.config.js",
4040
"update-changelog": "rui-update-changelog-widget",
4141
"verify": "rui-verify-package-format"
4242
},
@@ -55,7 +55,6 @@
5555
"@mendix/widget-plugin-sorting": "workspace:*",
5656
"@mendix/widget-plugin-test-utils": "workspace:*",
5757
"@types/enzyme": "^3.10.13",
58-
"classnames": "^2.5.1",
59-
"jest": "^29.7.0"
58+
"classnames": "^2.5.1"
6059
}
6160
}
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1+
const base = require("@mendix/pluggable-widgets-tools/test-config/jest.config.js");
2+
13
module.exports = {
2-
...require("@mendix/pluggable-widgets-tools/test-config/jest.config.js"),
3-
/**
4-
* `quill` package is ESM module and because ESM is not supported by Jest yet
5-
* we mark `nanoevents` as a module that should be transformed by ts-jest.
6-
*/
4+
...base,
75
transformIgnorePatterns: ["node_modules/(?!quill)/"],
8-
preset: "ts-jest",
96
testEnvironment: "jsdom"
107
};

patches/@mendix__pluggable-widgets-tools.patch renamed to patches/@mendix__pluggable-widgets-tools@11.12.0.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
diff --git a/bin/mx-scripts.js b/bin/mx-scripts.js
2-
index 708bf48f266b6f80d830a9a72388278a65695964..6187cbe0739454c92f72136595e16748372885e9 100755
2+
index 569815681e83b7858681548abda14505691ab81b..39fa0f47a063e8628f64d09dbe2372e198c4b7bc 100755
33
--- a/bin/mx-scripts.js
44
+++ b/bin/mx-scripts.js
5-
@@ -8,10 +8,10 @@ const { red, blue, bold, whiteBright } = require("ansi-colors");
6-
const semver = require("semver");
7-
const { auditPluggableWidgetsTools } = require("../dist/commands/audit");
5+
@@ -10,10 +10,10 @@ const { auditPluggableWidgetsTools } = require("../dist/commands/audit.js");
6+
const { prettierConfigPath } = require("../dist/utils/formatting.js");
7+
const { toolsRoot, widgetRoot } = require("../dist/widget/paths.js");
88

99
-checkNodeVersion();
1010
+// checkNodeVersion(); // Disabled via pnpm patch
@@ -16,10 +16,10 @@ index 708bf48f266b6f80d830a9a72388278a65695964..6187cbe0739454c92f72136595e16748
1616
console.log(red("An error occurred while checking migration dependencies: ", e));
1717
}
1818
diff --git a/configs/rollup.config.mjs b/configs/rollup.config.mjs
19-
index 4998ce2d2bedd449b0fdaa400368df116e1d4f46..d8e70107c4cde83908324b69b1031ad9c8db12f9 100644
19+
index 346d6ee995322825d87eaa10e5aa924ca456a7cf..38924ca4d2056d62f87dc6066677d82f97a29d67 100644
2020
--- a/configs/rollup.config.mjs
2121
+++ b/configs/rollup.config.mjs
22-
@@ -128,7 +128,7 @@ export default async args => {
22+
@@ -119,7 +119,7 @@ export default async args => {
2323
extensions,
2424
transpile: production,
2525
babelConfig: {
@@ -28,7 +28,7 @@ index 4998ce2d2bedd449b0fdaa400368df116e1d4f46..d8e70107c4cde83908324b69b1031ad9
2828
allowAllFormats: true
2929
},
3030
external: outputFormat === "es" ? [] : webExternal,
31-
@@ -166,7 +166,7 @@ export default async args => {
31+
@@ -157,7 +157,7 @@ export default async args => {
3232
sourceMaps: !production,
3333
extensions,
3434
transpile: production,

0 commit comments

Comments
 (0)