Skip to content

Commit a92eee4

Browse files
committed
feat: ship uui with custom-elements file in vscode format
1 parent 2da5742 commit a92eee4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/uui/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"dist",
3434
"lib/**/*.d.ts",
3535
"lib/**/*.js",
36-
"custom-elements.json"
36+
"custom-elements.json",
37+
"vscode-html-custom-data.json"
3738
],
3839
"dependencies": {
3940
"@umbraco-ui/uui-action-bar": "1.2.0-rc.1",
@@ -119,7 +120,7 @@
119120
"scripts": {
120121
"build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
121122
"clean": "tsc --build --clean && rimraf dist lib/*.js lib/**/*.js custom-elements.json",
122-
"analyze": "web-component-analyzer ../**/*.element.ts --outFile custom-elements.json"
123+
"analyze": "wca ../**/*.element.ts --outFile custom-elements.json && wca ../**/*.element.ts --format vscode --outFile vscode-html-custom-data.json"
123124
},
124125
"publishConfig": {
125126
"access": "public"

0 commit comments

Comments
 (0)