Skip to content

Commit

Permalink
feat: add cmd to generate a JSON representation of schema
Browse files Browse the repository at this point in the history
  • Loading branch information
sgulseth committed Mar 6, 2024
1 parent b625213 commit ef0c637
Show file tree
Hide file tree
Showing 11 changed files with 4,322 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@sanity/schema/package.json
Expand Up @@ -77,13 +77,15 @@
"@sanity/generate-help-url": "^3.0.0",
"@sanity/types": "3.31.0",
"arrify": "^1.0.1",
"groq-js": "1.5.0-canary.1",
"humanize-list": "^1.0.1",
"leven": "^3.1.0",
"lodash": "^4.17.21",
"object-inspect": "^1.6.0"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@sanity/icons": "^2.8.0",
"rimraf": "^3.0.2"
}
}
1 change: 1 addition & 0 deletions packages/@sanity/schema/src/_exports/_internal.ts
Expand Up @@ -4,6 +4,7 @@ export {
resolveSearchConfig,
resolveSearchConfigForBaseFieldPaths,
} from '../legacy/searchConfig/resolve'
export {extractSchema} from '../sanity/extractSchema'
export {groupProblems} from '../sanity/groupProblems'
export {
type _FIXME_ as FIXME,
Expand Down

0 comments on commit ef0c637

Please sign in to comment.