From 395b60cdbec5383731ca94ff6686bd1121203c0a Mon Sep 17 00:00:00 2001 From: hided62 Date: Fri, 31 Jul 2026 18:21:47 +0000 Subject: [PATCH] docs: expose parity spec typecheck --- README.md | 1 + docs/frontend-legacy-parity.md | 1 + docs/testing-policy.md | 1 + package.json | 1 + 4 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 0a470a8..def4c8b 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ ref 명령 계약과 실제 화면은 다음 명령으로 비교합니다. ```sh pnpm check:legacy:general pnpm check:legacy:nation +pnpm typecheck:e2e:frontend-legacy pnpm test:e2e:frontend-legacy pnpm test:e2e:main-front-status-live pnpm test:e2e:main-records-live diff --git a/docs/frontend-legacy-parity.md b/docs/frontend-legacy-parity.md index bc3f9ed..39ec504 100644 --- a/docs/frontend-legacy-parity.md +++ b/docs/frontend-legacy-parity.md @@ -28,6 +28,7 @@ live reference page when its URL, user, and ignored password file are supplied. Run the suite from the core2026 repository root: ```sh +pnpm typecheck:e2e:frontend-legacy pnpm test:e2e:frontend-legacy ``` diff --git a/docs/testing-policy.md b/docs/testing-policy.md index 18eb96f..b04755a 100644 --- a/docs/testing-policy.md +++ b/docs/testing-policy.md @@ -58,6 +58,7 @@ pnpm check:legacy:nation ### Browser ```sh +pnpm typecheck:e2e:frontend-legacy pnpm test:e2e:frontend-legacy pnpm test:e2e:main-front-status-live pnpm test:e2e:main-records-live diff --git a/package.json b/package.json index 828678d..8029425 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "check:legacy:nation": "node tools/compare-command-constraints.mjs --include '^Nation/' --check && node tools/compare-command-logs.mjs --include '^Nation/' --mode action --check", "check:legacy:general": "node tools/compare-command-constraints.mjs --include '^General/' --check && node tools/compare-command-logs.mjs --include '^General/' --mode action --check && node tools/compare-general-turn-contracts.mjs --check", "test:e2e:frontend-legacy": "playwright test --config tools/frontend-legacy-parity/playwright.config.mjs --tsconfig tools/frontend-legacy-parity/tsconfig.json", + "typecheck:e2e:frontend-legacy": "tsc -p tools/frontend-legacy-parity/tsconfig.json --noEmit", "test:e2e:main-front-status-live": "node tools/frontend-legacy-parity/run-main-front-status-live.mjs", "test:e2e:main-records-live": "node tools/frontend-legacy-parity/run-main-records-live.mjs", "migrate:legacy": "pnpm --filter @sammo-ts/legacy-db-migration migrate",