chore: update dependencies and release configuration#34
Conversation
- Added `@semantic-release/git` as a dev dependency in `package.json` and `bun.lock`. - Updated `release.config.js` to include `@semantic-release/git` for asset management. - Removed outdated notes from `README.md` regarding React Native version requirements. - Added a build step in the GitHub Actions workflow for the release process.
WalkthroughThis update introduces a build step to the release workflow, adds the Changes
Sequence Diagram(s)sequenceDiagram
participant GitHub Actions
participant Bun
participant Semantic Release
participant Git
GitHub Actions->>Bun: bun install
GitHub Actions->>Bun: bun run build
GitHub Actions->>Semantic Release: Run release process
Semantic Release->>Git: Commit package.json, CHANGELOG.md (via @semantic-release/git)
Semantic Release->>GitHub Actions: Complete release
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure ✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/release.yml (1)
50-50: Remove trailing whitespace.Line 50 contains trailing spaces which triggered the YAMLlint warning.
- +🧰 Tools
🪛 YAMLlint (1.37.1)
[error] 50-50: trailing spaces
(trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting
⛔ Files ignored due to path filters (1)
bun.lockis excluded by!**/*.lock
📒 Files selected for processing (4)
.github/workflows/release.yml(1 hunks)README.md(0 hunks)package.json(1 hunks)release.config.js(1 hunks)
💤 Files with no reviewable changes (1)
- README.md
🧰 Additional context used
🪛 YAMLlint (1.37.1)
.github/workflows/release.yml
[error] 50-50: trailing spaces
(trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: Build Android Example App (new architecture)
- GitHub Check: Build Android Example App (old architecture)
- GitHub Check: Build iOS Example App (new architecture)
- GitHub Check: Build iOS Example App (old architecture)
🔇 Additional comments (3)
package.json (1)
55-55: Good addition of the@semantic-release/gitdependency.The addition of this dependency aligns perfectly with the changes in the release configuration to automate committing package.json and CHANGELOG.md during releases.
.github/workflows/release.yml (1)
48-50: Good addition of the build step before release.Adding the build step ensures that the library is properly compiled before releasing, which is essential for a complete and reliable release process.
🧰 Tools
🪛 YAMLlint (1.37.1)
[error] 50-50: trailing spaces
(trailing-spaces)
release.config.js (1)
50-50: Good configuration of the semantic-release Git plugin.The configuration correctly specifies package.json and CHANGELOG.md as assets to be committed automatically during the release process. This simplifies release management and ensures consistent versioning.
|
🎉 This PR is included in version 0.4.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@semantic-release/gitas a dev dependency inpackage.jsonandbun.lock.release.config.jsto include@semantic-release/gitfor asset management.README.mdregarding React Native version requirements.Summary by CodeRabbit