Files
moeka-project/apps/stage-tamagotchi-electron/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

150 lines
5.2 KiB
JSON

{
"name": "@proj-airi/stage-tamagotchi-electron",
"type": "module",
"version": "0.7.2-beta.3",
"private": true,
"description": "An Electron application with Vue and TypeScript",
"author": "example.com",
"homepage": "https://electron-vite.org",
"main": "./out/main/index.js",
"scripts": {
"lint": "eslint --cache .",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "vue-tsc --noEmit -p tsconfig.web.json --composite false",
"typecheck": "pnpm run typecheck:node && pnpm run typecheck:web",
"app:dev": "pnpm run dev",
"app:build": "pnpm run build",
"start": "electron-vite preview",
"dev": "electron-vite dev",
"build": "pnpm run typecheck && electron-vite build",
"postinstall": "electron-builder install-app-deps",
"build:unpack": "pnpm run build && electron-builder --dir",
"build:win": "pnpm run build && electron-builder --win",
"build:mac": "pnpm run build && electron-builder --mac",
"build:linux": "pnpm run build && electron-builder --linux"
},
"dependencies": {
"@date-fns/utc": "^2.1.1",
"@electron-toolkit/preload": "^3.0.2",
"@electron-toolkit/utils": "^4.0.0",
"@formkit/auto-animate": "^0.9.0",
"@guiiai/logg": "catalog:",
"@huggingface/transformers": "^3.7.3",
"@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/stage-ui": "workspace:^",
"@proj-airi/ui": "workspace:^",
"@ricky0123/vad-web": "^0.0.28",
"@stdlib/string-base-kebabcase": "^0.2.2",
"@tresjs/cientos": "^5.0.0",
"@tresjs/core": "^5.0.2",
"@types/audioworklet": "^0.0.85",
"@unbird/eventa": "^0.0.11",
"@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/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",
"drizzle-kit": "^0.31.4",
"drizzle-orm": "^0.44.5",
"jszip": "^3.10.1",
"localforage": "^1.10.0",
"mediabunny": "^1.20.1",
"node-vibrant": "^4.0.3",
"nprogress": "^0.2.0",
"ofetch": "^1.4.1",
"onnxruntime-web": "^1.23.0",
"pinia": "^3.0.3",
"popmotion": "^11.0.5",
"rehype-stringify": "^10.0.1",
"reka-ui": "^2.5.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"shiki": "^3.13.0",
"std-env": "^3.9.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",
"xsschema": "catalog:",
"yauzl": "^3.2.0",
"zod": "^4.1.11"
},
"devDependencies": {
"@electron-toolkit/tsconfig": "^2.0.0",
"@fontsource-variable/dm-sans": "^5.2.8",
"@fontsource-variable/jura": "^5.2.7",
"@fontsource-variable/quicksand": "^5.2.10",
"@fontsource-variable/urbanist": "^5.2.7",
"@fontsource/dm-mono": "^5.2.7",
"@fontsource/dm-serif-display": "^5.2.8",
"@fontsource/gugi": "^5.2.7",
"@fontsource/kiwi-maru": "^5.2.8",
"@fontsource/m-plus-rounded-1c": "^5.2.9",
"@fontsource/sniglet": "^5.2.8",
"@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/ph": "^1.2.2",
"@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",
"@iconify/utils": "^3.0.2",
"@intlify/unplugin-vue-i18n": "^11.0.1",
"@proj-airi/lobe-icons": "^1.0.11",
"@proj-airi/ui-transitions": "workspace:^",
"@proj-airi/unplugin-fetch": "^0.1.7",
"@proj-airi/unplugin-live2d-sdk": "^0.1.6",
"@shikijs/markdown-it": "^3.13.0",
"@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",
"@xsai-transformers/embed": "^0.0.7",
"cac": "^6.7.14",
"csstype": "^3.1.3",
"electron": "^38.1.2",
"electron-builder": "^26.0.12",
"electron-vite": "^4.0.1",
"execa": "^9.6.0",
"less": "^4.4.1",
"unocss-preset-scrollbar": "^3.2.0",
"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-vue-devtools": "^8.0.2",
"vite-plugin-vue-layouts": "^0.11.0",
"vue-tsc": "^3.0.8"
}
}