summaryrefslogtreecommitdiff
path: root/packages/backend/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* per-locale bundle & inline locale (#16369)anatawa122025-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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})
* Migration cleanup (#16288)anatawa122025-07-161-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | * chore: apply several @Index and @ManyToOne to match actual migration code * chore: several decorator updates with typeorm bug workaround with patches * feat: add final cleanup migration * dev: add .editorconfig settings for generated migrations * chore: update dockerfile to build package with patches * chore: update federation test compose to include patches * chore: revert few dependency update * chore: don't check disableRegistration on test env * test: add test for checking migration script * chore: set proxyRemoteFiles true in test config * chore: enter invitation code in signup test * fix: register send button is not disabled when invitationCode is not input
* fix(backend): ↵かっこかり2024-11-241-1/+1
| | | | | | | | | | | | | | 起動前の疎通チェックが機能しなくなっていた問題を修正 (#15043) * check harder for connectibility `allSettled` does not throw if a promise is rejected, so `check_connect` never actually failed * Update Changelog --------- Co-authored-by: dakkar <dakkar@thenautilus.net>
* enhance(backend): check_connect.js ↵かっこかり2024-10-281-5/+46
| | | | | | | | | | | | | | | で全RedisとDBへの接続を確認するように (#14853) * fix race conditions in check_connect.js (cherry picked from commit 524ddb96770690455b82522104a543c5b0b1f3b3) * fix * Update Changelog --------- Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
* fix(build): autogen生成時にbackendを2度buildしているのを修正 ↵かっこかり2024-07-271-6/+29
| | | | | | | | | (#14309) * fix(build): autogen生成時にbackendを2度buildしているのを修正 * fix * fix
* dev: fix pnpm dev is broken (#14123)anatawa122024-07-031-0/+2
| | | | | * dev: pnpm dev is broken * dev: fix crash pnpm dev because of unhandled promise
* fix(backend): バックエンドのpnpm ↵おさむのひと2024-04-044-0/+117
devによるビルド後にbuild-assetsを行うようにする (#13659) * moveto scripts * add scripts/dev.mjs