From dee3b65bab8dc3d9cc4f9c7407e7b0e47113d166 Mon Sep 17 00:00:00 2001 From: gobeumsu Date: Sat, 14 Mar 2026 00:51:20 +0900 Subject: [PATCH] docs: update CLAUDE.md with release workflow and remove stale version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename claude.md → CLAUDE.md (consistent casing) - Remove hardcoded version line (derivable from package.json) - Add release:patch/minor/major scripts to Build & Dev Commands - Add Release section with workflow and denied-commands note - Add boiler.config.mjs description to Tooling section Co-Authored-By: Claude Opus 4.6 --- claude.md => CLAUDE.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) rename claude.md => CLAUDE.md (77%) diff --git a/claude.md b/CLAUDE.md similarity index 77% rename from claude.md rename to CLAUDE.md index 76c0e9f..e2599d8 100644 --- a/claude.md +++ b/CLAUDE.md @@ -6,7 +6,6 @@ Obsidian plugin: AI-powered automatic metadata classification and generation. Automatically classifies and generates note frontmatter via AI providers. -- Version: 1.11.0 - Entry: `src/main.ts` → `AutoClassifierPlugin extends Plugin` - Package manager: **pnpm** (do NOT use npm or yarn) @@ -22,6 +21,9 @@ pnpm run test:coverage # Vitest with coverage report pnpm run lint # ESLint (flat config v9) pnpm run lint:fix # ESLint auto-fix pnpm run ci # build + lint + test +pnpm run release:patch # lint:fix → patch bump → auto-push tag +pnpm run release:minor # lint:fix → minor bump → auto-push tag +pnpm run release:major # lint:fix → major bump → auto-push tag ``` ## Architecture (4-module boundary) @@ -64,3 +66,12 @@ classifier → src/classifier/index - ESLint flat config v9 + `eslint-plugin-boundaries` + `eslint-plugin-sonarjs` - Prettier (2 spaces, semicolons, trailing commas) - Husky pre-commit → lint-staged (changed .ts files only) +- `boiler.config.mjs` — configures dev deploy (copy mode), version staging (`manifest.json`, `versions.json`), and release artifact packaging + +## Release + +1. `pnpm ci` — MUST pass (build + lint + test) +2. `pnpm release:patch|minor|major` — lint:fix → version bump → auto-push tag +3. GitHub Actions handles CI + Release workflows + +**DENIED by settings.json:** `git tag`, `git push --tags`, `gh release` — only `pnpm release:*` is allowed.