File tree Expand file tree Collapse file tree 4 files changed +1297
-2
lines changed Expand file tree Collapse file tree 4 files changed +1297
-2
lines changed Original file line number Diff line number Diff line change 128128.yarn /build-state.yml
129129.yarn /install-state.gz
130130.pnp. *
131+
132+ # langnostic
133+ .langnostic
Original file line number Diff line number Diff line change 1+ import { ConfigType } from 'langnostic' ;
2+
3+ export default {
4+ ai : {
5+ provider : 'google' ,
6+ } ,
7+ localeConfig : {
8+ source : 'en-US' ,
9+ target : [ 'zh-CN' ] ,
10+ } ,
11+ groups : [
12+ {
13+ name : 'quiz-react' ,
14+ plugin : 'mdx' ,
15+ paths : [
16+ {
17+ source : './questions/*/en-US.mdx' ,
18+ target : './questions/*/{locale}.mdx' ,
19+ } ,
20+ ] ,
21+ } ,
22+ ] ,
23+ } satisfies ConfigType ;
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "gen" : " tsx scripts/gen.ts" ,
8- "sync" : " tsx scripts/sync.ts"
8+ "sync" : " tsx scripts/sync.ts" ,
9+ "translate" : " langnostic translate"
910 },
1011 "keywords" : [
1112 " javascript" ,
2021 "github-slugger" : " ^2.0.0" ,
2122 "globby" : " ^14.0.1" ,
2223 "gray-matter" : " ^4.0.3" ,
24+ "langnostic" : " ^0.0.5" ,
2325 "tsx" : " ^4.15.1"
2426 },
25- "packageManager" : " pnpm@8.15.8"
27+ "packageManager" : " pnpm@8.15.8" ,
28+ "devDependencies" : {
29+ "typescript" : " ^5.8.2"
30+ }
2631}
You can’t perform that action at this time.
0 commit comments