Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"default": "./dist/rolldown/filter-index.mjs",
"types": "./dist/rolldown/filter-index.d.mts"
},
"./rolldown/getLogFilter": {
"default": "./dist/rolldown/get-log-filter.mjs",
"types": "./dist/rolldown/get-log-filter.d.mts"
},
"./rolldown/parallelPlugin": {
"default": "./dist/rolldown/parallel-plugin.mjs",
"types": "./dist/rolldown/parallel-plugin.d.mts"
Expand All @@ -48,9 +52,9 @@
"default": "./dist/pluginutils/index.js",
"types": "./dist/pluginutils/index.d.ts"
},
"./lib": {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should keep lib export

"default": "./dist/tsdown/index.js",
"types": "./dist/tsdown/index-types.d.ts"
"./rolldown/pluginutils/filter": {
"default": "./dist/pluginutils/filter/index.js",
"types": "./dist/pluginutils/filter/index.d.ts"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed export breaks existing internal imports

The ./lib export from @voidzero-dev/vite-plus-core is being removed from the package exports map, but this export is actively used by multiple files in packages/cli/src/: lib.ts re-exports from it, lib-bin.ts imports build, UserConfig, and globalLogger from it, and index.ts imports the defineConfig type from it. Removing this export will cause these imports to fail to resolve.

Fix in Cursor Fix in Web

},
Comment on lines +55 to 58

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore @voidzero-dev/vite-plus-core/lib export

The exports map no longer exposes the ./lib subpath (it was present before this commit and was replaced with ./rolldown/pluginutils/filter). The CLI package still imports @voidzero-dev/vite-plus-core/lib (e.g., packages/cli/src/lib.ts and packages/cli/src/lib-bin.ts), so Node’s package exports resolution will now throw ERR_PACKAGE_PATH_NOT_EXPORTED when running the CLI or any consumer that relies on the lib entry point. Please reinstate the ./lib export or update the dependents to a new path.

Useful? React with 👍 / 👎.

"./types/*": {
"types": "./dist/vite/types/*"
Expand Down Expand Up @@ -93,7 +97,7 @@
},
"peerDependencies": {
"@arethetypeswrong/core": "^0.18.1",
"@vitejs/devtools": "^0.0.0-alpha.18",
"@vitejs/devtools": "*",
"publint": "^0.3.0",
"typescript": "^5.0.0",
"unplugin-lightningcss": "^0.4.0",
Expand Down Expand Up @@ -166,6 +170,7 @@
"devDependencies": {
"@oxc-node/cli": "catalog:",
"@oxc-node/core": "catalog:",
"@vitejs/devtools": "^0.0.0-alpha.22",
"es-module-lexer": "^1.7.0",
"hookable": "^6.0.1",
"magic-string": "^0.30.21",
Expand Down
26 changes: 13 additions & 13 deletions packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
"happy-dom": "*",
"jsdom": "*",
"@vitest/ui": "4.0.15"
"@vitest/ui": "4.0.16"
},
"peerDependenciesMeta": {
"@edge-runtime/vm": {
Expand Down Expand Up @@ -304,25 +304,25 @@
"devDependencies": {
"@oxc-node/cli": "catalog:",
"@oxc-node/core": "catalog:",
"@vitest/browser": "4.0.15",
"@vitest/browser-playwright": "4.0.15",
"@vitest/browser-preview": "4.0.15",
"@vitest/browser-webdriverio": "4.0.15",
"@vitest/expect": "4.0.15",
"@vitest/mocker": "4.0.15",
"@vitest/pretty-format": "4.0.15",
"@vitest/runner": "4.0.15",
"@vitest/snapshot": "4.0.15",
"@vitest/spy": "4.0.15",
"@vitest/utils": "4.0.15",
"@vitest/browser": "4.0.16",
"@vitest/browser-playwright": "4.0.16",
"@vitest/browser-preview": "4.0.16",
"@vitest/browser-webdriverio": "4.0.16",
"@vitest/expect": "4.0.16",
"@vitest/mocker": "4.0.16",
"@vitest/pretty-format": "4.0.16",
"@vitest/runner": "4.0.16",
"@vitest/snapshot": "4.0.16",
"@vitest/spy": "4.0.16",
"@vitest/utils": "4.0.16",
"chai": "^6.2.1",
"estree-walker": "^3.0.3",
"magic-string": "^0.30.21",
"oxc-parser": "catalog:",
"pathe": "^2.0.3",
"rolldown": "workspace:*",
"tinyrainbow": "^3.0.3",
"vitest-dev": "^4.0.15",
"vitest-dev": "^4.0.16",
"why-is-node-running": "^2.3.0"
}
}
4 changes: 2 additions & 2 deletions packages/tools/.upstream-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"rolldown": {
"repo": "https://github.com/rolldown/rolldown.git",
"branch": "main",
"hash": "c013fc844242178da7c4e9a7ec9f24697efcd726"
"hash": "9258689b3e0c3f42ad0579fefe1b57cef25f195a"
},
"rolldown-vite": {
"repo": "https://github.com/vitejs/vite.git",
"branch": "main",
"hash": "08c74cc54b1892e1d2f29840c18ef61f05963301"
"hash": "63391ee64450cfbe13020ee2de84f8bc8cb4a490"
}
}
Loading
Loading