feat: moonshine-web demo

This commit is contained in:
Neko Ayaka
2024-12-25 15:20:13 +08:00
parent 70f4965a8b
commit 86ecb9439b
28 changed files with 1318 additions and 26 deletions
+141 -4
View File
@@ -102,6 +102,49 @@ importers:
specifier: ^3.99.0
version: 3.99.0(@cloudflare/workers-types@4.20241218.0)
packages/moonshine-web:
dependencies:
'@tresjs/core':
specifier: ^4.3.1
version: 4.3.1(three@0.171.0)(vue@3.5.13(typescript@5.7.2))
'@unocss/reset':
specifier: ^0.65.2
version: 0.65.2
'@vueuse/core':
specifier: ^12.1.0
version: 12.1.0(typescript@5.7.2)
'@vueuse/motion':
specifier: ^2.2.6
version: 2.2.6(rollup@4.29.1)(vue@3.5.13(typescript@5.7.2))
ofetch:
specifier: ^1.4.1
version: 1.4.1
three:
specifier: ^0.171.0
version: 0.171.0
vue:
specifier: ^3.5.13
version: 3.5.13(typescript@5.7.2)
devDependencies:
'@huggingface/transformers':
specifier: ^3.2.1
version: 3.2.1
'@types/audioworklet':
specifier: ^0.0.65
version: 0.0.65
'@types/three':
specifier: ^0.171.0
version: 0.171.0
'@vitejs/plugin-vue':
specifier: ^5.2.1
version: 5.2.1(vite@6.0.5(@types/node@22.10.2)(jiti@2.4.0)(terser@5.17.6)(tsx@4.19.2)(yaml@2.6.1))(vue@3.5.13(typescript@5.7.2))
'@webgpu/types':
specifier: ^0.1.52
version: 0.1.52
vue-tsc:
specifier: ^2.1.10
version: 2.1.10(typescript@5.7.2)
packages/stage:
dependencies:
'@11labs/client':
@@ -370,6 +413,9 @@ importers:
'@vitejs/plugin-vue':
specifier: ^5.2.1
version: 5.2.1(vite@6.0.5(@types/node@22.10.2)(jiti@2.4.0)(terser@5.17.6)(tsx@4.19.2)(yaml@2.6.1))(vue@3.5.13(typescript@5.7.2))
'@webgpu/types':
specifier: ^0.1.52
version: 0.1.52
vue-tsc:
specifier: ^2.1.10
version: 2.1.10(typescript@5.7.2)
@@ -2487,6 +2533,9 @@ packages:
'@tybys/wasm-util@0.9.0':
resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==}
'@types/audioworklet@0.0.65':
resolution: {integrity: sha512-JnPJtR94nLPBBQ2iUuZ3Te6FzeABVXXuATR3zw3Hl/EvSYvU8Ipd2tI8/svvTmZ5sPUEnT/fDUF7f2kSjXWC3w==}
'@types/debug@4.1.12':
resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
@@ -3124,8 +3173,8 @@ packages:
'@vueuse/shared@12.1.0':
resolution: {integrity: sha512-tnuYb6Rp9dwMjsi/gukNeE+En3RFOfzrnVZX1vwbvq7+MbCkBNnXFvKgMGPlo1TQxgVd46D3NYwhBmM8Ioxd2A==}
'@webgpu/types@0.1.51':
resolution: {integrity: sha512-ktR3u64NPjwIViNCck+z9QeyN0iPkQCUOQ07ZCV1RzlkfP+olLTeEZ95O1QHS+v4w9vJeY9xj/uJuSphsHy5rQ==}
'@webgpu/types@0.1.52':
resolution: {integrity: sha512-eI883Nlag2hGIkhXxAnq8s4APpqXWuPL3Gbn2ghiU12UjLvfCbVqHK4XfXl3eLRTatqcMmeK7jws7IwWsGfbzw==}
'@xsai/generate-text@0.0.22':
resolution: {integrity: sha512-3ZkxR3QfN0lkcCD4NM6glkA9+cWxPodHx73qnlSKzFV/m1McAI42JPKWpFOxfQdxkAQAkZ5cD5Et7PZs8Rc7bQ==}
@@ -8949,6 +8998,34 @@ snapshots:
- supports-color
optional: true
'@nuxt/kit@3.14.1592(rollup@4.29.1)':
dependencies:
'@nuxt/schema': 3.14.1592(rollup@4.29.1)
c12: 2.0.1
consola: 3.2.3
defu: 6.1.4
destr: 2.0.3
globby: 14.0.2
hash-sum: 2.0.0
ignore: 6.0.2
jiti: 2.4.0
klona: 2.0.6
knitwork: 1.2.0
mlly: 1.7.3
pathe: 1.1.2
pkg-types: 1.2.1
scule: 1.3.0
semver: 7.6.3
ufo: 1.5.4
unctx: 2.4.0
unimport: 3.14.2(rollup@4.29.1)
untyped: 1.5.1
transitivePeerDependencies:
- magicast
- rollup
- supports-color
optional: true
'@nuxt/schema@3.14.1592(rollup@2.79.1)':
dependencies:
c12: 2.0.1
@@ -8970,6 +9047,27 @@ snapshots:
- supports-color
optional: true
'@nuxt/schema@3.14.1592(rollup@4.29.1)':
dependencies:
c12: 2.0.1
compatx: 0.1.8
consola: 3.2.3
defu: 6.1.4
hookable: 5.5.3
pathe: 1.1.2
pkg-types: 1.2.1
scule: 1.3.0
std-env: 3.8.0
ufo: 1.5.4
uncrypto: 0.1.3
unimport: 3.14.2(rollup@4.29.1)
untyped: 1.5.1
transitivePeerDependencies:
- magicast
- rollup
- supports-color
optional: true
'@oxc-resolver/binding-darwin-arm64@2.1.1':
optional: true
@@ -9439,6 +9537,8 @@ snapshots:
tslib: 2.8.1
optional: true
'@types/audioworklet@0.0.65': {}
'@types/debug@4.1.12':
dependencies:
'@types/ms': 0.7.34
@@ -9507,7 +9607,7 @@ snapshots:
'@tweenjs/tween.js': 23.1.3
'@types/stats.js': 0.17.3
'@types/webxr': 0.5.20
'@webgpu/types': 0.1.51
'@webgpu/types': 0.1.52
fflate: 0.8.2
meshoptimizer: 0.18.1
@@ -10410,6 +10510,23 @@ snapshots:
- rollup
- supports-color
'@vueuse/motion@2.2.6(rollup@4.29.1)(vue@3.5.13(typescript@5.7.2))':
dependencies:
'@vueuse/core': 10.11.1(vue@3.5.13(typescript@5.7.2))
'@vueuse/shared': 10.11.1(vue@3.5.13(typescript@5.7.2))
csstype: 3.1.3
framesync: 6.1.2
popmotion: 11.0.5
style-value-types: 5.1.2
vue: 3.5.13(typescript@5.7.2)
optionalDependencies:
'@nuxt/kit': 3.14.1592(rollup@4.29.1)
transitivePeerDependencies:
- '@vue/composition-api'
- magicast
- rollup
- supports-color
'@vueuse/shared@10.11.1(vue@3.5.13(typescript@5.7.2))':
dependencies:
vue-demi: 0.14.10(vue@3.5.13(typescript@5.7.2))
@@ -10430,7 +10547,7 @@ snapshots:
transitivePeerDependencies:
- typescript
'@webgpu/types@0.1.51': {}
'@webgpu/types@0.1.52': {}
'@xsai/generate-text@0.0.22':
dependencies:
@@ -14741,6 +14858,26 @@ snapshots:
- rollup
optional: true
unimport@3.14.2(rollup@4.29.1):
dependencies:
'@rollup/pluginutils': 5.1.3(rollup@4.29.1)
acorn: 8.14.0
escape-string-regexp: 5.0.0
estree-walker: 3.0.3
local-pkg: 0.5.1
magic-string: 0.30.14
mlly: 1.7.3
pathe: 1.1.2
picomatch: 4.0.2
pkg-types: 1.2.1
scule: 1.3.0
strip-literal: 2.1.1
tinyglobby: 0.2.10
unplugin: 1.16.0
transitivePeerDependencies:
- rollup
optional: true
unimport@3.14.5(rollup@2.79.1):
dependencies:
'@rollup/pluginutils': 5.1.3(rollup@2.79.1)