Files
moeka-project/vitest.config.ts
T
nanakura d1ce4962aa
CI / Lint (push) Failing after 9m41s
CI / Build Test (stage-web) (push) Failing after 12m17s
CI / Build Test (ui-loading-screens) (push) Failing after 11m28s
CI / Build Test (ui-transitions) (push) Failing after 11m39s
CI / Unit Test (push) Failing after 12m16s
CI / Check Provenance (push) Canceled after 0s
CI / Type Check (push) Canceled after 3m16s
fix(deps): apply the pixi-live2d-display patch again
Bun removes patchedDependencies entries whose key has no version. The
`pixi-live2d-display` key therefore never reached `bun.lock`, and every
install shipped an unpatched loader.

The unpatched `FileLoader.factory` validates
`files.map(file => encodeURI(file.webkitRelativePath))`, but the loader
compares decoded archive paths. Archives with spaces or non-ASCII names
then failed with `File "..." is defined in settings, but doesn't exist in
given files`. Live2D models with CJK file names always failed this way.

Key the patch as `pixi-live2d-display@0.4.0`, so Bun records it in the
lockfile and applies it. Register `packages/stage-ui-live2d` in the root
Vitest projects, so `bun run test:run` covers the regression tests for
this behavior.

Session: local Live2D import of an archive with CJK paths.
2026-09-14 19:40:23 +07:00

25 lines
729 B
TypeScript

import { defineConfig } from 'vitest/config'
import { providerInferenceProjects } from './packages/provider-inference/vitest.config'
export default defineConfig({
test: {
projects: [
'packages/ccc',
'packages/core-agent',
'packages/i18n',
'packages/input-gamepad',
'packages/input-playstation-dualsense-5',
'packages/model-driver-lipsync',
'packages/better-ws',
'packages/plugin-sdk',
...providerInferenceProjects.map(project => ({ ...project, root: 'packages/provider-inference' })),
'packages/server-runtime',
'packages/server-sdk',
'packages/stage-shared',
'packages/stage-ui-live2d',
'packages/vitest-plugin-fakemic',
],
},
})