Skip to content

Commit

Permalink
chore: revert back to vite 5 + update vitest (#1116)
Browse files Browse the repository at this point in the history
### What does this PR do?

There are numerous issues updating to vite 6 is causing us:
* Issues with proper vitest and a failing test
* Blank pages for the extension
* Being forced to use a beta version of vitest to have it build
  correctly.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

Closes #1107

### How to test this PR?

<!-- Please explain steps to reproduce -->

Be able to use the extension (using pnpm watch and passing in extension
folder) and not having a blank page.

Signed-off-by: Charlie Drage <[email protected]>
  • Loading branch information
cdrage authored Dec 19, 2024
1 parent e5f445c commit 35e2d8a
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 411 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.2",
"typescript": "5.7.2",
"vite": "^6.0.3",
"vitest": "^2.0.2"
"vite": "^5.4.11",
"vitest": "^2.1.8"
},
"dependencies": {
"@xterm/addon-attach": "^0.11.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
"eslint-plugin-sonarjs": "^3.0.1",
"prettier": "^3.4.2",
"typescript": "5.7.2",
"vite": "^6.0.3",
"vitest": "^2.0.2"
"vite": "^5.4.11",
"vitest": "^2.1.8"
},
"dependencies": {
"semver": "^7.6.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"svelte-markdown": "^0.4.1",
"svelte-preprocess": "^6.0.3",
"tailwindcss": "^3.4.17",
"vite": "^6.0.3",
"vitest": "^2.0.2"
"vite": "^5.4.11",
"vitest": "^2.1.8"
}
}
Loading

0 comments on commit 35e2d8a

Please sign in to comment.