Skip to content

Commit b5b4722

Browse files
committed
Refactor package.json scripts: reorder ts:check and prune:dictionary commands
1 parent f023cad commit b5b4722

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/cloudflare/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
},
1515
"private": true,
1616
"scripts": {
17-
"ts:check": "tsc --noEmit",
1817
"build": "lerna run build:alone [email protected]/web --include-dependencies --stream",
1918
"deploy:prd": "npm run generate:config -- production && wrangler pages deploy --branch main",
2019
"deploy:stg": "npm run generate:config -- staging && wrangler pages deploy --branch main",
2120
"dev": "npm run build && wrangler pages dev . --port 8081",
2221
"dev:prepare": "npm run build && cd .. && npm run bundle && npm run pre-deploy",
2322
"generate:config": "npx tsx scripts/generate-config.ts",
2423
"lint:eslint": "eslint --config ../../packages/tooling/eslint.config.mjs",
25-
"lint:prettier": "prettier --config ../../packages/tooling/.prettierrc --ignore-path ../../packages/tooling/.prettierignore --log-level warn"
24+
"lint:prettier": "prettier --config ../../packages/tooling/.prettierrc --ignore-path ../../packages/tooling/.prettierignore --log-level warn",
25+
"ts:check": "tsc --noEmit"
2626
}
2727
}

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
"generate:robots-txt": "npx tsx src/_build/gen-robots-txt.ts",
7777
"generate:sentry-release": "tsx ../packages/tooling/sentry-release.ts web bundle",
7878
"generate:sitemap": "npx tsx src/_build/sitemap.ts",
79-
"prune:dictionary": "npx tsx ../packages/tooling/prune-dictionary.ts",
8079
"lh:collect": "npx --yes @lhci/cli collect",
8180
"lh:upload": "npx --yes @lhci/cli upload",
8281
"lint": "npm run build && npm run lint:alone",
@@ -88,6 +87,7 @@
8887
"lint:ts-prune": "tsx ../packages/tooling/setup-ts-prune.ts && ts-prune --error",
8988
"lint:tsc": "tsc --noEmit",
9089
"pre-deploy": "npm run generate:htmls && npm run generate:robots-txt && npm run generate:sitemap && del ./cloudflare/public && cpy \"./bundle/**/*\" ./cloudflare/public",
90+
"prune:dictionary": "npx tsx ../packages/tooling/prune-dictionary.ts",
9191
"start:dev": "rsbuild dev --open",
9292
"test": "npm run build && npm run test:alone",
9393
"test:alone": "jest --config ../packages/tooling/jest.config.ts --rootDir .",

0 commit comments

Comments
 (0)