Skip to content

Commit

Permalink
chore: update vite and vitest
Browse files Browse the repository at this point in the history
also make e2e timeouts longer
  • Loading branch information
wmertens committed Aug 1, 2024
1 parent 3ba17c5 commit aa42f17
Show file tree
Hide file tree
Showing 12 changed files with 304 additions and 716 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
with:
lookup-only: true
path: e2e-tests-completed.txt
key: ${{ hashfiles('others-key.txt', 'starters/e2e/**/*', 'starters/apps/e2e/**/*') }}
key: ${{ hashfiles('others-key.txt', 'starters/**/*') }}

############ BUILD Qwik ############
build-qwik:
Expand Down
22 changes: 16 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
"syncpack": {
"versionGroups": [
{
"label": "Separate prod deps from dev deps",
"label": "Be lenient in vite versions for prod. v4 is broken, v5 is good",
"dependencyTypes": [
"prod",
"peer"
]
"prod"
],
"dependencies": [
"vite"
],
"pinVersion": "^5"
},
{
"label": "use workspace protocol for local packages and allow patch versions (used in e.g. qwik-react)",
Expand All @@ -36,6 +39,13 @@
"dev"
],
"pinVersion": "workspace:^"
},
{
"label": "Separate prod deps from dev deps",
"dependencyTypes": [
"prod",
"peer"
]
}
],
"semverGroups": [
Expand Down Expand Up @@ -149,11 +159,11 @@
"typescript": "5.4.5",
"undici": "*",
"vfile": "6.0.1",
"vite": "5.3.4",
"vite": "5.3.5",
"vite-imagetools": "7.0.4",
"vite-plugin-dts": "3.9.1",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0",
"vitest": "2.0.5",
"watchlist": "0.3.1",
"which-pm-runs": "1.1.0",
"zod": "3.22.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"typescript": "5.4.5",
"undici": "*",
"valibot": "0.33.3",
"vite": "5.3.4",
"vite": "5.3.5",
"vite-plugin-inspect": "0.8.5",
"wrangler": "3.65.1"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/insights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"tailwindcss": "3.4.6",
"typescript": "5.4.5",
"undici": "*",
"vite": "5.3.4",
"vite": "5.3.5",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0"
"vitest": "2.0.5"
},
"engines": {
"node": ">=16.8.0 <18.0.0 || >=18.11"
Expand Down
12 changes: 6 additions & 6 deletions packages/qwik-city/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"version": "1.7.3",
"bugs": "https://github.com/QwikDev/qwik/issues",
"dependencies": {
"@mdx-js/mdx": "^3.0.1",
"@types/mdx": "^2.0.13",
"@mdx-js/mdx": "^3",
"@types/mdx": "^2",
"source-map": "^0.7.4",
"svgo": "3.3.2",
"svgo": "^3.3",
"undici": "*",
"vfile": "6.0.1",
"vite": "5.3.4",
"vite-imagetools": "7.0.4",
"zod": "^3.22.4"
"vite": "^5",
"vite-imagetools": "^7",
"zod": "3.22.4"
},
"devDependencies": {
"@azure/functions": "3.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/qwik-labs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prettier": "3.3.3",
"typescript": "5.4.5",
"undici": "*",
"vite": "5.3.4"
"vite": "5.3.5"
},
"engines": {
"node": ">=16.8.0 <18.0.0 || >=18.11"
Expand Down
12 changes: 6 additions & 6 deletions packages/qwik-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"typescript": "5.4.5",
"vite": "5.3.4"
"vite": "5.3.5"
},
"engines": {
"node": ">=16.8.0 <18.0.0 || >=18.11"
Expand All @@ -35,11 +35,11 @@
"license": "MIT",
"main": "./lib/index.qwik.mjs",
"peerDependencies": {
"@builder.io/qwik": "1.7.3",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"react": "18.3.1",
"react-dom": "18.3.1"
"@builder.io/qwik": "workspace:^",
"@types/react": "^18",
"@types/react-dom": "^18",
"react": "^18",
"react-dom": "^18"
},
"qwik": "./lib/index.qwik.mjs",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/qwik-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"bugs": "https://github.com/QwikDev/qwik/issues",
"devDependencies": {
"@builder.io/qwik": "workspace:^",
"vite": "5.3.4",
"vite": "5.3.5",
"vite-plugin-static-copy": "1.0.6"
},
"engines": {
Expand All @@ -24,7 +24,7 @@
"license": "MIT",
"main": "./lib/index.qwik.mjs",
"peerDependencies": {
"@builder.io/qwik": "1.7.3"
"@builder.io/qwik": "workspace:^"
},
"qwik": "./lib/index.qwik.mjs",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
}
],
"dependencies": {
"csstype": "^3.1.3",
"vite": "^5.2.10"
"csstype": "^3.1",
"vite": "^5"
},
"devDependencies": {
"@builder.io/qwik": "workspace:^",
Expand Down
Loading

0 comments on commit aa42f17

Please sign in to comment.