Skip to content

Latest commit

 

History

History
145 lines (110 loc) · 9.56 KB

README-temp.md

File metadata and controls

145 lines (110 loc) · 9.56 KB

temporary commands

Run against rolldown-vite

# with pkg.pr.new binaries
pnpm tsx ecosystem-ci.ts vitepress --release https://pkg.pr.new/rolldown/vite@2814e17
# with local builds
pnpm tsx ecosystem-ci.ts vitepress --repo rolldown/vite --branch rolldown-v6

Create patches to bypass errors

These commands are written in sh.

# run it before editing
tests-patches/pre-create-patch vite-plugin-vue/vite-plugin-vue
# run it after editing
tests-patches/create-patch vite-plugin-vue/vite-plugin-vue
# not need to run, but you can run this to check the applied state
tests-patches/apply-patch vite-plugin-vue/vite-plugin-vue

The created patches will be applied automatically when running pnpm tsx ecosystem-ci.ts

Current status

Summary

suite state description
analogjs
astro 👀 need to investigate further
histoire ⏭️ skipped for now. It is failing with Vite 6.
ladle
laravel
marko passed by esbuild-rollup plugin conversion
nuxt uses function type outputOptions.assetFileNames in generateBundle hook but can be worked around
previewjs ⚠️ fails locally but when running tests manually in playwright ui, it works. probably fine
quasar
qwik ⚠️ passes, but uses some missing features
rakkas patched one plugin to return moduleType: 'js'
react-router better to run with CI=1 as some tests are flaky and setting that will retry them
redwoodjs ⏭️ skipped for now. It is failing with Vite 6.
storybook
sveltekit ⚠️ mostly works, only one minor issue
unocss modifies chunk.modules.
vike uses advanced manualChunks
vite-environment-examples
vite-plugin-pwa patched one place that was assigning to OutputBundle
vite-plugin-react I did not ran because it was tested separately. See rolldown/vite-plugin-react#1
vite-plugin-react-swc ⏭️ skipped for now. It should be fine as vite-plugin-react is tested.
vite-plugin-svelte ⚠️ one test failing but not correctness failures
vite-plugin-vue ⚠️ 2 tests failing but not correctness failures
vite-setup-catalogue
vitepress patched one place that was assigning to OutputBundle
vitest 👀 will check
vuepress
waku needs VITE_USE_LEGACY_PARSE_AST=1

Details

astro

[WIP]

marko

  • ⚠️ Errors because it tries to update input option in buildStart
    • Added a patch to update input option in options hook
  • ✅ passed by converting esbuild plugins to rollup plugins

nuxt

  • ⚠️ uses function type outputOptions.assetFileNames in generateBundle hook
    • it can be workaround by using this.environment.config.build.rollupOptions.output.assetFileNames (applied this workaround)
    • rolldown/rolldown#3445

qwik

  • ⚠️ uses missing features
  • pnpm tsx --require ./scripts/runBefore.ts starters/dev-server.ts 3301 hanged
    • added a fix, probably because there was a dead-lock

sveltekit

better to run with CI=1 as some tests are flaky and setting that will retry them

  • ⚠️ uses manualChunks but can be replaced with advancedChunks
    • Note that the test expects a single chunk to be output, but rolldown outputs 5 chunks (probably because it'll break the execution order), I guess this is fine maybe not (sveltejs/kit#3882), it seems they want to make sure there's a single chunk
    • Also found some issue with experimental.strictExecutionOrder: rolldown/rolldown#3410
  • ✅ tests in apps/dev-only
    • passed by converting esbuild plugins to rollup plugins

unocss

  • test/fixtures.test.ts > fixtures > vite client/test/fixtures.test.ts > fixtures > vite lib/test/fixtures.test.ts > fixtures > vite lib rollupOptions fails
    • UnoCSS modifies chunk.modules to fool the css plugin to generate the css in corresponding chunk (unocss/unocss#4403)

vike

vite-plugin-svelte

  • ⚠️ pnpm test:build
    • packages/e2e-tests/kit-node/__tests__/kit.spec.ts > kit-node > index route > should not include dynamic import from onmount in ssr output
  • pnpm test:serve
    • passed by converting esbuild plugins to rollup plugins

vite-plugin-vue

The failing tests are

  • ⚠️ playground/vue-lib/__tests__/vue-lib.spec.ts > vue component library > should output tree shakeable css module code
    • This is happening because OXC minifier does not drop non-used variables
  • playground/vue-legacy/__tests__/vue-legacy.spec.ts
    • This is expected as rolldown-vite currently does not support the legacy plugin

waku

needs VITE_USE_LEGACY_PARSE_AST=1 (waiting for oxc-project/oxc#8983, released in OXC 0.50.0)

make sure to run with BROWSER=chromium if you have a different value set to BROWSER