|
@@ -41,6 +41,10 @@ lint: lint-go lint-fe ## All linters
|
|
|
typecheck: ## tsc --noEmit
|
|
typecheck: ## tsc --noEmit
|
|
|
cd $(FRONTEND) && npm run typecheck
|
|
cd $(FRONTEND) && npm run typecheck
|
|
|
|
|
|
|
|
|
|
+.PHONY: msw-worker-check
|
|
|
|
|
+msw-worker-check: ## Verify the tracked worker matches the installed MSW runtime
|
|
|
|
|
+ cmp $(FRONTEND)/public/mockServiceWorker.js $(FRONTEND)/node_modules/msw/lib/mockServiceWorker.js
|
|
|
|
|
+
|
|
|
.PHONY: test-go
|
|
.PHONY: test-go
|
|
|
test-go: dist-stub ## Go tests (shuffle, no cache)
|
|
test-go: dist-stub ## Go tests (shuffle, no cache)
|
|
|
go test -shuffle=on -count=1 $(GO_PKGS)
|
|
go test -shuffle=on -count=1 $(GO_PKGS)
|
|
@@ -75,5 +79,5 @@ build-storybook: ## Build the static Storybook (compile-checks all stories)
|
|
|
# The PR gate. Matches ci.yml: codegen freshness, both linters, typecheck,
|
|
# The PR gate. Matches ci.yml: codegen freshness, both linters, typecheck,
|
|
|
# both test suites, a full build, and the Storybook compile-check.
|
|
# both test suites, a full build, and the Storybook compile-check.
|
|
|
.PHONY: verify
|
|
.PHONY: verify
|
|
|
-verify: gen-check lint typecheck test build build-storybook ## Full local gate (mirrors CI)
|
|
|
|
|
|
|
+verify: gen-check lint typecheck msw-worker-check test build build-storybook ## Full local gate (mirrors CI)
|
|
|
@echo "verify: OK"
|
|
@echo "verify: OK"
|