Skip to content

Commit 3d0b77e

Browse files
committed
deps: Use latest vue version 3.4.21 and recreate pnpm lock
- Remove pnpm overrides for vue version to use latest version 3.4.21. Do not touch the peer dependency because no new vue code was introduced. - Update vue cli dependencies to latest version ^5.0.8 - Updater @vue.compiler-sfc and @vue/test-utils dependencies to latest versions - Fix vue vanilla test utils to attach mounted components to document. This is (now) necessary so that click events on checkbox inputs correctly trigger a change event. - Regenerate pnpm-lock file. This updates all dependencies to the latest version permitted by their version ranges.
1 parent bb7a255 commit 3d0b77e

File tree

5 files changed

+3478
-4609
lines changed

5 files changed

+3478
-4609
lines changed

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,5 @@
4949
"typescript": "~4.9.5",
5050
"webpack": "^5.78.0",
5151
"webpack-merge": "^5.10.0"
52-
},
53-
"pnpm": {
54-
"overrides": {
55-
"vue": "~3.3.13",
56-
"@vue/compiler-sfc": "~3.3.13"
57-
}
5852
}
5953
}

packages/vue-vanilla/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@
6363
"@types/node": "^18.19.4",
6464
"@typescript-eslint/eslint-plugin": "^5.54.1",
6565
"@typescript-eslint/parser": "^5.54.1",
66-
"@vue/cli-plugin-babel": "~4.5.19",
67-
"@vue/cli-plugin-typescript": "~4.5.19",
68-
"@vue/cli-plugin-unit-mocha": "~4.5.19",
69-
"@vue/cli-service": "~4.5.19",
70-
"@vue/compiler-sfc": "^3.2.26",
66+
"@vue/cli-plugin-babel": "~5.0.8",
67+
"@vue/cli-plugin-typescript": "~5.0.8",
68+
"@vue/cli-plugin-unit-mocha": "~5.0.8",
69+
"@vue/cli-service": "~5.0.8",
70+
"@vue/compiler-sfc": "^3.4.21",
7171
"@vue/eslint-config-typescript": "^11.0.2",
72-
"@vue/test-utils": "^2.0.2",
72+
"@vue/test-utils": "^2.4.5",
7373
"chai": "^4.1.2",
7474
"cross-env": "^7.0.2",
7575
"eslint": "^8.56.0",
@@ -90,7 +90,7 @@
9090
"tslib": "^2.5.0",
9191
"typedoc": "~0.25.3",
9292
"typescript": "~4.9.5",
93-
"vue": "^3.2.26",
93+
"vue": "^3.4.21",
9494
"vue-jest": "^5.0.0-0"
9595
},
9696
"peerDependencies": {

packages/vue-vanilla/tests/unit/util/util.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ export const mountJsonForms = (
99
) => {
1010
return mount(TestComponent, {
1111
props: { initialData: data, schema, uischema, config },
12+
// Attach mounted component to document. Without this, some events are not triggered as expected.
13+
// E.g. a click on a checkbox input would not result in a change event.
14+
attachTo: document.body,
1215
});
1316
};

packages/vue/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@
5656
"@types/node": "^18.19.4",
5757
"@typescript-eslint/eslint-plugin": "^5.54.1",
5858
"@typescript-eslint/parser": "^5.54.1",
59-
"@vue/cli-plugin-babel": "~4.5.19",
60-
"@vue/cli-plugin-typescript": "~4.5.19",
61-
"@vue/cli-service": "~4.5.19",
62-
"@vue/compiler-sfc": "^3.2.26",
59+
"@vue/cli-plugin-babel": "~5.0.8",
60+
"@vue/cli-plugin-typescript": "~5.0.8",
61+
"@vue/cli-service": "~5.0.8",
62+
"@vue/compiler-sfc": "^3.4.21",
6363
"@vue/eslint-config-typescript": "^11.0.2",
64-
"@vue/test-utils": "^2.0.2",
64+
"@vue/test-utils": "^2.4.5",
6565
"@vue/vue3-jest": "^27.0.0",
6666
"core-js": "^3.9.1",
6767
"cross-env": "^7.0.2",
@@ -83,7 +83,7 @@
8383
"tslib": "^2.5.0",
8484
"typedoc": "~0.25.3",
8585
"typescript": "~4.9.5",
86-
"vue": "^3.2.26"
86+
"vue": "^3.4.21"
8787
},
8888
"peerDependencies": {
8989
"@jsonforms/core": "3.3.0-alpha.0",

0 commit comments

Comments
 (0)