From 0dc4e966631d98b92e28431915f848ca7f981f47 Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Sat, 27 Dec 2025 17:03:43 +0800 Subject: [PATCH] refactor(stage-*): analytics with better structure, added useBuildInfo --- apps/stage-tamagotchi/src/renderer/App.vue | 3 + apps/stage-tamagotchi/src/renderer/main.ts | 13 - apps/stage-web/src/App.vue | 3 + .../Layouts/InteractiveArea/Actions/About.vue | 6 +- apps/stage-web/src/main.ts | 13 - packages/stage-pages/package.json | 1 + packages/stage-pages/tsconfig.json | 3 +- packages/stage-ui/package.json | 3 +- packages/stage-ui/src/composables/index.ts | 1 + .../src/composables/use-build-info.ts | 13 + .../src/composables/use-context-bridge.ts | 75 ++-- .../stage-ui/src/stores/analytics/index.ts | 13 +- pnpm-lock.yaml | 344 +++++++----------- pnpm-workspace.yaml | 2 +- 14 files changed, 199 insertions(+), 294 deletions(-) create mode 100644 packages/stage-ui/src/composables/use-build-info.ts diff --git a/apps/stage-tamagotchi/src/renderer/App.vue b/apps/stage-tamagotchi/src/renderer/App.vue index 69d25a236..639027f8a 100644 --- a/apps/stage-tamagotchi/src/renderer/App.vue +++ b/apps/stage-tamagotchi/src/renderer/App.vue @@ -1,6 +1,7 @@