Skip to content

Commit

Permalink
Merge pull request #754 from finos/745-generate-types-for-2.0
Browse files Browse the repository at this point in the history
745 generate context typescript files for 2.0 (and apply prettier)
  • Loading branch information
kriswest authored Jun 28, 2022
2 parents b11cbff + adafa20 commit 507b457
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 67 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"test": "tsdx test --verbose",
"lint": "tsdx lint src/api test",
"prepare": "tsdx build",
"typegen": "cd src/context && quicktype -s schema --src-urls schemas.json -o ContextTypes.ts"
"typegen": "cd src/context && quicktype -s schema --src-urls schemas.json -o ContextTypes.ts && cd ../.. && tsdx lint src/context --fix"
},
"peerDependencies": {},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
"pre-commit": "tsdx lint src test"
}
},
"prettier": {
Expand Down
Loading

0 comments on commit 507b457

Please sign in to comment.