Skip to content

Commit 61f2c83

Browse files
committed
Generate Next route types before typecheck
1 parent 552ddae commit 61f2c83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"audit:sbom": "npm sbom --sbom-format cyclonedx > sbom.cdx.json",
2828
"start": "node_modules/node/bin/node node_modules/next/dist/bin/next start",
2929
"lint": "node_modules/node/bin/node node_modules/eslint/bin/eslint.js",
30-
"typecheck": "node_modules/node/bin/node node_modules/typescript/bin/tsc --noEmit",
30+
"typecheck": "node_modules/node/bin/node node_modules/next/dist/bin/next typegen && node_modules/node/bin/node node_modules/typescript/bin/tsc --noEmit",
3131
"test": "npm run test:auth-security && npm run test:feedback && npm run test:api-transit && npm run test:product-offer-pagination && npm run test:catalog && npm run test:api-models && npm run test:official-parser",
3232
"collect:prices": "node scripts/collect-prices.mjs",
3333
"rebalance:source-shards": "node scripts/rebalance-source-shards.mjs",

0 commit comments

Comments
 (0)