Skip to content

Commit 78e5fdd

Browse files
committed
Replace bun with Node.js (part 1)
- Update package.json scripts to use npm/node instead of bun - Change shebang in src/index.ts from bun to node - Add build script to compile TypeScript to JavaScript - Update action.yml to run compiled .js files instead of .ts - Remove bun.lock and add package-lock.json - Update RELEASE.md documentation to reference npm - Remove bun engine requirement from package.json - Include compiled JavaScript files for GitHub Actions execution Note: Workflow files will be updated in a follow-up commit Addresses AU-14631
1 parent 3fbe40c commit 78e5fdd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1951
-109
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:**

action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,8 @@ runs:
6060
- name: Setup Auggie
6161
run: npm install -g @augmentcode/auggie
6262
shell: bash
63-
- name: Setup Bun
64-
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2
65-
with:
66-
bun-version: latest
6763
- name: Run Augment Agent
68-
run: bun run $GITHUB_ACTION_PATH/src/index.ts
64+
run: node $GITHUB_ACTION_PATH/src/index.js
6965
shell: bash
7066
env:
7167
INPUT_AUGMENT_SESSION_AUTH: ${{ inputs.augment_session_auth }}

bun.lock

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

0 commit comments

Comments
 (0)