chore(i18n)!: export plurals from index
breaking: `@mtcute/i18n/*` imports are now all in `@mtcute/i18n`
This commit is contained in:
parent
2f39f16ad1
commit
9389cf8b5f
2 changed files with 3 additions and 4 deletions
|
@ -11,10 +11,7 @@
|
|||
"scripts": {
|
||||
"build": "pnpm run -w build-package i18n"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./plurals/*": "./src/plurals/*"
|
||||
},
|
||||
"exports": "./src/index.ts",
|
||||
"devDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/dispatcher": "workspace:^"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
import { I18nStrings, I18nValue, MtcuteI18nAdapter, MtcuteI18nFunction, OtherLanguageWrap } from './types.js'
|
||||
import { createI18nStringsIndex, extractLanguageFromUpdate } from './utils.js'
|
||||
|
||||
export * from './plurals/english.js'
|
||||
export * from './plurals/russian.js'
|
||||
export * from './types.js'
|
||||
export { extractLanguageFromUpdate } from './utils.js'
|
||||
|
||||
|
|
Loading…
Reference in a new issue