Skip to content

Commit

Permalink
feat: update higlass.schema.json upon changes on its TS file (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
sehilyi committed Nov 25, 2021
1 parent 66693b9 commit 23b7393
Show file tree
Hide file tree
Showing 4 changed files with 771 additions and 640 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"format": "eslint src/ editor/ --fix && prettier 'editor/**/*.css' --write",
"schema": "ts-json-schema-generator -p src/index.ts -f tsconfig.json -t GoslingSpec --no-type-check --no-ref-encode > schema/gosling.schema.json",
"schema-higlass": "ts-json-schema-generator -p src/index.ts -f tsconfig.json -t HiGlassSpec --no-type-check --no-ref-encode > schema/higlass.schema.json",
"schema-theme": "ts-json-schema-generator -p src/index.ts -f tsconfig.json -t Theme --no-type-check --no-ref-encode > schema/theme.schema.json",
"schema-template": "ts-json-schema-generator -p src/index.ts -f tsconfig.json -t TemplateTrackDef --no-type-check --no-ref-encode > schema/template.schema.json",
"schema-versioning": "mkdir -p schema/history/$npm_package_version && cp schema/gosling.schema.json schema/history/$npm_package_version/gosling$npm_package_version.schema.json && cp src/core/gosling.schema.ts schema/history/$npm_package_version/gosling$npm_package_version.schema.ts",
Expand Down Expand Up @@ -182,7 +183,7 @@
},
"husky": {
"hooks": {
"pre-commit": "yarn changelog && yarn schema && yarn schema-theme && yarn schema-template && yarn format && git add .",
"pre-commit": "yarn changelog && yarn schema && yarn schema-higlass && yarn schema-theme && yarn schema-template && yarn format && git add .",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
Expand Down
Loading

0 comments on commit 23b7393

Please sign in to comment.