mirror of
https://github.com/moeru-ai/airi.git
synced 2026-07-10 00:08:33 +00:00
fix(stage-tamagotchi): move @intlify/core from devDeps to deps (#1291)
* fix(stage-tamagotchi): move @intlify/core from devDeps to deps * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
28109a8f02
commit
b1b7dadfe2
4 changed files with 5 additions and 21 deletions
|
|
@ -46,6 +46,7 @@
|
|||
"@formkit/auto-animate": "^0.9.0",
|
||||
"@guiiai/logg": "catalog:",
|
||||
"@huggingface/transformers": "^3.8.1",
|
||||
"@intlify/core": "catalog:",
|
||||
"@moeru/eventa": "^1.0.0-beta.1",
|
||||
"@moeru/std": "catalog:",
|
||||
"@proj-airi/audio": "workspace:^",
|
||||
|
|
@ -136,7 +137,6 @@
|
|||
"@iconify-json/svg-spinners": "^1.2.4",
|
||||
"@iconify-json/vscode-icons": "^1.2.44",
|
||||
"@iconify/utils": "^3.1.0",
|
||||
"@intlify/core": "catalog:",
|
||||
"@intlify/unplugin-vue-i18n": "^11.0.7",
|
||||
"@modelcontextprotocol/sdk": "catalog:",
|
||||
"@pnpm/find-workspace-dir": "^1000.1.4",
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import type {
|
|||
} from '@intlify/core'
|
||||
|
||||
import { useLogg } from '@guiiai/logg'
|
||||
import { compile, createCoreContext, fallbackWithLocaleChain, resolveValue, translate } from '@intlify/core'
|
||||
import { createCoreContext, translate } from '@intlify/core'
|
||||
import { effect, signal } from 'alien-signals'
|
||||
import { isString } from 'es-toolkit'
|
||||
|
||||
|
|
@ -149,21 +149,6 @@ export function createI18n<Schema extends Record<string, any> = Record<string, a
|
|||
missingWarn: false,
|
||||
warnHtmlMessage: false,
|
||||
fallbackFormat: true,
|
||||
// Register the messageCompiler, messageResolver, and localeFallbacker.
|
||||
//
|
||||
// While vue-i18n registers them globally:
|
||||
//
|
||||
// ```
|
||||
// registerMessageCompiler(compile)
|
||||
// registerMessageResolver(resolveValue)
|
||||
// registerLocaleFallbacker(fallbackWithLocaleChain)
|
||||
// ```
|
||||
// See: https://github.com/intlify/vue-i18n/blob/884060b63122ccca3088e4af283ef223a1e2bd29/packages/vue-i18n/src/runtime.ts#L15-L22
|
||||
//
|
||||
// ... but we will provide them to `createCoreContext` here for better scoping.
|
||||
messageCompiler: compile,
|
||||
messageResolver: resolveValue,
|
||||
localeFallbacker: fallbackWithLocaleChain,
|
||||
...options,
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ words:
|
|||
- esaxx
|
||||
- eventa
|
||||
- Factorio
|
||||
- fallbacker
|
||||
- feaxios
|
||||
- Flathub
|
||||
- flexsearch
|
||||
|
|
|
|||
6
pnpm-lock.yaml
generated
6
pnpm-lock.yaml
generated
|
|
@ -977,6 +977,9 @@ importers:
|
|||
'@huggingface/transformers':
|
||||
specifier: ^3.8.1
|
||||
version: 3.8.1
|
||||
'@intlify/core':
|
||||
specifier: 'catalog:'
|
||||
version: 11.2.8
|
||||
'@moeru/eventa':
|
||||
specifier: ^1.0.0-beta.1
|
||||
version: 1.0.0-beta.1(electron@40.8.0)(h3@2.0.1-rc.14(crossws@0.4.4(srvx@0.11.8(patch_hash=c761d25a70e22a0925c88fe91a9dd1c3153dd341d8fd4f260166678156c4df2d))))
|
||||
|
|
@ -1242,9 +1245,6 @@ importers:
|
|||
'@iconify/utils':
|
||||
specifier: ^3.1.0
|
||||
version: 3.1.0
|
||||
'@intlify/core':
|
||||
specifier: 'catalog:'
|
||||
version: 11.2.8
|
||||
'@intlify/unplugin-vue-i18n':
|
||||
specifier: ^11.0.7
|
||||
version: 11.0.7(@vue/compiler-dom@3.5.29)(eslint@9.39.3(jiti@2.6.1))(rollup@4.59.0)(typescript@5.9.3)(vue-i18n@11.2.8(vue@3.5.29(typescript@5.9.3)))(vue@3.5.29(typescript@5.9.3))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue