File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2323 "scripts" : {
2424 "compile" : " tsc -p tsconfig.json" ,
2525 "api-generate" : " api-extractor run ; ts-node bin/api-postprocess.ts" ,
26- "pretest" : " npm run compile" ,
26+ "pretest" : " npm run compile && npm run api-generate " ,
2727 "eslint" : " eslint" ,
2828 "lint" : " npm run eslint . && npm run prettier -- --check ." ,
2929 "check" : " npm run lint && npm run depcheck" ,
3535 "test-coverage" : " nyc --no-clean --cwd ../.. --reporter=none npm run test" ,
3636 "test-ci-coverage" : " nyc --no-clean --cwd ../.. --reporter=none npm run test-ci" ,
3737 "test-apistrict-ci" : " cross-env MONGOSH_TEST_FORCE_API_STRICT=1 npm run test-ci" ,
38- "prepublish" : " npm run compile" ,
38+ "prepublish" : " npm run compile && npm run api-generate " ,
3939 "prettier" : " prettier" ,
4040 "reformat" : " npm run prettier -- --write . && npm run eslint --fix"
4141 },
You can’t perform that action at this time.
0 commit comments