misskey/packages/backend
anatawa12 8598f3912e
per-locale bundle & inline locale (#16369)
* feat: split entry file by locale name

* chore: とりあえず transform hook で雑に分割

* chore: とりあえず transform 結果をいい感じに

* chore: concurrent buildで高速化

* chore: vite ではローケルのないものをビルドして後処理でどうにかするように

* chore: 後処理のためにi18n.jを単体になるように切り出す

* chore: use typescript

* chore: remove unref(i18n) in vite build process

* chore: inline variable

* fix: build error

* fix: i18n.ts.something.replaceAll() become error

* chore: ignore export specifier from error

* chore: support i18n.tsx as object

* chore: process literal for all files

* chore: split config and locale

* chore: inline locale name

* chore: remove updating locale in boot common

* chore: use top-level await to load locales

* chore: inline locale

* chore: remove loading locale from boot.js

* chore: remove loading locale from boot.js

* コメント追加

* fix test; fetchに失敗する

* import削除ログをdebugレベルに

* fix: watch pug

* chore: use hash for entry files

* chore: remove es-module-lexer from dependencies

* chore: move to frontend-builder

* chore: use inline locale in embed

* chore: refetch json on hot reload

* feat: store localization related to boot.js in backend in bootloaderLocales localstorage

* 応急処置を戻す

* fix spex

* fix `Using i18n identifier "e" directly. Skipping inlining.` warning

* refactor: use scriptsDir parameter

* chore: remove i18n from depmap

* chore: make build crash if errors

* error -> warn few conditions

* use inline object

* update localstorage keys

* remove accessing locale localstorage

* fix: failed to process i18n.tsx.aaa({x:i18n.bbb})
2025-08-08 11:26:18 +09:00
..
.vscode
assets enhance(backend): notify new login (#14673) 2024-10-03 15:06:04 +09:00
migration fix migration 2025-08-01 21:55:56 +09:00
nsfw-model
scripts per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
src per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
test fix e2e 2025-08-02 11:47:24 +09:00
test-federation fix e2e 2025-08-02 11:03:41 +09:00
test-server chore: update .swcrc schema link (#15428) 2025-02-08 17:21:32 +09:00
.madgerc
.swcrc fix: swcのjson-schemaのurlを変更 (#15409) 2025-02-07 02:36:58 +00:00
eslint.config.js tweak eslint config 2025-06-26 10:49:41 +09:00
jest.config.cjs enhance(backend): テストの高速化 (#12939) 2024-01-08 17:43:52 +09:00
jest.config.e2e.cjs enhance(backend): テストの高速化 (#12939) 2024-01-08 17:43:52 +09:00
jest.config.fed.cjs test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
jest.config.unit.cjs enhance(backend): テストの高速化 (#12939) 2024-01-08 17:43:52 +09:00
jest.js fix: jest.js exits with zero value even if underlying jest exited with non-zero value (#16111) 2025-05-27 15:07:47 +09:00
jsconfig.json
ormconfig.js feat: CREATE INDEX CONCURRENTLY for "userId" "id" composite note index if admin wish. (#15915) 2025-05-03 12:57:50 +09:00
package.json enhance: support emojis added in Unicode 16.0 or earlier (#16329) 2025-08-01 22:26:29 +09:00
README.md
tsconfig.json

Misskey Backend