Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
chore(sanity-codegen.dev): fix self dep
Browse files Browse the repository at this point in the history
  • Loading branch information
ricokahler committed Jan 27, 2022
1 parent 8a45e07 commit 3a7ebde
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 144 deletions.
145 changes: 5 additions & 140 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/sanity-codegen.dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"@babel/standalone": "^7.16.12",
"@monaco-editor/react": "^4.3.1",
"@ricokahler/promise-suspender": "^1.0.1",
"@sanity-codegen/groq-codegen": "1.0.0-alpha.25",
"@sanity-codegen/schema-codegen": "1.0.0-alpha.25",
"@sanity-codegen/groq-codegen": "^1.0.0-alpha.26",
"@sanity-codegen/schema-codegen": "^1.0.0-alpha.26",
"@sanity/ui": "^0.37.2",
"@types/babel__standalone": "^7.1.4",
"@types/jest": "27.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export default function OutputStructureInspector({
const outputStructure = useDeferredValue(
useMemo(() => {
return transformGroqToStructure({
// @ts-expect-error TODO update these types
node: parse(queryString),
normalizedSchema: schemaNormalizer(extractSchemaString(schemaString)),
scopes: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export default function TypescriptQueryResultInspector({
useMemo(() => {
const { query, references } = transformStructureToTs({
structure: transformGroqToStructure({
// @ts-expect-error TODO update these types
node: parse(queryString),
normalizedSchema: schemaNormalizer(extractSchemaString(schemaString)),
scopes: [],
Expand Down

1 comment on commit 3a7ebde

@vercel
Copy link

@vercel vercel bot commented on 3a7ebde Jan 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.