Skip to content

Commit 84262b2

Browse files
committed
Replace Bun with Node.js
- Replace bun with npm/node in package.json scripts - Update RELEASE.md to reference npm commands throughout - Remove bun.lock and add package-lock.json - Remove bun engine requirement from package.json This change improves compatibility with standard Node.js tooling and aligns with the augment-agent repository changes.
1 parent 866c166 commit 84262b2

File tree

4 files changed

+43
-23
lines changed

4 files changed

+43
-23
lines changed

RELEASE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Use the built-in npm scripts for easy version bumping:
88

99
```bash
1010
# For patch releases (bug fixes): 0.1.0 -> 0.1.1
11-
bun run version:patch
11+
npm run version:patch
1212

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

1616
# For major releases (breaking changes): 0.1.0 -> 1.0.0
17-
bun run version:major
17+
npm run version:major
1818
```
1919

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

3333
```bash
34-
bun version 0.1.1 # or whatever version you want
34+
npm version 0.1.1 # or whatever version you want
3535
```
3636

3737
2. **Type check the project:**
3838

3939
```bash
40-
bun run typecheck
40+
npm run typecheck
4141
```
4242

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

9494
**Type check failures:**
9595

96-
- Run `bun run typecheck` locally to check for TypeScript errors
96+
- Run `npm run typecheck` locally to check for TypeScript errors
9797
- Ensure all dependencies are properly installed
9898

9999
**Release not created:**

bun.lock

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

package-lock.json

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "action.yml",
66
"type": "module",
77
"scripts": {
8-
"test": "bun test",
8+
"test": "node --test",
99
"format": "prettier --write .",
1010
"format:check": "prettier --check .",
1111
"format:staged": "prettier --write --cache --ignore-unknown",
@@ -36,8 +36,7 @@
3636
},
3737
"homepage": "https://github.com/augmentcode/review-pr#readme",
3838
"engines": {
39-
"node": ">=22.0.0",
40-
"bun": ">=1.0.0"
39+
"node": ">=22.0.0"
4140
},
4241
"files": [
4342
"action.yml",

0 commit comments

Comments
 (0)