Skip to content

Commit 88f34ff

Browse files
committed
chore: remove semantic-release, keep CI-only workflow
Made-with: Cursor
1 parent f9582f3 commit 88f34ff

File tree

8 files changed

+5443
-10833
lines changed

8 files changed

+5443
-10833
lines changed

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 0 additions & 47 deletions
This file was deleted.

β€Ž.releaserc.jsonβ€Ž

Lines changed: 0 additions & 37 deletions
This file was deleted.

β€ŽAGENTS.mdβ€Ž

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This file provides context for AI agents (Cursor, Claude, Copilot, etc.) working
1212
- Testing: Jest + `@testing-library/react-native`
1313
- Language: TypeScript (strict mode, no `any`)
1414
- Linting: ESLint v8 + Prettier
15-
- Release: semantic-release (conventional commits β†’ CHANGELOG + npm publish)
15+
- CI: GitHub Actions (typecheck + lint + test + build)
1616

1717
---
1818

@@ -57,7 +57,6 @@ react-native-typescript-library-starter/
5757
β”œβ”€β”€ babel.config.js # metro-react-native-babel-preset (for Jest)
5858
β”œβ”€β”€ .eslintrc.js
5959
β”œβ”€β”€ .prettierrc
60-
β”œβ”€β”€ .releaserc.json # semantic-release config
6160
└── .commitlintrc.json
6261
```
6362

@@ -67,20 +66,19 @@ react-native-typescript-library-starter/
6766

6867
All commands should be run from the repository root.
6968

70-
| Command | Description |
71-
| -------------------------- | ---------------------------------------------------------- |
72-
| `npm run setup` | Interactive wizard β€” configure name, author, repo URLs |
73-
| `npm install` | Install all dependencies (also runs `husky` via `prepare`) |
74-
| `npm run build` | Build library to `lib/` via bob |
75-
| `npm run typecheck` | Type-check without emitting files |
76-
| `npm run lint` | Run ESLint with colored output |
77-
| `npm run lint:ci` | Run ESLint without spinner (for CI) |
78-
| `npm run prettier` | Format code with colored output |
79-
| `npm run prettier:ci` | Check formatting without spinner (for CI) |
80-
| `npm test` | Run Jest tests |
81-
| `npm run test:watch` | Run Jest in watch mode |
82-
| `npm run test:coverage` | Run Jest with coverage report |
83-
| `npm run semantic-release` | Manually trigger a release (usually done by CI) |
69+
| Command | Description |
70+
| ----------------------- | ---------------------------------------------------------- |
71+
| `npm run setup` | Interactive wizard β€” configure name, author, repo URLs |
72+
| `npm install` | Install all dependencies (also runs `husky` via `prepare`) |
73+
| `npm run build` | Build library to `lib/` via bob |
74+
| `npm run typecheck` | Type-check without emitting files |
75+
| `npm run lint` | Run ESLint with colored output |
76+
| `npm run lint:ci` | Run ESLint without spinner (for CI) |
77+
| `npm run prettier` | Format code with colored output |
78+
| `npm run prettier:ci` | Check formatting without spinner (for CI) |
79+
| `npm test` | Run Jest tests |
80+
| `npm run test:watch` | Run Jest in watch mode |
81+
| `npm run test:coverage` | Run Jest with coverage report |
8482

8583
---
8684

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
Releases are generated automatically by [semantic-release](https://github.com/semantic-release/semantic-release).
9-
108
---
119

1210
## [2.1.0] - 2026-03-30

β€ŽCONTRIBUTING.mdβ€Ž

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -115,18 +115,6 @@ The commit message header is limited to **150 characters**.
115115

116116
---
117117

118-
## Versioning
119-
120-
Versioning is handled automatically by [semantic-release](https://github.com/semantic-release/semantic-release) based on commit messages. You do not need to manually bump versions.
121-
122-
| Commit type | Version bump |
123-
| ------------------------------------ | ------------- |
124-
| `fix` | Patch (0.0.x) |
125-
| `feat` | Minor (0.x.0) |
126-
| `feat` with `BREAKING CHANGE` footer | Major (x.0.0) |
127-
128-
---
129-
130118
## License
131119

132120
By contributing, you agree that your contributions will be licensed under the [MIT License](LICENSE).

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![Platform](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg)](https://reactnative.dev/)
88
[![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/)
99

10-
A modern, production-ready starter for building React Native TypeScript libraries. Ships with dual CJS/ESM output, full test coverage, automated releases, and AI-ready project conventions out of the box.
10+
A modern, production-ready starter for building React Native TypeScript libraries. Ships with dual CJS/ESM output, full test coverage, and AI-ready project conventions out of the box.
1111

1212
---
1313

@@ -27,8 +27,7 @@ See the full [CHANGELOG](CHANGELOG.md) for all changes including the 2.0.0 redes
2727
- **Jest + @testing-library/react-native** β€” full test suite with coverage thresholds
2828
- **ESLint + Prettier** β€” consistent code style, enforced on commit via `lint-staged`
2929
- **Husky v9 + commitlint** β€” conventional commit enforcement, hooks install on `npm install`
30-
- **semantic-release** β€” automated versioning, changelog, and npm publish
31-
- **GitHub Actions** β€” CI pipeline (typecheck + lint + test + build) and release pipeline
30+
- **GitHub Actions** β€” CI pipeline (typecheck + lint + test + build)
3231
- **AI-Ready** β€” `AGENTS.md`, Cursor rules, and full TSDoc on every export
3332
- **Interactive setup wizard** β€” `npm run setup` to configure your library in 60 seconds
3433
- **Example component and hook** β€” reference implementations to clone from
@@ -264,15 +263,9 @@ docs: update README with new props
264263
chore: upgrade dependencies
265264
```
266265

267-
Commits trigger automatic versioning via semantic-release:
268-
269-
- `fix` β†’ patch release
270-
- `feat` β†’ minor release
271-
- `feat` with `BREAKING CHANGE` footer β†’ major release
272-
273266
---
274267

275-
## CI / CD
268+
## CI
276269

277270
### CI Pipeline (`.github/workflows/ci.yml`)
278271

@@ -283,16 +276,6 @@ Runs on every push and pull request to `main`:
283276
3. **Test** β€” Jest with coverage
284277
4. **Build** β€” `bob build` (only runs after all checks pass)
285278

286-
### Release Pipeline (`.github/workflows/release.yml`)
287-
288-
Runs on push to `main` after CI passes:
289-
290-
1. Run full test suite
291-
2. Build library
292-
3. `semantic-release` β†’ bump version, update `CHANGELOG.md`, publish to npm, create GitHub release
293-
294-
**Required secrets:** `NPM_TOKEN` (in your GitHub repo settings).
295-
296279
---
297280

298281
## AI / LLM Usage

0 commit comments

Comments
Β (0)