Skip to content

Commit

Permalink
[Misc] Update dependency vitest to v3
Browse files Browse the repository at this point in the history
Remove unplugin-auto-expose because it was unused and making the build fail.
  • Loading branch information
renovate-bot authored and manuelleduc committed Jan 17, 2025
1 parent dc2a69f commit 476e910
Show file tree
Hide file tree
Showing 10 changed files with 111 additions and 730 deletions.
2 changes: 1 addition & 1 deletion core/attachments/attachments-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"reflect-metadata": "0.2.2",
"typescript": "5.7.3",
"vite": "6.0.7",
"vitest": "2.1.8",
"vitest": "3.0.1",
"vitest-mock-extended": "2.0.2",
"vue-tsc": "2.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion core/authentication/authentication-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"reflect-metadata": "0.2.2",
"typescript": "5.7.3",
"vite": "6.0.7",
"vitest": "2.1.8",
"vitest": "3.0.1",
"vue-tsc": "2.2.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion core/model/model-local-url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"reflect-metadata": "0.2.2",
"typescript": "5.7.3",
"vite": "6.0.7",
"vitest": "2.1.8"
"vitest": "3.0.1"
},
"publishConfig": {
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"reflect-metadata": "0.2.2",
"typescript": "5.7.3",
"vite": "6.0.7",
"vitest": "2.1.8",
"vitest": "3.0.1",
"vitest-mock-extended": "2.0.2",
"vue": "3.5.13"
},
Expand Down
1 change: 0 additions & 1 deletion electron/preload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"@xwiki/cristal-browser-electron": "workspace:*",
"@xwiki/cristal-electron-storage": "workspace:*",
"typescript": "5.7.3",
"unplugin-auto-expose": "0.2.4",
"vite": "6.0.7"
}
}
3 changes: 1 addition & 2 deletions electron/preload/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import { chrome } from "../.electron-vendors.cache.json";
import { injectAppVersion } from "../version/inject-app-version-plugin.mjs";
import { preload } from "unplugin-auto-expose";
import { join } from "node:path";

const PACKAGE_ROOT = __dirname;
Expand Down Expand Up @@ -54,7 +53,7 @@ const config = {
emptyOutDir: true,
reportCompressedSize: false,
},
plugins: [preload.vite(), injectAppVersion()],
plugins: [injectAppVersion()],
};

export default config;
9 changes: 1 addition & 8 deletions electron/renderer/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import { chrome } from "../.electron-vendors.cache.json";
import { injectAppVersion } from "../version/inject-app-version-plugin.mjs";
import vue from "@vitejs/plugin-vue";
import { renderer } from "unplugin-auto-expose";
import { join } from "node:path";

const PACKAGE_ROOT = __dirname;
Expand Down Expand Up @@ -65,13 +64,7 @@ const config = {
worker: {
format: "es",
},
plugins: [
vue(),
renderer.vite({
preloadEntry: join(PACKAGE_ROOT, "../preload/src/index.ts"),
}),
injectAppVersion(),
],
plugins: [vue(), injectAppVersion()],
};

export default config;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"vite": "6.0.7",
"vite-plugin-css-injected-by-js": "3.5.2",
"vite-plugin-dts": "4.5.0",
"vitest": "2.1.8",
"vitest": "3.0.1",
"vue-eslint-parser": "9.4.3"
},
"engines": {
Expand Down
Loading

0 comments on commit 476e910

Please sign in to comment.