Skip to content

Commit 286ce5d

Browse files
authored
chore: update rolldown and rolldown-vite (#330)
1 parent e7311f7 commit 286ce5d

6 files changed

Lines changed: 468 additions & 529 deletions

File tree

packages/global/snap-tests/gen-create-tsdown-with-scope-name/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/test/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@
113113
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
114114
"happy-dom": "*",
115115
"jsdom": "*",
116-
"@vitest/browser-playwright": "4.0.14",
117-
"@vitest/browser-preview": "4.0.14",
118-
"@vitest/browser-webdriverio": "4.0.14",
119-
"@vitest/ui": "4.0.14"
116+
"@vitest/browser-playwright": "4.0.15",
117+
"@vitest/browser-preview": "4.0.15",
118+
"@vitest/ui": "4.0.15",
119+
"@vitest/browser-webdriverio": "4.0.15"
120120
},
121121
"peerDependenciesMeta": {
122122
"@edge-runtime/vm": {
@@ -156,22 +156,22 @@
156156
"picomatch": "^4.0.3",
157157
"std-env": "^3.10.0",
158158
"tinybench": "^2.9.0",
159-
"tinyexec": "^0.3.2",
159+
"tinyexec": "^1.0.2",
160160
"tinyglobby": "^0.2.15",
161161
"tinyrainbow": "^3.0.3",
162162
"why-is-node-running": "^2.3.0",
163-
"@vitest/expect": "4.0.14",
164-
"@vitest/pretty-format": "4.0.14",
165-
"@vitest/snapshot": "4.0.14",
166-
"@vitest/runner": "4.0.14",
167-
"@vitest/spy": "4.0.14",
168-
"@vitest/mocker": "4.0.14",
169-
"@vitest/utils": "4.0.14",
163+
"@vitest/expect": "4.0.15",
164+
"@vitest/pretty-format": "4.0.15",
165+
"@vitest/runner": "4.0.15",
166+
"@vitest/mocker": "4.0.15",
167+
"@vitest/snapshot": "4.0.15",
168+
"@vitest/utils": "4.0.15",
169+
"@vitest/spy": "4.0.15",
170170
"@voidzero-dev/vite-plus-core": "workspace:*"
171171
},
172172
"devDependencies": {
173173
"@oxc-node/cli": "catalog:",
174174
"@oxc-node/core": "catalog:",
175-
"vitest-dev": "^4.0.14"
175+
"vitest-dev": "^4.0.15"
176176
}
177177
}

packages/tools/.upstream-versions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"rolldown": {
33
"repo": "git@github.com:rolldown/rolldown.git",
44
"branch": "main",
5-
"hash": "643e7811296dd4b0933ead7de8ce651cf18f16ab"
5+
"hash": "c013fc844242178da7c4e9a7ec9f24697efcd726"
66
},
77
"rolldown-vite": {
88
"repo": "git@github.com:vitejs/rolldown-vite.git",
99
"branch": "rolldown-vite",
10-
"hash": "69c482b60aa09c797d2b7ca8911b4d5be237635e"
10+
"hash": "ef44d7526b86704667168418f0ed9a0300652297"
1111
}
1212
}

packages/tools/src/sync-remote-deps.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,11 @@ function transformViteExport(exportPath: string, exportValue: ExportValue): [str
285285
// Transform types paths
286286
if (value.startsWith('./types/')) {
287287
return value.replace(/^\.\/types\//, './dist/vite/types/');
288+
} else if (value.startsWith('./dist')) {
289+
return value.replace(/^\.\/dist\//, './dist/vite/');
288290
}
289291

290-
return value.replace(/^\.\/dist\//, './dist/vite/');
292+
return `./dist/vite/${value.slice(2)}`;
291293
}
292294

293295
if (value && typeof value === 'object') {

0 commit comments

Comments
 (0)