refactor: remove unused Virtuoso code (#2224)
This commit is contained in:
@@ -139,6 +139,8 @@ help:
|
||||
@echo " lint-web Run ESLint"
|
||||
@echo " lint-architecture Enforce architecture budgets and compatibility expiry"
|
||||
@echo " lint-format Check formatting with Prettier (web/cli/packages)"
|
||||
@echo " dead-code-workspaces Find unused TypeScript workspace files, exports, and dependencies"
|
||||
@echo " dead-code-go Find unreachable Go functions (host config; verify other targets before deletion)"
|
||||
@echo " fmt Format all code"
|
||||
@echo " fmt-backend Format Go code"
|
||||
@echo " fmt-web Format web/cli/packages with Prettier, then ESLint --fix (web)"
|
||||
@@ -575,6 +577,16 @@ lint-format:
|
||||
@printf "$(CYAN)Checking formatting...$(RESET)\n"
|
||||
@cd $(APPS_DIR) && $(PNPM) run format:check
|
||||
|
||||
.PHONY: dead-code-workspaces
|
||||
dead-code-workspaces:
|
||||
@printf "$(CYAN)Auditing TypeScript workspace dead code...$(RESET)\n"
|
||||
@cd $(APPS_DIR) && $(PNPM) run dead-code
|
||||
|
||||
.PHONY: dead-code-go
|
||||
dead-code-go:
|
||||
@printf "$(CYAN)Auditing Go dead code...$(RESET)\n"
|
||||
@$(MAKE) -C $(BACKEND_DIR) deadcode
|
||||
|
||||
.PHONY: fmt
|
||||
fmt: fmt-backend fmt-web
|
||||
@printf "\n$(GREEN)$(BOLD)✓ Code formatting complete!$(RESET)\n"
|
||||
|
||||
Reference in New Issue
Block a user