feat(i18n): compose pairing records during merges

This commit is contained in:
Tianyi Cui
2026-08-08 21:11:59 +08:00
parent 05cbc185f0
commit 542c029c80
13 changed files with 1049 additions and 77 deletions
+10
View File
@@ -4,6 +4,10 @@
pre-commit:
jobs:
- name: translation pairing (staged records)
glob: '*.i18n.yaml'
run: node_modules/.bin/tsx scripts/verify-translation-pairing.ts --cached {staged_files}
- name: format (staged)
glob: '*.{ts,tsx,mts,cts,mjs}'
exclude:
@@ -34,6 +38,12 @@ pre-commit:
- name: vendor manifest guard
run: scripts/check-vendor-manifest.sh
pre-merge-commit:
jobs:
- name: translation pairing (staged records)
glob: '*.i18n.yaml'
run: node_modules/.bin/tsx scripts/verify-translation-pairing.ts --cached {staged_files}
pre-push:
jobs:
- name: typecheck