From 3576c76bb162eea9f62e73ec73179c97a6ee6581 Mon Sep 17 00:00:00 2001 From: Alexander Belanger Date: Fri, 16 Jan 2026 11:08:36 -0500 Subject: [PATCH] fix: minor quickstart issues --- cmd/hatchet-cli/cli/templates/go/POST_QUICKSTART.md | 4 ++++ cmd/hatchet-cli/cli/templates/python/shared/hatchet.yaml | 4 ++-- cmd/hatchet-cli/cli/templates/typescript/pnpm/package.json | 3 +-- .../cli/templates/typescript/shared/POST_QUICKSTART.md | 4 ++++ 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 cmd/hatchet-cli/cli/templates/go/POST_QUICKSTART.md create mode 100644 cmd/hatchet-cli/cli/templates/typescript/shared/POST_QUICKSTART.md diff --git a/cmd/hatchet-cli/cli/templates/go/POST_QUICKSTART.md b/cmd/hatchet-cli/cli/templates/go/POST_QUICKSTART.md new file mode 100644 index 0000000000..67f6e04072 --- /dev/null +++ b/cmd/hatchet-cli/cli/templates/go/POST_QUICKSTART.md @@ -0,0 +1,4 @@ +Trigger a workflow (in another terminal): +```sh +hatchet trigger simple +``` diff --git a/cmd/hatchet-cli/cli/templates/python/shared/hatchet.yaml b/cmd/hatchet-cli/cli/templates/python/shared/hatchet.yaml index bdebcb4156..a324339984 100644 --- a/cmd/hatchet-cli/cli/templates/python/shared/hatchet.yaml +++ b/cmd/hatchet-cli/cli/templates/python/shared/hatchet.yaml @@ -6,13 +6,13 @@ dev: preCmds: ["uv venv --allow-existing", "uv pip install -e ."] runCmd: "uv run python src/worker.py" {{- else if eq .PackageManager "pip"}} - preCmds: ["python -m venv .venv 2>/dev/null || true", ".venv/bin/pip install -r requirements.txt"] + preCmds: ["python -m venv .venv", ".venv/bin/pip install -r requirements.txt"] runCmd: ".venv/bin/python src/worker.py" {{- end}} files: - "**/*.py" - "!**/__pycache__/**" - - "!**/.venv/**" + - "!.venv/**" reload: true triggers: - name: "simple" diff --git a/cmd/hatchet-cli/cli/templates/typescript/pnpm/package.json b/cmd/hatchet-cli/cli/templates/typescript/pnpm/package.json index c803c47a16..e2e89e3f22 100644 --- a/cmd/hatchet-cli/cli/templates/typescript/pnpm/package.json +++ b/cmd/hatchet-cli/cli/templates/typescript/pnpm/package.json @@ -17,6 +17,5 @@ }, "dependencies": { "@hatchet-dev/typescript-sdk": "^1.10.3" - }, - "packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0" + } } diff --git a/cmd/hatchet-cli/cli/templates/typescript/shared/POST_QUICKSTART.md b/cmd/hatchet-cli/cli/templates/typescript/shared/POST_QUICKSTART.md new file mode 100644 index 0000000000..67f6e04072 --- /dev/null +++ b/cmd/hatchet-cli/cli/templates/typescript/shared/POST_QUICKSTART.md @@ -0,0 +1,4 @@ +Trigger a workflow (in another terminal): +```sh +hatchet trigger simple +```