diff --git a/.changeset/ai-prompts-and-core.md b/.changeset/ai-prompts-and-core.md deleted file mode 100644 index b386553..0000000 --- a/.changeset/ai-prompts-and-core.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"better-commit": major ---- - -**AI, prompts, and core runtime** - -Optional AI message generation (registry, cloud/subprocess/local providers), interactive prompts and form fields, git helpers, validation against resolved rules, diff sanitization, and retry cache. - -_Suggested git pairing: commit ที่แตะ `packages/cli/src/ai/`, `packages/cli/src/prompts/`, `packages/cli/src/core/`, `agents.ts`._ diff --git a/.changeset/build-tsdown-and-breaking.md b/.changeset/build-tsdown-and-breaking.md deleted file mode 100644 index 9e1fb1e..0000000 --- a/.changeset/build-tsdown-and-breaking.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"better-commit": major ---- - -**Build & breaking note** - -ESM output via **tsdown** (`dist/index.mjs`, `dist/public-config.mjs` for **`better-commit/config`**). **Major** release: new public API and config shape; no automated migration from older JSON-based config. - -_Suggested git pairing: commit ที่แตะ `tsdown.config.ts`, `package.json` exports, หรือเรื่อง release/breaking._ diff --git a/.changeset/cli-commands.md b/.changeset/cli-commands.md deleted file mode 100644 index 8c4e16c..0000000 --- a/.changeset/cli-commands.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"better-commit": major ---- - -**CLI commands** - -Commander-based **`bc`** binary: default **`bc commit`** (interactive), **`bc init`**, **`bc doctor`**, **`bc check`**, **`bc fix`**, **`bc retry`**, plus flags such as `--dry-run` and `--no-ai`. - -_Suggested git pairing: commit ที่แตะ `packages/cli/src/index.ts`, `packages/cli/src/commands/`, และพฤติกรรม CLI._ diff --git a/.changeset/commit-config-and-plugins.md b/.changeset/commit-config-and-plugins.md deleted file mode 100644 index e23bfae..0000000 --- a/.changeset/commit-config-and-plugins.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"better-commit": major ---- - -**Commit config & plugins** - -Single **`commit.config.ts`** with **`defineConfig`**, typed plugins (**`conventionalCommits`**, optional **`aiSuggest`**), jiti-based loading, merge/validation via **`mergeUserConfig`**, and the **`better-commit/config`** package export for apps and libraries. - -_Suggested git pairing: commit ที่แตะแค่ `packages/cli/src/config/`, `packages/cli/src/plugins/`, `public-config.ts`, และเอกสาร config._ diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md new file mode 100644 index 0000000..cca7174 --- /dev/null +++ b/packages/cli/CHANGELOG.md @@ -0,0 +1,29 @@ +# better-commit + +## 1.0.0 + +### Major Changes + +- 704fd10: **AI, prompts, and core runtime** + + Optional AI message generation (registry, cloud/subprocess/local providers), interactive prompts and form fields, git helpers, validation against resolved rules, diff sanitization, and retry cache. + + _Suggested git pairing: commit ที่แตะ `packages/cli/src/ai/`, `packages/cli/src/prompts/`, `packages/cli/src/core/`, `agents.ts`._ + +- 704fd10: **Build & breaking note** + + ESM output via **tsdown** (`dist/index.mjs`, `dist/public-config.mjs` for **`better-commit/config`**). **Major** release: new public API and config shape; no automated migration from older JSON-based config. + + _Suggested git pairing: commit ที่แตะ `tsdown.config.ts`, `package.json` exports, หรือเรื่อง release/breaking._ + +- 704fd10: **CLI commands** + + Commander-based **`bc`** binary: default **`bc commit`** (interactive), **`bc init`**, **`bc doctor`**, **`bc check`**, **`bc fix`**, **`bc retry`**, plus flags such as `--dry-run` and `--no-ai`. + + _Suggested git pairing: commit ที่แตะ `packages/cli/src/index.ts`, `packages/cli/src/commands/`, และพฤติกรรม CLI._ + +- 704fd10: **Commit config & plugins** + + Single **`commit.config.ts`** with **`defineConfig`**, typed plugins (**`conventionalCommits`**, optional **`aiSuggest`**), jiti-based loading, merge/validation via **`mergeUserConfig`**, and the **`better-commit/config`** package export for apps and libraries. + + _Suggested git pairing: commit ที่แตะแค่ `packages/cli/src/config/`, `packages/cli/src/plugins/`, `public-config.ts`, และเอกสาร config._ diff --git a/packages/cli/package.json b/packages/cli/package.json index 49c0e13..5210932 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "better-commit", - "version": "0.0.0", + "version": "1.0.0", "description": "TypeScript-first conventional commits: commit.config.ts, plugins, optional AI", "keywords": [ "ai",