Skip to content

Commit

Permalink
added more details to the schema definition
Browse files Browse the repository at this point in the history
  • Loading branch information
EmranMR committed Jan 27, 2025
1 parent accf02e commit dbb2ab6
Show file tree
Hide file tree
Showing 12 changed files with 595 additions and 130 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ test.json
.vs/
.idea
*.iml
.nova

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
Expand Down
2 changes: 1 addition & 1 deletion src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -3682,7 +3682,7 @@
{
"name": "Nova Editor",
"description": "Nova Editor Extension Manifest",
"fileMatch": ["extension.json"],
"fileMatch": ["**/.novaextension/extension.json", "extension.json"],
"url": "https://json.schemastore.org/extension.json"
},
{
Expand Down
13 changes: 13 additions & 0 deletions src/negative_test/extension/incorrect-debug-adaptor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"bugs": "https://example.com/debug-issues",
"categories": ["issues"],
"debugAdapters": {
"identifier": "debug.helper.adapter",
"name": "Debug Helper Adapter"
},
"description": "An extension with debug support.",
"identifier": "com.example.debug-helper",
"name": "Debug Helper",
"organization": "Debug Tools Ltd.",
"version": "1.1.0"
}
9 changes: 9 additions & 0 deletions src/negative_test/extension/unrecognised-category.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"bugs": "https://example.com/issues",
"categories": ["Utilities"],
"description": "A basic valid extension.",
"identifier": "com.example.basic-extension",
"name": "Basic Extension",
"organization": "Example Corp",
"version": "1.0.0"
}
15 changes: 15 additions & 0 deletions src/negative_test/extension/wrong-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"bugs": "https://example.com/debug-issues",
"categories": ["issues"],
"debugAdapters": [
{
"identifier": "debug.helper.adapter",
"name": "Debug Helper Adapter"
}
],
"description": "An extension with debug support.",
"identifier": "com.example.debug-helper",
"name": "Debug Helper",
"organization": "Debug Tools Ltd.",
"version": "1.1.0"
}
Loading

0 comments on commit dbb2ab6

Please sign in to comment.