mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
wip: replace packages with pure files
This commit is contained in:
1 parent
2d95ca382f
commit
87b8ca5d04
112 files changed
+740
-522
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { zodToJsonSchema } from 'zod-to-json-schema'
|
||||
import fs from 'fs'
|
||||
import { questSchema } from './schema'
|
||||
|
||||
const jsonSchema = zodToJsonSchema(questSchema)
|
||||
|
||||
fs.writeFileSync('quest.json', JSON.stringify(jsonSchema, null, 2))
|
||||
Reference in new issue
Block a user