Skip to content

Commit

Permalink
chore: commit generated types to the repository (#4826)
Browse files Browse the repository at this point in the history
Also check them during `npm run lint` and regenerate during `npm run watch`.
  • Loading branch information
dgozman committed Dec 26, 2020
1 parent 277d255 commit 9dd982c
Show file tree
Hide file tree
Showing 8 changed files with 24,827 additions and 10 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -12,7 +12,6 @@ yarn.lock
/node6
/src/generated/*
lib/
/types/*
jest-report.json
drivers/
/docs/api.json
Expand Down
7 changes: 3 additions & 4 deletions package.json
Expand Up @@ -19,13 +19,12 @@
"tsc-installer": "tsc -p ./src/install/tsconfig.json",
"doc": "node utils/doclint/cli.js",
"test-infra": "folio utils/doclint/check_public_api/test/test.js && folio utils/doclint/preprocessor/test.js",
"lint": "npm run eslint && npm run tsc && npm run doc && npm run check-deps && npm run generate-channels && npm run test-types && npm run test-infra",
"lint": "npm run eslint && npm run tsc && npm run doc && npm run check-deps && npm run generate-channels && node utils/generate_types/ --check-clean && npm run test-types && npm run test-infra",
"clean": "rimraf lib && rimraf types",
"prepare": "node install-from-github.js",
"build": "node utils/runWebpack.js --mode='development' && tsc -p . && npm run generate-types && npm run generate-api-json",
"build": "node utils/runWebpack.js --mode='development' && tsc -p . && npm run generate-api-json",
"watch": "node utils/watch.js",
"test-types": "npm run generate-types && npx -p typescript@3.7.5 tsc -p utils/generate_types/test/tsconfig.json && npm run typecheck-tests",
"generate-types": "node utils/generate_types/",
"test-types": "node utils/generate_types/ && npx -p typescript@3.7.5 tsc -p utils/generate_types/test/tsconfig.json && npm run typecheck-tests",
"generate-channels": "node utils/generate_channels.js",
"generate-api-json": "node utils/doclint/generateApiJson.js > docs/api.json",
"typecheck-tests": "tsc -p ./test/",
Expand Down

0 comments on commit 9dd982c

Please sign in to comment.