Skip to content

Commit 7ca81dd

Browse files
authored
Merge pull request #7692 from QwikDev/vite-7
chore: vite 7
2 parents a47b9fe + 7ea8737 commit 7ca81dd

File tree

19 files changed

+990
-914
lines changed

19 files changed

+990
-914
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.11
1+
22

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
bashInteractive
3131
gitMinimal
3232

33-
nodejs_20
34-
corepack_20
33+
nodejs_22
34+
corepack_22
3535

3636
# Playwright for the end-to-end tests
3737
playwright-driver.browsers

package.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dependencies": [
2020
"vite"
2121
],
22-
"pinVersion": ">=5 <7"
22+
"pinVersion": ">=5 <8"
2323
},
2424
{
2525
"label": "use workspace protocol for local packages and allow patch versions (used in e.g. qwik-react)",
@@ -89,28 +89,28 @@
8989
"@octokit/action": "6.1.0",
9090
"@playwright/test": "1.50.1",
9191
"@qwik.dev/core": "workspace:*",
92-
"@qwik.dev/router": "workspace:*",
9392
"@qwik.dev/partytown": "0.11.1",
93+
"@qwik.dev/router": "workspace:*",
9494
"@types/brotli": "1.3.4",
9595
"@types/bun": "1.1.6",
9696
"@types/cross-spawn": "6.0.6",
9797
"@types/express": "4.17.21",
98-
"@types/node": "20.14.11",
98+
"@types/node": "24.0.4",
9999
"@types/path-browserify": "1.0.2",
100100
"@types/prompts": "2.4.9",
101101
"@types/react": "18.3.3",
102102
"@types/semver": "7.5.8",
103103
"@types/tmp": "0.2.6",
104104
"@types/which-pm-runs": "1.0.2",
105-
"@vitest/coverage-v8": "3.1.1",
106105
"@vitejs/plugin-basic-ssl": "2.0.0",
106+
"@vitest/coverage-v8": "3.2.4",
107107
"all-contributors-cli": "6.26.1",
108108
"brotli": "1.3.3",
109109
"create-qwik": "workspace:*",
110110
"cross-spawn": "7.0.3",
111111
"csstype": "3.1.3",
112112
"dotenv": "16.4.5",
113-
"esbuild": "0.25.4",
113+
"esbuild": "0.25.5",
114114
"eslint": "9.25.1",
115115
"eslint-plugin-import": "2.29.1",
116116
"eslint-plugin-no-only-tests": "3.3.0",
@@ -123,29 +123,29 @@
123123
"monaco-editor": "0.45.0",
124124
"mri": "1.2.0",
125125
"path-browserify": "1.0.1",
126-
"prettier": "3.4.2",
126+
"prettier": "3.5.3",
127127
"prettier-plugin-jsdoc": "1.3.2",
128128
"pretty-quick": "4.0.0",
129129
"prompts": "2.4.2",
130-
"rollup": "4.39.0",
130+
"rollup": "4.44.0",
131131
"semver": "7.6.3",
132132
"simple-git-hooks": "2.11.1",
133133
"snoop": "1.0.4",
134134
"source-map": "0.7.4",
135135
"svgo": "3.3.2",
136136
"syncpack": "12.3.3",
137-
"terser": "5.37.0",
137+
"terser": "5.43.1",
138138
"tmp": "0.2.3",
139139
"tree-kill": "1.2.2",
140140
"tsx": "4.19.2",
141-
"typescript": "5.8.2",
141+
"typescript": "5.8.3",
142142
"typescript-eslint": "8.26.1",
143143
"vfile": "6.0.2",
144-
"vite": "6.2.6",
145-
"vite-imagetools": "7.0.5",
146-
"vite-plugin-dts": "4.5.3",
144+
"vite": "7.0.0",
145+
"vite-imagetools": "7.1.0",
146+
"vite-plugin-dts": "4.5.4",
147147
"vite-tsconfig-paths": "5.1.4",
148-
"vitest": "3.1.1",
148+
"vitest": "3.2.4",
149149
"watchlist": "0.3.1",
150150
"which-pm-runs": "1.1.0",
151151
"zod": "3.22.4"
@@ -159,7 +159,8 @@
159159
"packageManager": "[email protected]",
160160
"pnpm": {
161161
"overrides": {
162-
"typescript": "5.8.2",
162+
"prettier": "3.5.3",
163+
"typescript": "5.8.3",
163164
"vfile": "6.0.2"
164165
},
165166
"patchedDependencies": {

packages/docs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"leaflet": "1.9.4",
3838
"magic-string": "0.30.11",
3939
"openai": "3.3.0",
40-
"prettier": "3.4.2",
40+
"prettier": "3.5.3",
4141
"prism-themes": "1.9.0",
4242
"prismjs": "1.29.0",
4343
"puppeteer": "22.13.1",
@@ -47,12 +47,12 @@
4747
"shiki": "3.1.0",
4848
"snarkdown": "2.0.0",
4949
"tailwindcss": "4.0.12",
50-
"terser": "5.37.0",
50+
"terser": "5.43.1",
5151
"tsm": "2.3.0",
52-
"typescript": "5.8.2",
52+
"typescript": "5.8.3",
5353
"undici": "*",
5454
"valibot": "0.33.3",
55-
"vite": "6.2.6",
55+
"vite": "7.0.0",
5656
"vite-plugin-inspect": "0.8.5",
5757
"vite-tsconfig-paths": "5.1.4",
5858
"wrangler": "3.65.1"

packages/docs/src/components/docsearch/doc-search.css

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
--docsearch-hit-background: #fff;
2323
--docsearch-hit-shadow: 0 1px 3px 0 #d4d9e1;
2424
--docsearch-key-gradient: linear-gradient(-225deg, #d5dbe4, #f8f8f8);
25-
--docsearch-key-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff,
26-
0 1px 2px 1px rgba(30, 35, 90, 0.4);
27-
--docsearch-key-pressed-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff,
28-
0 1px 1px 0 rgba(30, 35, 90, 0.4);
25+
--docsearch-key-shadow:
26+
inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, 0 1px 2px 1px rgba(30, 35, 90, 0.4);
27+
--docsearch-key-pressed-shadow:
28+
inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, 0 1px 1px 0 rgba(30, 35, 90, 0.4);
2929
--docsearch-footer-height: 44px;
3030
--docsearch-footer-background: #fff;
3131
--docsearch-footer-shadow: 0 -1px 0 0 #e0e3e8, 0 -3px 6px 0 rgba(69, 98, 155, 0.12);
@@ -41,12 +41,13 @@ html[data-theme='dark'] {
4141
--docsearch-hit-shadow: none;
4242
--docsearch-hit-background: #090a11;
4343
--docsearch-key-gradient: linear-gradient(-26.5deg, #565872, #31355b);
44-
--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d,
45-
0 2px 2px 0 rgba(3, 4, 9, 0.3);
46-
--docsearch-key-pressed-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d,
47-
0 1px 1px 0 #0304094d;
44+
--docsearch-key-shadow:
45+
inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, 0 2px 2px 0 rgba(3, 4, 9, 0.3);
46+
--docsearch-key-pressed-shadow:
47+
inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, 0 1px 1px 0 #0304094d;
4848
--docsearch-footer-background: #1e2136;
49-
--docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5), 0 -4px 8px 0 rgba(0, 0, 0, 0.2);
49+
--docsearch-footer-shadow:
50+
inset 0 1px 0 0 rgba(73, 76, 106, 0.5), 0 -4px 8px 0 rgba(0, 0, 0, 0.2);
5051
--docsearch-logo-color: #fff;
5152
--docsearch-muted-color: #7f8497;
5253
}

packages/docs/src/global.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
font-weight: 400;
1212
font-display: optional;
1313
src: url(./fonts/poppins-400.woff2) format('woff2');
14-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
15-
U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
14+
unicode-range:
15+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,
16+
U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
1617
}
1718

1819
/* latin */
@@ -22,8 +23,9 @@
2223
font-weight: 500;
2324
font-display: optional;
2425
src: url(./fonts/poppins-500.woff2) format('woff2');
25-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
26-
U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
26+
unicode-range:
27+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,
28+
U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
2729
}
2830

2931
/* latin */
@@ -33,8 +35,9 @@
3335
font-weight: 700;
3436
font-display: optional;
3537
src: url(./fonts/poppins-700.woff2) format('woff2');
36-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
37-
U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
38+
unicode-range:
39+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,
40+
U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
3841
}
3942

4043
.docs article pre code[data-language='tsx'] {

packages/docs/src/routes/(ecosystem)/ecosystem.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@
175175
aspect-ratio: 16/9;
176176
content: '';
177177

178-
background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
178+
background:
179+
linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
179180
conic-gradient(
180181
from 180deg at 53.75% 37.25%,
181182
#7976e8 -110.28deg,

packages/docs/src/routes/(ecosystem)/showcase/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
--tw-ring-shadow: 0 0 #0000;
4949
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
5050
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
51-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
52-
var(--tw-shadow);
51+
box-shadow:
52+
var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
5353
}
5454
.showcase li .canvas {
5555
position: absolute;

packages/docs/src/routes/examples/apps/partial/hackernews-index/hacker-news.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.hacker-news {
2-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
3-
'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
2+
font-family:
3+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans',
4+
'Droid Sans', 'Helvetica Neue', sans-serif;
45
font-size: 15px;
56
background-color: #f2f3f5;
67
margin: 0;

packages/docs/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"compilerOptions": {
33
"incremental": true,
4-
"target": "ES2020",
5-
"module": "ES2020",
6-
"lib": ["es2021", "DOM", "webworker", "DOM.Iterable"],
4+
"target": "ES2022",
5+
"module": "ES2022",
6+
"lib": ["es2022", "DOM", "webworker", "DOM.Iterable"],
77
"resolveJsonModule": true,
88
"jsx": "react-jsx",
99
"allowArbitraryExtensions": true,

0 commit comments

Comments
 (0)