Merge pull request #111 from github/thyeggman/json-import-assertions

Add json import assertions
This commit is contained in:
Jacob Wallraff
2023-01-30 11:02:46 -08:00
committed by GitHub
9 changed files with 74 additions and 65 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
"yaml": "^2.0.0-8"
},
"engines": {
"node": ">= 16"
"node": ">= 16.15"
},
"files": [
"dist/**/*"
@@ -1,6 +1,6 @@
import {JSONObjectReader} from "../templates/json-object-reader";
import {TemplateSchema} from "../templates/schema";
import WorkflowSchema from "../workflow-v1.0.json";
import WorkflowSchema from "../workflow-v1.0.json" assert { type: 'json' };
let schema: TemplateSchema;