diff --git a/packages/frontend/assets/about-icon.png b/packages/frontend/assets/client-assets/about-icon.png similarity index 100% rename from packages/frontend/assets/about-icon.png rename to packages/frontend/assets/client-assets/about-icon.png diff --git a/packages/frontend/assets/cookie.png b/packages/frontend/assets/client-assets/cookie.png similarity index 100% rename from packages/frontend/assets/cookie.png rename to packages/frontend/assets/client-assets/cookie.png diff --git a/packages/frontend/assets/dummy.png b/packages/frontend/assets/client-assets/dummy.png similarity index 100% rename from packages/frontend/assets/dummy.png rename to packages/frontend/assets/client-assets/dummy.png diff --git a/packages/frontend/assets/fedi.jpg b/packages/frontend/assets/client-assets/fedi.jpg similarity index 100% rename from packages/frontend/assets/fedi.jpg rename to packages/frontend/assets/client-assets/fedi.jpg diff --git a/packages/frontend/assets/label-red.svg b/packages/frontend/assets/client-assets/label-red.svg similarity index 100% rename from packages/frontend/assets/label-red.svg rename to packages/frontend/assets/client-assets/label-red.svg diff --git a/packages/frontend/assets/label.svg b/packages/frontend/assets/client-assets/label.svg similarity index 100% rename from packages/frontend/assets/label.svg rename to packages/frontend/assets/client-assets/label.svg diff --git a/packages/frontend/assets/misskey.svg b/packages/frontend/assets/client-assets/misskey.svg similarity index 100% rename from packages/frontend/assets/misskey.svg rename to packages/frontend/assets/client-assets/misskey.svg diff --git a/packages/frontend/assets/remove.png b/packages/frontend/assets/client-assets/remove.png similarity index 100% rename from packages/frontend/assets/remove.png rename to packages/frontend/assets/client-assets/remove.png diff --git a/packages/frontend/assets/sounds/aisha/1.mp3 b/packages/frontend/assets/client-assets/sounds/aisha/1.mp3 similarity index 100% rename from packages/frontend/assets/sounds/aisha/1.mp3 rename to packages/frontend/assets/client-assets/sounds/aisha/1.mp3 diff --git a/packages/frontend/assets/sounds/aisha/2.mp3 b/packages/frontend/assets/client-assets/sounds/aisha/2.mp3 similarity index 100% rename from packages/frontend/assets/sounds/aisha/2.mp3 rename to packages/frontend/assets/client-assets/sounds/aisha/2.mp3 diff --git a/packages/frontend/assets/sounds/aisha/3.mp3 b/packages/frontend/assets/client-assets/sounds/aisha/3.mp3 similarity index 100% rename from packages/frontend/assets/sounds/aisha/3.mp3 rename to packages/frontend/assets/client-assets/sounds/aisha/3.mp3 diff --git a/packages/frontend/assets/sounds/noizenecio/kick_gaba1.mp3 b/packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba1.mp3 similarity index 100% rename from packages/frontend/assets/sounds/noizenecio/kick_gaba1.mp3 rename to packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba1.mp3 diff --git a/packages/frontend/assets/sounds/noizenecio/kick_gaba2.mp3 b/packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba2.mp3 similarity index 100% rename from packages/frontend/assets/sounds/noizenecio/kick_gaba2.mp3 rename to packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba2.mp3 diff --git a/packages/frontend/assets/sounds/noizenecio/kick_gaba3.mp3 b/packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba3.mp3 similarity index 100% rename from packages/frontend/assets/sounds/noizenecio/kick_gaba3.mp3 rename to packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba3.mp3 diff --git a/packages/frontend/assets/sounds/noizenecio/kick_gaba4.mp3 b/packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba4.mp3 similarity index 100% rename from packages/frontend/assets/sounds/noizenecio/kick_gaba4.mp3 rename to packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba4.mp3 diff --git a/packages/frontend/assets/sounds/noizenecio/kick_gaba5.mp3 b/packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba5.mp3 similarity index 100% rename from packages/frontend/assets/sounds/noizenecio/kick_gaba5.mp3 rename to packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba5.mp3 diff --git a/packages/frontend/assets/sounds/noizenecio/kick_gaba6.mp3 b/packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba6.mp3 similarity index 100% rename from packages/frontend/assets/sounds/noizenecio/kick_gaba6.mp3 rename to packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba6.mp3 diff --git a/packages/frontend/assets/sounds/noizenecio/kick_gaba7.mp3 b/packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba7.mp3 similarity index 100% rename from packages/frontend/assets/sounds/noizenecio/kick_gaba7.mp3 rename to packages/frontend/assets/client-assets/sounds/noizenecio/kick_gaba7.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/down.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/down.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/down.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/down.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/kick.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/kick.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/kick.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/kick.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-aec-4va.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-aec-4va.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-aec-4va.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-aec-4va.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-aec-4vb.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-aec-4vb.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-aec-4vb.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-aec-4vb.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-aec-8va.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-aec-8va.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-aec-8va.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-aec-8va.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-aec-8vb.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-aec-8vb.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-aec-8vb.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-aec-8vb.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-aec.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-aec.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-aec.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-aec.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-cea-4va.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-cea-4va.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-cea-4va.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-cea-4va.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-cea-4vb.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-cea-4vb.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-cea-4vb.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-cea-4vb.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-cea-8va.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-cea-8va.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-cea-8va.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-cea-8va.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-cea-8vb.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-cea-8vb.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-cea-8vb.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-cea-8vb.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-cea.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-cea.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-cea.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-cea.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-ea-4va.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-ea-4va.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-ea-4va.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-ea-4va.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-ea-4vb.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-ea-4vb.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-ea-4vb.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-ea-4vb.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-ea-8va.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-ea-8va.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-ea-8va.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-ea-8va.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-ea-8vb.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-ea-8vb.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-ea-8vb.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-ea-8vb.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-ea-harmony.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-ea-harmony.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-ea-harmony.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-ea-harmony.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-ea.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-ea.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-ea.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-ea.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-eca-4va.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-eca-4va.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-eca-4va.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-eca-4va.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-eca-4vb.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-eca-4vb.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-eca-4vb.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-eca-4vb.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-eca-8va.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-eca-8va.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-eca-8va.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-eca-8va.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-eca-8vb.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-eca-8vb.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-eca-8vb.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-eca-8vb.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/n-eca.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/n-eca.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/n-eca.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/n-eca.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/pirori-square-wet.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/pirori-square-wet.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/pirori-square-wet.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/pirori-square-wet.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/pirori-wet.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/pirori-wet.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/pirori-wet.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/pirori-wet.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/pirori.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/pirori.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/pirori.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/pirori.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/poi1.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/poi1.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/poi1.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/poi1.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/poi2.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/poi2.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/poi2.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/poi2.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/pope1.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/pope1.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/pope1.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/pope1.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/pope2.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/pope2.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/pope2.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/pope2.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/popo.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/popo.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/popo.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/popo.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/queue-jammed.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/queue-jammed.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/queue-jammed.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/queue-jammed.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/reverved.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/reverved.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/reverved.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/reverved.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/ryukyu.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/ryukyu.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/ryukyu.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/ryukyu.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/snare.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/snare.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/snare.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/snare.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/square-pico.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/square-pico.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/square-pico.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/square-pico.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/triple.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/triple.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/triple.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/triple.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/up.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/up.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/up.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/up.mp3 diff --git a/packages/frontend/assets/sounds/syuilo/waon.mp3 b/packages/frontend/assets/client-assets/sounds/syuilo/waon.mp3 similarity index 100% rename from packages/frontend/assets/sounds/syuilo/waon.mp3 rename to packages/frontend/assets/client-assets/sounds/syuilo/waon.mp3 diff --git a/packages/frontend/assets/tagcanvas.min.js b/packages/frontend/assets/client-assets/tagcanvas.min.js similarity index 100% rename from packages/frontend/assets/tagcanvas.min.js rename to packages/frontend/assets/client-assets/tagcanvas.min.js diff --git a/packages/frontend/assets/tutorial/ai.webp b/packages/frontend/assets/client-assets/tutorial/ai.webp similarity index 100% rename from packages/frontend/assets/tutorial/ai.webp rename to packages/frontend/assets/client-assets/tutorial/ai.webp diff --git a/packages/frontend/assets/tutorial/natto_failed.webp b/packages/frontend/assets/client-assets/tutorial/natto_failed.webp similarity index 100% rename from packages/frontend/assets/tutorial/natto_failed.webp rename to packages/frontend/assets/client-assets/tutorial/natto_failed.webp diff --git a/packages/frontend/assets/tutorial/timeline_tab.png b/packages/frontend/assets/client-assets/tutorial/timeline_tab.png similarity index 100% rename from packages/frontend/assets/tutorial/timeline_tab.png rename to packages/frontend/assets/client-assets/tutorial/timeline_tab.png diff --git a/packages/frontend/assets/unread.svg b/packages/frontend/assets/client-assets/unread.svg similarity index 100% rename from packages/frontend/assets/unread.svg rename to packages/frontend/assets/client-assets/unread.svg diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index d78bc52109..079cc70890 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -44,6 +44,7 @@ function toBase62(n: number): string { export function getConfig(): UserConfig { return { root: "src", + publicDir: "../assets", server: { port: 5173, proxy: { @@ -86,7 +87,7 @@ export function getConfig(): UserConfig { extensions, alias: { '@/': __dirname + '/src/', - '/client-assets/': __dirname + '/client-assets/', + '/client-assets/': __dirname + '/assets/client-assets/', '/static-assets/': __dirname + '/../backend/assets/', '/fluent-emojis/': __dirname + '/../../fluent-emojis/dist/', '/fluent-emoji/': __dirname + '/../../fluent-emojis/dist/',