Skip to content

Commit

Permalink
refactor: update vite to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Dec 5, 2024
1 parent 6d669c6 commit 2115153
Show file tree
Hide file tree
Showing 7 changed files with 845 additions and 924 deletions.
2 changes: 1 addition & 1 deletion .changeset/five-cougars-marry.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
'@commercetools-local/playground': major
---

Drop support for Node.js v16, which reached EOL. The minimal required version is v18 but we recommend to use v20 or v22 if possible.
Drop support for Node.js `v16`, which reached EOL. The minimal required version is `v18` but we recommend to use `v20` or `v22` if possible.
2 changes: 1 addition & 1 deletion .changeset/modern-suits-decide.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
'@commercetools-local/playground': major
---

Migrate to Vite v5. If you have Vite enabled via `ENABLE_EXPERIMENTAL_VITE_BUNDLER` and you are using `vite` as a dependency, make sure you upgrade to `v5` (see [Migration from v4](https://vitejs.dev/guide/migration.html)).
Migrate to Vite `v6`. If you have Vite enabled via `ENABLE_EXPERIMENTAL_VITE_BUNDLER` and you are using `vite` as a dependency, make sure you upgrade to `v6` (see [Migration from v4](https://v5.vite.dev/guide/migration.html) and [Migration from v5](https://vite.dev/guide/migration.html)).
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@
"@typescript-eslint/parser": "^5.52.0"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]"
}
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions packages/mc-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"@types/prompts": "^2.4.4",
"@types/svgo": "^2.6.4",
"@types/webpack-bundle-analyzer": "^4.6.0",
"@vitejs/plugin-react": "4.3.1",
"@vitejs/plugin-react-swc": "3.7.0",
"@vitejs/plugin-react": "4.3.4",
"@vitejs/plugin-react-swc": "3.7.2",
"autoprefixer": "^10.4.15",
"babel-loader": "8.3.0",
"browserslist": "^4.21.10",
Expand Down Expand Up @@ -108,8 +108,8 @@
"terser-webpack-plugin": "5.3.10",
"thread-loader": "3.0.4",
"url": "^0.11.0",
"vite": "~5.2.11",
"vite-bundle-analyzer": "0.12.1",
"vite": "~6.0.3",
"vite-bundle-analyzer": "0.15.2",
"webpack": "5.94.0",
"webpack-bundle-analyzer": "4.10.2",
"webpack-dev-server": "4.15.2",
Expand Down
Loading

0 comments on commit 2115153

Please sign in to comment.