File tree Expand file tree Collapse file tree 3 files changed +292
-2
lines changed Expand file tree Collapse file tree 3 files changed +292
-2
lines changed Original file line number Diff line number Diff line change 2323 git config --global user.email "$GIT_AUTHOR_EMAIL"
2424 curl https://api.heroku.com/schema -H "Accept: application/vnd.heroku+json; version=3" > schema.json
2525 cat schema.json | ./node_modules/.bin/json2ts --no-style.semi --style.singleQuote > lib/index.d.ts
26+ ./node_modules/.bin/tslint --fix lib/index.d.ts
2627 sed -i -r "s/Heroku(Platform|Build|Setup|Vault)Api([^ ])/\2/" lib/index.d.ts
2728 git add schema.json lib/index.d.ts
2829 git commit -m "fix: updated schema" || exit 0
Original file line number Diff line number Diff line change 44 "author" : " Jeff Dickey @jdxcode" ,
55 "bugs" : " https://github.com/heroku/typescript-api-schema/issues" ,
66 "devDependencies" : {
7+ "@oclif/tslint" : " ^1.1.2" ,
78 "json-schema-to-typescript" : " ^5.5.0" ,
9+ "tslint" : " ^5.10.0" ,
810 "typescript" : " ^2.8"
911 },
1012 "engines" : {
You can’t perform that action at this time.
0 commit comments