Skip to content

Commit

Permalink
feature(stackbit): improve inlining
Browse files Browse the repository at this point in the history
  • Loading branch information
julrich committed Jul 9, 2024
1 parent 628c587 commit 1487653
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@kickstartds/jsonschema2stackbit",
"comment": "remove inlined element from fields",
"type": "patch"
}
],
"packageName": "@kickstartds/jsonschema2stackbit"
}
1 change: 1 addition & 0 deletions tools/jsonschema2stackbit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export function convert({
group: value.name
});
}
parent.splice(parent.indexOf(schema));
}
}
},
Expand Down

0 comments on commit 1487653

Please sign in to comment.