Skip to content

Commit d2c627f

Browse files
authored
ci: convert json-validation to typescript (@fehmer) (monkeytypegame#6899)
- convert json-validation to typescript - integrate tests for assets back into the json-validation script
1 parent a1af28b commit d2c627f

File tree

7 files changed

+357
-283
lines changed

7 files changed

+357
-283
lines changed

frontend/__tests__/constants/fonts.spec.ts

Lines changed: 0 additions & 46 deletions
This file was deleted.

frontend/__tests__/constants/languages.spec.ts

Lines changed: 0 additions & 68 deletions
This file was deleted.

frontend/__tests__/constants/layouts.spec.ts

Lines changed: 0 additions & 40 deletions
This file was deleted.

frontend/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"eslint": "eslint \"./**/*.ts\"",
88
"oxlint": "oxlint .",
99
"lint": "npm run oxlint && npm run eslint",
10-
"validate-json": "node ./scripts/json-validation.cjs",
10+
"validate-json": "tsx ./scripts/json-validation.ts",
1111
"audit": "vite-bundle-visualizer",
1212
"dep-graph": "madge -c -i \"dep-graph.png\" ./src/ts",
1313
"ts-check": "tsc --noEmit",
@@ -63,6 +63,7 @@
6363
"postcss": "8.4.31",
6464
"sass": "1.70.0",
6565
"subset-font": "2.3.0",
66+
"tsx": "4.16.2",
6667
"typescript": "5.5.4",
6768
"unplugin-inject-preload": "3.0.0",
6869
"vite": "6.3.4",

0 commit comments

Comments
 (0)