From 8ee87f9e70c3587a46f724a2c6ae9bc1b2b293d4 Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Mon, 30 Jun 2025 02:23:40 +0800 Subject: [PATCH] style(*): stronger import sort --- .../src/components/ControlPanel.vue | 3 ++- apps/playground-prompt-engineering/vite.config.ts | 3 ++- apps/realtime-audio/vite.config.ts | 1 + apps/stage-tamagotchi/scripts/rename-artifacts.js | 3 ++- .../src/components/Widgets/Live2DSettings.vue | 5 +++-- .../Widgets/ResourceStatusIsland/index.vue | 3 ++- ...indow-shortcuts.ts => tauri-global-shortcuts.ts} | 2 +- apps/stage-tamagotchi/src/main.ts | 4 +++- apps/stage-tamagotchi/src/modules/i18n.ts | 1 + apps/stage-tamagotchi/src/pages/index.vue | 6 +++--- .../airi-card/components/CardCreationDialog.vue | 3 ++- .../src/pages/settings/models/index.vue | 1 + .../src/pages/settings/modules/index.vue | 1 + .../src/pages/settings/providers/index.vue | 1 + .../src/pages/settings/scene/index.vue | 1 + apps/stage-tamagotchi/vite.config.ts | 9 +++++---- .../src/components/Layouts/InteractiveArea.vue | 6 ++++-- .../src/components/Widgets/Live2DSettings.vue | 5 +++-- apps/stage-web/src/main.ts | 6 ++++-- apps/stage-web/src/modules/i18n.ts | 1 + .../airi-card/components/CardCreationDialog.vue | 3 ++- apps/stage-web/src/pages/settings/models/index.vue | 1 + apps/stage-web/src/pages/settings/modules/index.vue | 1 + .../src/pages/settings/providers/index.vue | 1 + apps/stage-web/src/pages/settings/scene/index.vue | 1 + apps/stage-web/vite.config.ts | 13 +++++++------ docs/astro.config.ts | 3 ++- eslint.config.ts | 10 +++++++++- packages/server-sdk/src/client.ts | 3 ++- packages/stage-ui/src/components/Live2D/Model.vue | 3 ++- .../components/Providers/SpeechProviderSettings.vue | 3 ++- packages/stage-ui/src/components/Scenes/Live2D.vue | 3 ++- packages/stage-ui/src/components/Widgets/Stage.vue | 5 +++-- packages/stage-ui/src/composables/markdown.ts | 1 + packages/stage-ui/src/composables/vrm/lip-sync.ts | 1 + packages/stage-ui/src/stores/modules/airi-card.ts | 1 + packages/stage-ui/src/utils/live2d-zip-loader.ts | 1 + packages/stage-ui/vite.config.ts | 3 ++- packages/ui-loading-screens/vite.config.ts | 3 ++- packages/ui-transitions/vite.config.ts | 3 ++- services/discord-bot/src/pipelines/tts.ts | 3 ++- .../minecraft/src/libs/mineflayer/base-agent.ts | 3 ++- services/minecraft/src/libs/mineflayer/core.ts | 3 ++- services/minecraft/src/main.ts | 3 ++- .../src/skills/actions/world-interactions.ts | 3 ++- services/minecraft/src/skills/blocks.ts | 1 + services/minecraft/src/skills/combat.ts | 3 ++- services/minecraft/src/skills/movement.ts | 3 ++- .../telegram-bot/scripts/embed-all-chat-messages.ts | 3 ++- services/telegram-bot/src/llm/animated-sticker.ts | 10 ++++++---- services/telegram-bot/src/llm/photo.ts | 3 ++- services/telegram-bot/src/llm/sticker.ts | 3 ++- 52 files changed, 115 insertions(+), 54 deletions(-) rename apps/stage-tamagotchi/src/composables/{window-shortcuts.ts => tauri-global-shortcuts.ts} (96%) diff --git a/apps/playground-prompt-engineering/src/components/ControlPanel.vue b/apps/playground-prompt-engineering/src/components/ControlPanel.vue index 5ed5c6242..e2334a6e2 100644 --- a/apps/playground-prompt-engineering/src/components/ControlPanel.vue +++ b/apps/playground-prompt-engineering/src/components/ControlPanel.vue @@ -2,9 +2,10 @@ import { storeToRefs } from 'pinia' import { ref } from 'vue' -import { useCharacterPromptStore } from '../composables/useCharacterPrompt' import Range from './Form/Range/Range.vue' +import { useCharacterPromptStore } from '../composables/useCharacterPrompt' + const characterPrompt = useCharacterPromptStore() const { currentEmotion, currentContext, emotions, contexts, examples } = storeToRefs(characterPrompt) const activeTemplate = ref('default') diff --git a/apps/playground-prompt-engineering/vite.config.ts b/apps/playground-prompt-engineering/vite.config.ts index ea79f0ad8..048cb142d 100644 --- a/apps/playground-prompt-engineering/vite.config.ts +++ b/apps/playground-prompt-engineering/vite.config.ts @@ -2,9 +2,10 @@ import { fileURLToPath, URL } from 'node:url' import vue from '@vitejs/plugin-vue' import UnoCSS from 'unocss/vite' -import { defineConfig } from 'vite' import Devtools from 'vite-plugin-vue-devtools' +import { defineConfig } from 'vite' + // https://vitejs.dev/config/ export default defineConfig({ plugins: [ diff --git a/apps/realtime-audio/vite.config.ts b/apps/realtime-audio/vite.config.ts index 36cbd6a89..07b53abb7 100644 --- a/apps/realtime-audio/vite.config.ts +++ b/apps/realtime-audio/vite.config.ts @@ -3,6 +3,7 @@ import { resolve } from 'node:path' import Vue from '@vitejs/plugin-vue' import Unocss from 'unocss/vite' import VueRouter from 'unplugin-vue-router/vite' + import { defineConfig } from 'vite' export default defineConfig({ diff --git a/apps/stage-tamagotchi/scripts/rename-artifacts.js b/apps/stage-tamagotchi/scripts/rename-artifacts.js index 5edc1f6dd..2a7addb41 100644 --- a/apps/stage-tamagotchi/scripts/rename-artifacts.js +++ b/apps/stage-tamagotchi/scripts/rename-artifacts.js @@ -1,8 +1,9 @@ import fs from 'node:fs' -import { createRequire } from 'node:module' import path from 'node:path' import process from 'node:process' +import { createRequire } from 'node:module' + const require = createRequire(import.meta.url) const packageJson = require('../package.json') const tauriConfigJson = require('../src-tauri/tauri.conf.json') diff --git a/apps/stage-tamagotchi/src/components/Widgets/Live2DSettings.vue b/apps/stage-tamagotchi/src/components/Widgets/Live2DSettings.vue index ff9832432..f1e4bd93a 100644 --- a/apps/stage-tamagotchi/src/components/Widgets/Live2DSettings.vue +++ b/apps/stage-tamagotchi/src/components/Widgets/Live2DSettings.vue @@ -1,10 +1,11 @@