feat(i18n): static type on i18n (#2225)

This commit is contained in:
Himself65
2023-05-04 00:35:09 -05:00
committed by GitHub
parent 66c3b09c67
commit 3d43e61087
80 changed files with 585 additions and 444 deletions

View File

@@ -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,