{"id":51196270,"url":"https://github.com/babblebey/semantic-release-react","last_synced_at":"2026-06-27T21:02:14.559Z","repository":{"id":367567190,"uuid":"1280747510","full_name":"babblebey/semantic-release-react","owner":"babblebey","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-26T13:54:19.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"beta","last_synced_at":"2026-06-26T15:17:08.016Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babblebey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-25T22:43:32.000Z","updated_at":"2026-06-26T13:53:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/babblebey/semantic-release-react","commit_stats":null,"previous_names":["babblebey/semantic-release-react"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/babblebey/semantic-release-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babblebey%2Fsemantic-release-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babblebey%2Fsemantic-release-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babblebey%2Fsemantic-release-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babblebey%2Fsemantic-release-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babblebey","download_url":"https://codeload.github.com/babblebey/semantic-release-react/tar.gz/refs/heads/beta","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babblebey%2Fsemantic-release-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34867616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-27T21:02:13.871Z","updated_at":"2026-06-27T21:02:14.554Z","avatar_url":"https://github.com/babblebey.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semantic-release-react\n\nA focused release CLI for React projects built on `@semantic-release/core`.\n\n## What it does\n\n- Runs semantic-release through a custom CLI (`semantic-release-react`)\n- Writes the computed release version to `package.json` in the `prepare` step\n- Ships default plugins for:\n  - `@semantic-release/commit-analyzer`\n  - `@semantic-release/release-notes-generator`\n  - `@semantic-release/git`\n- Supports GitHub or GitLab release plugins only when they are explicitly configured in semantic-release config\n\n## Requirements\n\n- Node.js `^22.14.0 || \u003e=24.10.0`\n\n## Usage\n\nRun directly with `npx` (no local install required):\n\n```bash\nnpx semantic-release-react\n```\n\nDry run:\n\n```bash\nnpx semantic-release-react --dry-run --no-ci\n```\n\nYou can pass semantic-release runtime options through the CLI:\n\n```bash\nnpx semantic-release-react --branches main --tag-format v${version}\n```\n\n## Optional local install\n\nIf you prefer pinning the package in your project:\n\n```bash\npnpm add -D semantic-release-react\n```\n\nThen run:\n\n```bash\npnpm semantic-release-react --dry-run --no-ci\n```\n\n## Provider configuration\n\nThis CLI reads provider plugins from your semantic-release config. It does not auto-detect provider.\n\nIf you set your own `plugins` list in config, semantic-release treats that list as authoritative.\nThis means defaults such as `@semantic-release/release-notes-generator` are overridden unless you include them explicitly.\n\n### GitHub example\n\nCreate `.releaserc.json`:\n\n```json\n{\n  \"branches\": [\"main\"],\n  \"plugins\": [\n    \"@semantic-release/release-notes-generator\",\n    \"@semantic-release/github\"\n  ]\n}\n```\n\n### GitLab example\n\nCreate `.releaserc.json`:\n\n```json\n{\n  \"branches\": [\"main\"],\n  \"plugins\": [\n    \"@semantic-release/release-notes-generator\",\n    \"@semantic-release/gitlab\"\n  ]\n}\n```\n\n## Default plugin behavior\n\n- The CLI seeds semantic-release with `baseConfig.plugins` containing:\n  - `@semantic-release/commit-analyzer`\n  - `@semantic-release/release-notes-generator`\n  - `@semantic-release/git`\n- The `@semantic-release/git` plugin is required and is injected if your configured plugin list does not include it.\n- The internal package version writer plugin is always appended at runtime.\n\n## Exit codes\n\n- `0`: success (release published or no release needed)\n- `1`: unexpected runtime failure\n- `2`: semantic-release validation/config/policy failure\n\n## Verification commands\n\nBase dry run (no provider plugin):\n\n```bash\nrm -f .releaserc.json\nnpx semantic-release-react --dry-run --no-ci\n```\n\nDry run with GitHub plugin configured:\n\n```bash\ncat \u003e .releaserc.json \u003c\u003c'JSON'\n{\n  \"branches\": [\"main\"],\n  \"plugins\": [\n    \"@semantic-release/release-notes-generator\",\n    \"@semantic-release/github\"\n  ]\n}\nJSON\nnpx semantic-release-react --dry-run --no-ci\n```\n\nDry run with GitLab plugin configured:\n\n```bash\ncat \u003e .releaserc.json \u003c\u003c'JSON'\n{\n  \"branches\": [\"main\"],\n  \"plugins\": [\n    \"@semantic-release/release-notes-generator\",\n    \"@semantic-release/gitlab\"\n  ]\n}\nJSON\nnpx semantic-release-react --dry-run --no-ci\n```\n\nDry run with default plugin override:\n\n```bash\ncat \u003e .releaserc.json \u003c\u003c'JSON'\n{\n  \"branches\": [\"main\"],\n  \"plugins\": [[\"@semantic-release/commit-analyzer\", { \"preset\": \"angular\" }]]\n}\nJSON\nnpx semantic-release-react --dry-run --no-ci\nrm -f .releaserc.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabblebey%2Fsemantic-release-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabblebey%2Fsemantic-release-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabblebey%2Fsemantic-release-react/lists"}