Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Use the built-in npm scripts for easy version bumping:

```bash
# For patch releases (bug fixes): 0.1.0 -> 0.1.1
bun run version:patch
npm run version:patch

# For minor releases (new features): 0.1.0 -> 0.2.0
bun run version:minor
npm run version:minor

# For major releases (breaking changes): 0.1.0 -> 1.0.0
bun run version:major
npm run version:major
```

These scripts will:
Expand All @@ -31,13 +31,13 @@ If you prefer manual control:
1. **Update the version in package.json:**

```bash
bun version 0.1.1 # or whatever version you want
npm version 0.1.1 # or whatever version you want
```

2. **Type check the project:**

```bash
bun run typecheck
npm run typecheck

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This step references npm run typecheck, but package.json does not define a typecheck script, so it will fail. Consider aligning the docs with the available scripts (related note also appears later in this file).

🤖 React with 👍 or 👎 to let us know if the comment was useful.

```

3. **Commit the changes:**
Expand Down Expand Up @@ -93,7 +93,7 @@ This allows users to pin to major versions for automatic updates:

**Type check failures:**

- Run `bun run typecheck` locally to check for TypeScript errors
- Run `npm run typecheck` locally to check for TypeScript errors

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also references npm run typecheck, but there is no typecheck script in package.json (related to the earlier comment in this file). You could update the docs or add the missing script to avoid confusion.

🤖 React with 👍 or 👎 to let us know if the comment was useful.

- Ensure all dependencies are properly installed

**Release not created:**
Expand Down
14 changes: 0 additions & 14 deletions bun.lock

This file was deleted.

35 changes: 35 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "action.yml",
"type": "module",
"scripts": {
"test": "bun test",
"test": "node --test",
"format": "prettier --write .",
"format:check": "prettier --check .",
"format:staged": "prettier --write --cache --ignore-unknown",
Expand Down Expand Up @@ -36,8 +36,7 @@
},
"homepage": "https://github.com/augmentcode/review-pr#readme",
"engines": {
"node": ">=22.0.0",
"bun": ">=1.0.0"
"node": ">=22.0.0"
},
"files": [
"action.yml",
Expand Down