Skip to content

Commit

Permalink
Merge pull request #1662 from concord-consortium/188614511-updated-v2…
Browse files Browse the repository at this point in the history
…-types

Update the types to match some docs in cfm-shared
  • Loading branch information
scytacki authored Dec 10, 2024
2 parents 66c1a41 + b3fc392 commit 8846066
Show file tree
Hide file tree
Showing 20 changed files with 3,956 additions and 145 deletions.
825 changes: 825 additions & 0 deletions v3/scripts/v2-support/package-lock.json

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions v3/scripts/v2-support/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "v2-support",
"description": "scripts for analyzing v2 files",
"scripts": {
"generate:schema": "ts-json-schema-generator --unstable --additional-properties --path '../../src/**/*.ts' --type 'ICodapV2DocumentJson' --no-type-check -o v2-schema.json",
"test": "echo \"Error: no test specified\" && exit 1",
"validate": "ajv validate --verbose --errors=js --inline-refs=false --allow-union-types -s v2-schema.json -d",
"generate-and-validate": "npm-run-all generate:schema \"validate -- {1}\" --"
},
"dependencies": {
"ajv-cli": "^5.0.0",
"jsonschema": "^1.4.1",
"ts-json-schema-generator": "^2.3.0"
}
}
Loading

0 comments on commit 8846066

Please sign in to comment.