Skip to content

Commit

Permalink
Generate vscode custom data definition
Browse files Browse the repository at this point in the history
  • Loading branch information
bendera committed Jan 2, 2024
1 parent 8e89520 commit cb4bc79
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ stats.html

bendera-vscode-webview-elements-*.tgz
custom-elements.json
vscode.*-custom-data.json
42 changes: 42 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"@webcomponents/webcomponentsjs": "^2.8.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"custom-element-vs-code-integration": "^1.2.1",
"deepmerge": "^4.3.1",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
Expand Down
6 changes: 6 additions & 0 deletions scripts/generate-custom-data.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { generateVsCodeCustomElementData } from "custom-element-vs-code-integration";
import manifest from "../custom-elements.json" assert { type: "json" };

const options = {};

generateVsCodeCustomElementData(manifest, options);

0 comments on commit cb4bc79

Please sign in to comment.