misskey/packages/frontend/.storybook
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
..
.gitignore ci(#10336): use TurboSnap (#10494) 2023-04-07 20:34:23 +09:00
changes.ts fix(ci): change Chromatic build to be triggered when frontend `package.json` is edited instead of lockfile (#15793) 2025-04-27 10:49:23 +09:00
charts.ts refactor(frontend): verbatimModuleSyntaxを有効化 (#15323) 2025-02-05 10:01:44 +00:00
fake-utils.ts lint fixes 2025-03-20 19:00:09 +09:00
fakes.ts fix(storybook): implement missing stories (#15862) 2025-04-18 18:56:46 +09:00
generate.tsx fix(storybook): use type-only imports in generated stories (#15654) 2025-03-12 16:51:10 +09:00
main.ts feat(frontend): 設定の検索 (#15505) 2025-03-06 23:15:19 +09:00
manager.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
mocks.ts enhance: support emojis added in Unicode 16.0 or earlier (#16329) 2025-08-01 22:26:29 +09:00
package.json refactor(locales, sw): use es module (#11204) 2023-07-09 17:19:07 +09:00
preload-locale.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
preload-theme.ts feat(frontend): ノート・ユーザータイムライン埋め込み (#13929) 2024-09-09 20:57:36 +09:00
preview-head.html fix(frontend): tabler-iconsが読み込めない問題を修正(正式リリースに差し替え) (#15608) 2025-03-06 05:34:24 +00:00
preview.ts per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
tsconfig.json update deps (#11764) 2023-09-04 13:33:38 +09:00