Skip to content

Commit e4d4492

Browse files
authored
infra: extend preflight (#2003)
1 parent 9d904a3 commit e4d4492

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"build:code": "tsx ./scripts/bundle.ts",
5858
"build:types": "tsc --emitDeclarationOnly --outDir dist/types",
5959
"build": "run-s build:clean build:code build:types",
60+
"generate": "run-s generate:locales generate:api-docs",
6061
"generate:api-docs": "tsx ./scripts/apidoc.ts",
6162
"generate:locales": "tsx ./scripts/generateLocales.ts",
6263
"docs:build": "run-s docs:prepare docs:build:run",
@@ -69,6 +70,7 @@
6970
"docs:diff": "tsx ./scripts/diff.ts",
7071
"format": "prettier --cache --write .",
7172
"lint": "eslint --cache --cache-strategy content .",
73+
"ts-check": "run-s ts-check:scripts ts-check:tests",
7274
"ts-check:scripts": "tsc --project tsconfig.check-scripts.json",
7375
"ts-check:tests": "tsc --project tsconfig.check-tests.json",
7476
"test": "vitest",
@@ -80,7 +82,7 @@
8082
"docs:test:e2e:open": "run-p --race docs:serve \"cypress open\"",
8183
"release": "standard-version",
8284
"prepublishOnly": "pnpm run clean && pnpm install && pnpm run build",
83-
"preflight": "pnpm install && run-s generate:* format lint build test:update-snapshots"
85+
"preflight": "pnpm install && run-s generate format lint build test:update-snapshots ts-check"
8486
},
8587
"devDependencies": {
8688
"@actions/github": "~5.1.1",

0 commit comments

Comments
 (0)