mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-01 03:31:58 +00:00
Create presubmit hooks for i18n (#1763)
* Add locale scripts to package.json * Add i18n hooks
This commit is contained in:
@@ -6,6 +6,11 @@ export default {
|
||||
'vue-tsc --noEmit',
|
||||
'tsc --noEmit',
|
||||
'tsc-strict'
|
||||
],
|
||||
|
||||
'./src/locales/*.json': (stagedFiles) => [
|
||||
'lobe-i18n locale',
|
||||
...formatFiles(stagedFiles)
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user