httpcat-cli 0.0.27-rc.4 → 0.0.27-rc.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -350,7 +350,8 @@ jobs:
350
350
  fi
351
351
 
352
352
  - name: Run tests
353
- run: bun test
353
+ run: bun run test
354
+ # Note: Using Vitest now instead of Jest
354
355
 
355
356
  - name: Build
356
357
  run: bun run build
@@ -453,10 +454,12 @@ jobs:
453
454
  runs-on: ubuntu-latest
454
455
  needs: [prepare, publish-npm]
455
456
  steps:
456
- - name: Checkout code
457
+ - name: Checkout homebrew tap
457
458
  uses: actions/checkout@v6
458
459
  with:
460
+ repository: hathbanger/homebrew-httpcat
459
461
  token: ${{ secrets.GITHUB_TOKEN }}
462
+ path: homebrew-tap
460
463
 
461
464
  - name: Wait for npm CDN propagation
462
465
  run: |
@@ -487,7 +490,7 @@ jobs:
487
490
  run: |
488
491
  VERSION="${{ needs.prepare.outputs.version }}"
489
492
  SHA256="${{ steps.npm-sha.outputs.sha256 }}"
490
- FORMULA_FILE="homebrew-httpcat/Formula/httpcat.rb"
493
+ FORMULA_FILE="homebrew-tap/Formula/httpcat.rb"
491
494
 
492
495
  # Update version
493
496
  sed -i.bak "s|url \".*httpcat-cli-.*\.tgz\"|url \"https://registry.npmjs.org/httpcat-cli/-/httpcat-cli-${VERSION}.tgz\"|" "$FORMULA_FILE"
@@ -505,10 +508,11 @@ jobs:
505
508
 
506
509
  - name: Commit and push Homebrew formula update
507
510
  run: |
511
+ cd homebrew-tap
508
512
  git config user.name "github-actions[bot]"
509
513
  git config user.email "github-actions[bot]@users.noreply.github.com"
510
- git add homebrew-httpcat/Formula/httpcat.rb
511
- git commit -m "chore: update Homebrew formula to v${{ needs.prepare.outputs.version }}" || exit 0
514
+ git add Formula/httpcat.rb
515
+ git commit -m "Update httpcat to ${{ needs.prepare.outputs.version }}" || exit 0
512
516
  git push
513
517
 
514
518
  # Job 5: Create GitHub Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "httpcat-cli",
3
- "version": "0.0.27-rc.4",
3
+ "version": "0.0.27-rc.6",
4
4
  "description": "CLI tool for interacting with httpcat agent - create, buy, and sell tokens with x402 payments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {