Files
moeka-project/apps/stage-web/package.json
T
Neko Ayaka 372125fb89 chore(deps): bump dependencies
Notice: after bumping up to three 0.180.0 with @types/three 0.180.0,
  Argument of type 'Group<Object3DEventMap>' is not assignable to parameter of type 'Object3D<Object3DEventMap>'.
    Type 'Group<Object3DEventMap>' is missing the following properties from type 'Object3D<Object3DEventMap>': setPointerCapture, releasePointerCapture, hasPointerCapture

Currently, AFAIK, clearly, three, and @types/three doesn't have the setPointerCapture, releasePointerCapture, hasPointerCapture method / getters
The only place I found on GitHub, points out that https://github.com/pmndrs/xr/blob/456aa380206e93888cd3a5741a1534e672ae3106/packages/pointer-events/src/pointer.ts#L69-L100 declares

```js
declare module 'three' {
  interface Object3D {
    setPointerCapture(pointerId: number): void
    releasePointerCapture(pointerId: number): void
    hasPointerCapture(pointerId: number): boolean

    intersectChildren?: boolean
    interactableDescendants?: Array<Object3D>
    /**
     * @deprecated
     */
    ancestorsHaveListeners?: boolean
    ancestorsHavePointerListeners?: boolean
    ancestorsHaveWheelListeners?: boolean
  }
}
```

And in @tresjs/core v5, it uses the @pmndrs/pointer-events internally.
Somehow the Object3D from @types/three and the one augmented by @pmndrs/pointer-events are not compatible.

`new Object3D() as unknown as Object3D` works as workaround here but there should be no need to do such a thing since these two Object3D should be the same.
With no updates from `typescript`, I assume there is no breaking change or regression from `typescript` side.
2025-09-26 17:07:07 +08:00

133 lines
4.1 KiB
JSON

{
"name": "@proj-airi/stage-web",
"type": "module",
"private": true,
"description": "LLM powered virtual character",
"author": {
"name": "Moeru AI Project AIRI Team",
"email": "airi@moeru.ai",
"url": "https://github.com/moeru-ai"
},
"license": "MIT",
"scripts": {
"build": "vite build",
"dev": "vite",
"lint": "eslint .",
"preview": "vite preview",
"typecheck": "vue-tsc --noEmit"
},
"dependencies": {
"@date-fns/utc": "^2.1.1",
"@formkit/auto-animate": "^0.9.0",
"@huggingface/transformers": "^3.7.3",
"@llama-flow/core": "^0.4.4",
"@moeru/std": "catalog:",
"@proj-airi/audio": "workspace:^",
"@proj-airi/ccc": "workspace:^",
"@proj-airi/drizzle-duckdb-wasm": "catalog:",
"@proj-airi/font-cjkfonts-allseto": "workspace:^",
"@proj-airi/font-xiaolai": "workspace:^",
"@proj-airi/i18n": "workspace:^",
"@proj-airi/server-sdk": "workspace:^",
"@proj-airi/stage-ui": "workspace:^",
"@proj-airi/stage-ui-three": "workspace:^",
"@proj-airi/ui": "workspace:^",
"@proj-airi/ui-transitions": "workspace:^",
"@ricky0123/vad-web": "^0.0.28",
"@standard-schema/spec": "^1.0.0",
"@stdlib/string-base-kebabcase": "^0.2.2",
"@tresjs/cientos": "^5.0.0",
"@tresjs/core": "^5.0.2",
"@unbird/eventa": "^0.0.11",
"@valibot/to-json-schema": "1.0.0-rc.0",
"@vueuse/core": "^13.9.0",
"@vueuse/shared": "^13.9.0",
"@xsai-ext/providers-cloud": "catalog:",
"@xsai-ext/providers-local": "catalog:",
"@xsai-ext/shared-providers": "catalog:",
"@xsai-transformers/embed": "^0.0.7",
"@xsai/generate-speech": "catalog:",
"@xsai/generate-text": "catalog:",
"@xsai/model": "catalog:",
"@xsai/shared": "catalog:",
"@xsai/shared-chat": "catalog:",
"@xsai/stream-text": "catalog:",
"@xsai/utils-chat": "catalog:",
"colorjs.io": "^0.5.2",
"culori": "^4.0.2",
"date-fns": "^4.1.0",
"dompurify": "^3.2.7",
"driver.js": "^1.3.6",
"drizzle-kit": "^0.31.4",
"drizzle-orm": "^0.44.5",
"gpuu": "^1.0.5",
"html2canvas": "^1.4.1",
"jszip": "^3.10.1",
"localforage": "^1.10.0",
"mediabunny": "^1.20.1",
"nanoid": "^5.1.6",
"node-vibrant": "^4.0.3",
"nprogress": "^0.2.0",
"ofetch": "^1.4.1",
"onnxruntime-web": "^1.23.0",
"pinia": "^3.0.3",
"rehype-stringify": "^10.0.1",
"reka-ui": "^2.5.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"shiki": "^3.13.0",
"three": "^0.180.0",
"unified": "^11.0.5",
"unspeech": "^0.1.7",
"valibot": "1.0.0-beta.9",
"vaul-vue": "^0.4.1",
"vue": "^3.5.22",
"vue-demi": "^0.14.10",
"vue-i18n": "^11.1.12",
"vue-router": "^4.5.1",
"vue-sonner": "^2.0.8",
"workbox-window": "^7.3.0",
"xsschema": "catalog:",
"yauzl": "^3.2.0",
"zod": "^4.1.11"
},
"devDependencies": {
"@iconify-json/carbon": "^1.2.13",
"@iconify-json/eos-icons": "^1.2.4",
"@iconify-json/lucide": "^1.2.68",
"@iconify-json/mingcute": "^1.2.5",
"@iconify-json/simple-icons": "^1.2.53",
"@iconify-json/solar": "^1.2.4",
"@iconify-json/svg-spinners": "^1.2.4",
"@iconify-json/vscode-icons": "^1.2.30",
"@intlify/unplugin-vue-i18n": "^11.0.1",
"@proj-airi/lobe-icons": "^1.0.11",
"@proj-airi/unplugin-fetch": "^0.1.7",
"@proj-airi/unplugin-live2d-sdk": "^0.1.6",
"@shikijs/markdown-it": "^3.13.0",
"@types/audioworklet": "^0.0.85",
"@types/culori": "^4.0.1",
"@types/nprogress": "^0.2.3",
"@types/three": "^0.180.0",
"@types/yauzl": "^2.10.3",
"@unocss/reset": "^66.5.2",
"@vitejs/plugin-vue": "^6.0.1",
"@vue-macros/volar": "^3.1.1",
"@vueuse/motion": "^3.0.3",
"csstype": "^3.1.3",
"execa": "^9.6.0",
"hfup": "^0.6.3",
"less": "^4.4.1",
"unplugin-info": "^1.2.4",
"unplugin-vue-macros": "^2.14.5",
"unplugin-vue-router": "^0.15.0",
"unplugin-yaml": "^3.0.6",
"vite": "catalog:rolldown-vite",
"vite-bundle-visualizer": "^1.2.1",
"vite-plugin-pwa": "^1.0.3",
"vite-plugin-vue-devtools": "^8.0.2",
"vite-plugin-vue-layouts": "^0.11.0",
"vue-tsc": "^3.0.8"
}
}