-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(VSCode bindings): Add maapings between file types and schemas
Also simplifies package.json scripts and other updates there.
- Loading branch information
Showing
3 changed files
with
354 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,317 @@ | ||
{ | ||
"cSpell.words": ["stencila", "transclude"], | ||
"python.formatting.provider": "black", | ||
"yaml.schemas": { | ||
"./public/Article.schema.json": "*.article.yaml", | ||
"./public/AudioObject.schema.json": "*audioObject.yaml", | ||
"./public/Brand.schema.json": "*.brand.yaml", | ||
"./public/Collection.schema.json": "collection.*.yaml", | ||
"./public/ContactPoint.schema.json": "*.contactPoint.yaml", | ||
"./public/CreativeWork.schema.json": "*.creativeWork.yaml", | ||
"./public/Datatable.schema.json": "*.datatable.yaml", | ||
"./public/DatatableColumn.json": "*.datatableColumn.yaml", | ||
"./public/Document.schema.json": "*.document.yaml", | ||
"./public/Environment.schema.json": "*.environ.yaml", | ||
"./public/Heading.schema.json": "*.heading.yaml", | ||
"./public/ImageObject.schema.json": "*.imageObject.yaml", | ||
"./public/Include.schema.json": "*.include.yaml", | ||
"./public/Link.schema.json": "*.link.yaml", | ||
"./public/List.schema.json": "*.list.yaml", | ||
"./public/ListItem.schema.json": "*.listItem.yaml", | ||
"./public/MediaObject.schema.json": "*mediaObject.yaml", | ||
"./public/Mount.schema.json": "*.mount.yaml", | ||
"./public/Organization.schema.json": "*.organization.yaml", | ||
"./public/Package.schema.json": "*.package.yaml", | ||
"./public/Paragraph.schema.json": "*.paragraph.yaml", | ||
"./public/Person.schema.json": "*.person.yaml", | ||
"./public/Product.schema.json": "*.product.yaml", | ||
"./public/Resource.schema.json": "*.resource.yaml", | ||
"./public/Session.schema.json": "*.session.yaml", | ||
"./public/Sheet.schema.json": "*.sheet.yaml", | ||
"./public/SoftwareApplication.schema.json": "*.softwareApplication.yaml", | ||
"./public/SoftwareSession.schema.json": "*.softwareSession.yaml", | ||
"./public/SoftwareSourceCode.json": "*.softwareSourceCode.yaml", | ||
"./public/Strong.schema.json": "*.strong.yaml", | ||
"./public/Table.schema.json": "*.table.yaml", | ||
"./public/TableCell.schema.json": "*.tableCell.yaml", | ||
"./public/TableRow.schema.json": "*.tableRow.yaml", | ||
"./public/ThematicBreak.schema.json": "*.thematicBreak.yaml", | ||
"./public/VideoObject.schema.json": "*videoObject.yaml", | ||
"./public/Quote.schema.json": "*quote.yaml", | ||
"./public/QuoteBlock.schema.json": "*quoteBlock.yaml", | ||
"https://json-schema.org/draft-07/schema": "*.schema.yaml" | ||
}, | ||
"cSpell.words": ["stencila", "transclude"], | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"python.formatting.provider": "black" | ||
"json.schemas": [ | ||
{ | ||
"fileMatch": ["*.entity.json"], | ||
"url": "./public/Entity.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.arrayvalidator.json"], | ||
"url": "./public/ArrayValidator.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.booleanvalidator.json"], | ||
"url": "./public/BooleanValidator.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.cite.json"], | ||
"url": "./public/Cite.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.citegroup.json"], | ||
"url": "./public/CiteGroup.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.code.json"], | ||
"url": "./public/Code.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.codeblock.json"], | ||
"url": "./public/CodeBlock.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.codechunk.json"], | ||
"url": "./public/CodeChunk.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.codefragment.json"], | ||
"url": "./public/CodeFragment.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.codeexpression.json"], | ||
"url": "./public/CodeExpression.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.codeerror.json"], | ||
"url": "./public/CodeError.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.constantvalidator.json"], | ||
"url": "./public/ConstantValidator.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.date.json"], | ||
"url": "./public/Date.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.mark.json"], | ||
"url": "./public/Mark.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.delete.json"], | ||
"url": "./public/Delete.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.emphasis.json"], | ||
"url": "./public/Emphasis.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.thing.json"], | ||
"url": "./public/Thing.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.brand.json"], | ||
"url": "./public/Brand.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.contactpoint.json"], | ||
"url": "./public/ContactPoint.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.creativework.json"], | ||
"url": "./public/CreativeWork.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.article.json"], | ||
"url": "./public/Article.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.collection.json"], | ||
"url": "./public/Collection.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.comment.json"], | ||
"url": "./public/Comment.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.datatable.json"], | ||
"url": "./public/Datatable.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.mediaobject.json"], | ||
"url": "./public/MediaObject.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.audioobject.json"], | ||
"url": "./public/AudioObject.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.datatablecolumn.json"], | ||
"url": "./public/DatatableColumn.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.definedterm.json"], | ||
"url": "./public/DefinedTerm.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.enumeration.json"], | ||
"url": "./public/Enumeration.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.citationtypeenumeration.json"], | ||
"url": "./public/CitationTypeEnumeration.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.enumvalidator.json"], | ||
"url": "./public/EnumValidator.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.figure.json"], | ||
"url": "./public/Figure.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.function.json"], | ||
"url": "./public/Function.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.grant.json"], | ||
"url": "./public/Grant.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.heading.json"], | ||
"url": "./public/Heading.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.imageobject.json"], | ||
"url": "./public/ImageObject.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.include.json"], | ||
"url": "./public/Include.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.numbervalidator.json"], | ||
"url": "./public/NumberValidator.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.integervalidator.json"], | ||
"url": "./public/IntegerValidator.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.link.json"], | ||
"url": "./public/Link.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.list.json"], | ||
"url": "./public/List.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.listitem.json"], | ||
"url": "./public/ListItem.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.math.json"], | ||
"url": "./public/Math.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.mathblock.json"], | ||
"url": "./public/MathBlock.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.mathfragment.json"], | ||
"url": "./public/MathFragment.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.monetarygrant.json"], | ||
"url": "./public/MonetaryGrant.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.nontextualannotation.json"], | ||
"url": "./public/NontextualAnnotation.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.note.json"], | ||
"url": "./public/Note.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.organization.json"], | ||
"url": "./public/Organization.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.paragraph.json"], | ||
"url": "./public/Paragraph.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.variable.json"], | ||
"url": "./public/Variable.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.parameter.json"], | ||
"url": "./public/Parameter.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.periodical.json"], | ||
"url": "./public/Periodical.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.person.json"], | ||
"url": "./public/Person.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.postaladdress.json"], | ||
"url": "./public/PostalAddress.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.product.json"], | ||
"url": "./public/Product.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.propertyvalue.json"], | ||
"url": "./public/PropertyValue.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.publicationissue.json"], | ||
"url": "./public/PublicationIssue.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.publicationvolume.json"], | ||
"url": "./public/PublicationVolume.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.quote.json"], | ||
"url": "./public/Quote.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.quoteblock.json"], | ||
"url": "./public/QuoteBlock.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.review.json"], | ||
"url": "./public/Review.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.softwareapplication.json"], | ||
"url": "./public/SoftwareApplication.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.softwareenvironment.json"], | ||
"url": "./public/SoftwareEnvironment.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.softwaresession.json"], | ||
"url": "./public/SoftwareSession.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.softwaresourcecode.json"], | ||
"url": "./public/SoftwareSourceCode.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.stringvalidator.json"], | ||
"url": "./public/StringValidator.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.strong.json"], | ||
"url": "./public/Strong.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.subscript.json"], | ||
"url": "./public/Subscript.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.superscript.json"], | ||
"url": "./public/Superscript.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.table.json"], | ||
"url": "./public/Table.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.tablecell.json"], | ||
"url": "./public/TableCell.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.tablerow.json"], | ||
"url": "./public/TableRow.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.thematicbreak.json"], | ||
"url": "./public/ThematicBreak.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.tuplevalidator.json"], | ||
"url": "./public/TupleValidator.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.videoobject.json"], | ||
"url": "./public/VideoObject.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.volumemount.json"], | ||
"url": "./public/VolumeMount.schema.json" | ||
} | ||
] | ||
} |
Oops, something went wrong.