From 4704c1d041c7154b2841d780a65f87b7799c15f8 Mon Sep 17 00:00:00 2001 From: kenwoodjw Date: Thu, 23 Jul 2026 22:06:48 +0800 Subject: [PATCH 1/2] feat: add make help command Signed-off-by: kenwoodjw --- Makefile | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index d5889efa25..0d379845d8 100644 --- a/Makefile +++ b/Makefile @@ -1,67 +1,75 @@ -.PHONY: prepare build typecheck lint lint-fix lint-pkg sherif test test-watch test-coverage clean changeset version publish release dev vis +.PHONY: prepare build typecheck lint lint-fix lint-pkg sherif test test-watch test-coverage clean changeset version publish release dev vis help ## Setup -prepare: +prepare: ## Install project dependencies pnpm install ## Build -build: +build: ## Build all workspace packages pnpm run build ## Quality -typecheck: +typecheck: ## Type-check all workspace packages pnpm run typecheck -lint: +lint: ## Run lint checks pnpm run lint -lint-fix: +lint-fix: ## Fix lint issues pnpm run lint:fix -sherif: +sherif: ## Check monorepo package configuration pnpm run sherif -lint-pkg: +lint-pkg: ## Lint package metadata pnpm run lint:pkg ## Test -test: +test: ## Run the test suite pnpm run test -test-watch: +test-watch: ## Run tests in watch mode pnpm run test:watch -test-coverage: +test-coverage: ## Run tests with coverage pnpm run test:coverage ## Clean -clean: +clean: ## Remove build artifacts pnpm run clean ## Release -changeset: +changeset: ## Create a changeset pnpm run changeset -version: +version: ## Apply changesets and update versions pnpm run version -publish: +publish: ## Publish packages pnpm run publish -release: version publish +release: version publish ## Version and publish packages ## Development -dev: +dev: ## Start the CLI in development mode pnpm run dev:cli ## vis -vis: +vis: ## Start the session visualization tools pnpm run vis + +## Help + +help: ## Show this help message + @awk 'BEGIN { printf "Usage: make \n" } \ + /^## / { printf "\n%s:\n", substr($$0, 4); next } \ + /^[a-zA-Z0-9_-]+:.*## / { split($$0, parts, ":.*## "); printf " %-16s %s\n", parts[1], parts[2] }' \ + $(firstword $(MAKEFILE_LIST)) From 40da8bc607300aa84afb6dc5eb9858963896f7df Mon Sep 17 00:00:00 2001 From: kenwoodjw Date: Thu, 23 Jul 2026 22:52:29 +0800 Subject: [PATCH 2/2] add changeset Signed-off-by: kenwoodjw --- .changeset/purple-moose-kiss.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/purple-moose-kiss.md diff --git a/.changeset/purple-moose-kiss.md b/.changeset/purple-moose-kiss.md new file mode 100644 index 0000000000..b13fe90bf1 --- /dev/null +++ b/.changeset/purple-moose-kiss.md @@ -0,0 +1,5 @@ +--- +"@moonshot-ai/kimi-code": patch +--- + +feat: add make help command