mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(i18n): static type on i18n (#2225)
This commit is contained in:
@@ -5,6 +5,7 @@ import * as path from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
import * as p from '@clack/prompts';
|
||||
import { runCli } from '@magic-works/i18n-codegen';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
@@ -80,6 +81,14 @@ if (dev.server === 'local') {
|
||||
console.log('You might need setup OctoBase dev server first.');
|
||||
}
|
||||
|
||||
runCli(
|
||||
{
|
||||
watch: true,
|
||||
cwd: root,
|
||||
},
|
||||
console.error
|
||||
);
|
||||
|
||||
spawn('yarn', ['dev'], {
|
||||
env,
|
||||
cwd,
|
||||
|
||||
Reference in New Issue
Block a user