fix(ui-server-auth): exclude stage inference assets (#2379)
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
"@date-fns/utc": "catalog:",
|
||||
"@fontsource-variable/nunito": "catalog:",
|
||||
"@formkit/auto-animate": "catalog:",
|
||||
"@huggingface/transformers": "catalog:",
|
||||
"@moeru/eventa": "catalog:",
|
||||
"@moeru/std": "catalog:",
|
||||
"@proj-airi/font-chillroundm": "workspace:^",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ToasterRoot } from '@proj-airi/stage-ui/components'
|
||||
import { useSettingsGeneral, useSettingsTheme } from '@proj-airi/stage-ui/stores/settings'
|
||||
import { ToasterRoot } from '@proj-airi/stage-ui/components/scenarios/toasters'
|
||||
import { useSettingsGeneral } from '@proj-airi/stage-ui/stores/settings/general'
|
||||
import { useSettingsTheme } from '@proj-airi/stage-ui/stores/settings/theme'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { watch } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* policy linked on the sign-in page.
|
||||
*/
|
||||
|
||||
import type { OauthCallbackFailureStage } from '@proj-airi/stage-ui/composables'
|
||||
import type { OauthCallbackFailureStage } from '@proj-airi/stage-ui/composables/use-analytics'
|
||||
|
||||
/** Login/signup credential kinds shown on the sign-in page. */
|
||||
export type AuthMethod = 'email' | 'github' | 'google' | 'steam'
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import type { ProfileUser } from '../modules/profile'
|
||||
|
||||
import { defaultSignInProviders } from '@proj-airi/stage-ui/components/auth'
|
||||
import { useLinkedAccounts } from '@proj-airi/stage-ui/composables'
|
||||
import { useLinkedAccounts } from '@proj-airi/stage-ui/composables/use-linked-accounts'
|
||||
import { SERVER_URL } from '@proj-airi/stage-ui/libs/server'
|
||||
import { Avatar, Button, FieldInput } from '@proj-airi/ui'
|
||||
import { computed, onMounted, reactive, shallowRef } from 'vue'
|
||||
|
||||
@@ -113,9 +113,17 @@ export default defineConfig({
|
||||
// https://github.com/JohnCampionJr/vite-plugin-vue-layouts
|
||||
Layouts({
|
||||
layoutsDirs: [
|
||||
resolve(import.meta.dirname, 'src', 'layouts'),
|
||||
resolve(import.meta.dirname, '..', '..', 'packages', 'stage-layouts', 'src', 'layouts'),
|
||||
],
|
||||
// Auth routes use only the plain layout. Loading other shared layouts
|
||||
// pulls the stage renderer, model assets, and local inference runtime
|
||||
// into the auth deployment.
|
||||
exclude: [
|
||||
'**/default.vue',
|
||||
'**/home.vue',
|
||||
'**/settings.vue',
|
||||
'**/stage.vue',
|
||||
],
|
||||
}),
|
||||
|
||||
// https://github.com/antfu/unocss
|
||||
|
||||
Generated
-3
@@ -2765,9 +2765,6 @@ importers:
|
||||
'@formkit/auto-animate':
|
||||
specifier: 'catalog:'
|
||||
version: 0.10.0(vue@3.5.41(typescript@6.0.3))
|
||||
'@huggingface/transformers':
|
||||
specifier: 'catalog:'
|
||||
version: 3.8.1
|
||||
'@moeru/eventa':
|
||||
specifier: 'catalog:'
|
||||
version: 1.0.0(electron@43.4.1(supports-color@10.2.2))(h3@2.0.1-rc.29(crossws@0.4.12(srvx@0.12.7)))(hono@4.13.3)
|
||||
|
||||
Reference in New Issue
Block a user