Skip to content

Commit

Permalink
deps: Use latest vue version 3.4.21 and recreate pnpm lock
Browse files Browse the repository at this point in the history
- 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
- Update @vue/test-utils dependencies to latest versions
- Remove obsolete explicit dependency to @vue/compiler-sfc
- 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.
  • Loading branch information
lucas-koehler committed Apr 9, 2024
1 parent bb7a255 commit 652d622
Show file tree
Hide file tree
Showing 5 changed files with 3,471 additions and 4,609 deletions.
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,5 @@
"typescript": "~4.9.5",
"webpack": "^5.78.0",
"webpack-merge": "^5.10.0"
},
"pnpm": {
"overrides": {
"vue": "~3.3.13",
"@vue/compiler-sfc": "~3.3.13"
}
}
}
13 changes: 6 additions & 7 deletions packages/vue-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,12 @@
"@types/node": "^18.19.4",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"@vue/cli-plugin-babel": "~4.5.19",
"@vue/cli-plugin-typescript": "~4.5.19",
"@vue/cli-plugin-unit-mocha": "~4.5.19",
"@vue/cli-service": "~4.5.19",
"@vue/compiler-sfc": "^3.2.26",
"@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-typescript": "~5.0.8",
"@vue/cli-plugin-unit-mocha": "~5.0.8",
"@vue/cli-service": "~5.0.8",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/test-utils": "^2.0.2",
"@vue/test-utils": "^2.4.5",
"chai": "^4.1.2",
"cross-env": "^7.0.2",
"eslint": "^8.56.0",
Expand All @@ -90,7 +89,7 @@
"tslib": "^2.5.0",
"typedoc": "~0.25.3",
"typescript": "~4.9.5",
"vue": "^3.2.26",
"vue": "^3.4.21",
"vue-jest": "^5.0.0-0"
},
"peerDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/vue-vanilla/tests/unit/util/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ export const mountJsonForms = (
) => {
return mount(TestComponent, {
props: { initialData: data, schema, uischema, config },
// Attach mounted component to document. Without this, some events are not triggered as expected.
// E.g. a click on a checkbox input would not result in a change event.
attachTo: document.body,
});
};
11 changes: 5 additions & 6 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@
"@types/node": "^18.19.4",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"@vue/cli-plugin-babel": "~4.5.19",
"@vue/cli-plugin-typescript": "~4.5.19",
"@vue/cli-service": "~4.5.19",
"@vue/compiler-sfc": "^3.2.26",
"@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-typescript": "~5.0.8",
"@vue/cli-service": "~5.0.8",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/test-utils": "^2.0.2",
"@vue/test-utils": "^2.4.5",
"@vue/vue3-jest": "^27.0.0",
"core-js": "^3.9.1",
"cross-env": "^7.0.2",
Expand All @@ -83,7 +82,7 @@
"tslib": "^2.5.0",
"typedoc": "~0.25.3",
"typescript": "~4.9.5",
"vue": "^3.2.26"
"vue": "^3.4.21"
},
"peerDependencies": {
"@jsonforms/core": "3.3.0-alpha.0",
Expand Down
Loading

0 comments on commit 652d622

Please sign in to comment.