@coderabbitai/carrot-ui 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -71,6 +71,16 @@ function App() {
71
71
  }
72
72
  ```
73
73
 
74
+ ## Documentation
75
+
76
+ Run `pnpm dev` and visit `/reference` for the full component playground. Foundations:
77
+
78
+ - **Colors** (`/reference/foundations/colors`) — OKLCH scales and semantic tokens
79
+ - **Spacing** (`/reference/foundations/spacing`) — spacing scale
80
+ - **Principles** (`/reference/foundations/principles`) — the cross-cutting design and API conventions every component follows. Source: [`principles.mdx`](./src/reference/pages/foundations/principles.mdx) — readable directly on GitHub.
81
+
82
+ If you're authoring a new component, start with **Principles** — it's the source of truth for the visual and API conventions.
83
+
74
84
  ## Development
75
85
 
76
86
  ```bash
@@ -83,4 +93,14 @@ pnpm lint # linting
83
93
 
84
94
  ## Publishing
85
95
 
86
- Publishing runs when a `v*` tag is pushed. The workflow publishes to GitHub Packages and the public npm registry, then creates a GitHub release with the packed tarball.
96
+ Release Please opens release PRs from changes on `main`. Use conventional commit prefixes such as `fix:` and `feat:` so Release Please can choose the next version. Merge the Release Please PR to bump `package.json`, update `CHANGELOG.md`, create the `v*` tag, and publish the package.
97
+
98
+ The publish workflow checks that the `v*` tag matches `package.json`, publishes to GitHub Packages and the public npm registry, then uploads the packed tarball to the GitHub release. Manual `v*` tags still work, but the tag version must match `package.json`.
99
+
100
+ Required GitHub Actions secrets:
101
+
102
+ - `CODERABBIT_NPM_TOKEN`: npm publish token for the public npm registry.
103
+ - `GITHUB_TOKEN`: built-in GitHub Actions token used for GitHub Packages, release PRs, tags, and release assets.
104
+ - `RELEASE_PLEASE_TOKEN`: optional GitHub token for Release Please. Use this if Release Please PRs need normal CI checks to run.
105
+
106
+ Configure repository secrets in GitHub under Settings → Secrets and variables → Actions.