Skip to content

Commit a7036ac

Browse files
feat: enable validation via import (#37)
* feat: enable validation functionality via importing * refactor: rename export * build: add static schema build option * refactor: import JSON schemas as objects * chore: remove unused script, and add 0.3.1 changelog * deps: fix security alerts --------- Co-authored-by: Richard Herman <[email protected]> Co-authored-by: Andrew Story <[email protected]>
1 parent 2449ac5 commit a7036ac

14 files changed

+234
-131
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ node_modules/
33

44
# Build and temporary files
55
bin/
6+
dist/
67
/.tmp/
78

89
# CLI

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111

1212
# Change Log
1313

14+
## 0.3.1
15+
16+
### ✨ New
17+
18+
- Enable validation of Stream Deck plugins programmatically.
19+
1420
## 0.3.0
1521

1622
### ✨ New

package-lock.json

+41-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
"streamdeck": "bin/streamdeck.mjs",
77
"sd": "bin/streamdeck.mjs"
88
},
9+
"main": "./dist/index.js",
910
"files": [
10-
"bin/streamdeck.mjs",
11-
"template"
11+
"./bin/streamdeck.mjs",
12+
"./dist/*.js",
13+
"./dist/*.d.ts",
14+
"./template"
1215
],
1316
"type": "module",
1417
"engines": {
@@ -62,7 +65,7 @@
6265
"ajv": "^8.12.0",
6366
"chalk": "^5.3.0",
6467
"commander": "^11.0.0",
65-
"ejs": "^3.1.9",
68+
"ejs": "^3.1.10",
6669
"eslint": "^8.51.0",
6770
"eslint-config-prettier": "^9.0.0",
6871
"eslint-plugin-jsdoc": "^46.8.2",
@@ -75,12 +78,13 @@
7578
"log-symbols": "^5.1.0",
7679
"rage-edit": "^1.2.0",
7780
"rollup": "^4.0.2",
81+
"rollup-plugin-dts": "^6.1.0",
7882
"semver": "^7.6.0",
7983
"tar": "^7.0.1",
8084
"tslib": "^2.6.2",
8185
"typescript": "^5.2.2"
8286
},
8387
"dependencies": {
84-
"@elgato/schemas": "^0.3.0"
88+
"@elgato/schemas": "^0.3.5"
8589
}
8690
}

0 commit comments

Comments
 (0)