Skip to content

Commit

Permalink
#470: Move jsdom lib to devdependency and remove vitest types.
Browse files Browse the repository at this point in the history
* Remove vitest types, because TS throws an error not finding the types.
  • Loading branch information
benitsch committed Jun 28, 2024
1 parent 5b203b9 commit d38051b
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 23 deletions.
83 changes: 62 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"@vuepic/vue-datepicker": "8.6.0",
"axios": "1.7.1",
"cron-validate": "1.4.5",
"jsdom": "24.0.0",
"keycloak-js": "24.0.4",
"normalize.css": "8.0.1",
"pg": "8.11.5",
Expand Down Expand Up @@ -64,6 +63,7 @@
"eslint": "8.56.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-vue": "9.26.0",
"jsdom": "^24.1.0",
"licensee": "10.0.0",
"postcss": "8.4.38",
"postcss-css-variables": "0.19.0",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"sourceMap": true,
"baseUrl": ".",
"lib": ["esnext", "dom", "dom.iterable", "scripthost"],
"types": ["vite/client", "node", "vitest/globals", "vitest/server-test-utils"],
"types": ["vite/client", "node"],
"plugins": [{ "name": "@vuedx/typescript-plugin-vue" }],
"typeRoots": ["src/types", "node_modules/@types"],
},
Expand Down

0 comments on commit d38051b

Please sign in to comment.