Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
fix: attempt to expose a bin cli to run using bunx
Browse files Browse the repository at this point in the history
  • Loading branch information
El-Fitz committed Aug 23, 2024
1 parent 03eb4ae commit 695e713
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
run: bun install
- name: "Run script with Bun"
shell: bash
run: bunx @csbnlu/jawks-private-keys-provisioner@0.0.9
run: bunx @csbnlu/jawks-private-keys-provisioner
env:
ACCESS_TOKEN_SECRET_ARN: ${{ inputs.accessTokenSecretARN }}
REFRESH_TOKEN_SECRET_ARN: ${{ inputs.refreshTokenSecretARN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@csbnlu/jawks-private-keys-provisioner",
"version": "0.0.9",
"version": "0.0.10",
"devDependencies": {
"@types/aws-lambda": "^8.10.143",
"@types/node": "^22.5.0",
Expand Down
2 changes: 2 additions & 0 deletions src/bin/provision-private-keys.mts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bun

import { Bindings } from "../private-keys-provisioner/index.js";
import { z } from "zod";

Expand Down
4 changes: 1 addition & 3 deletions tsconfig.bin.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
"strict": true,
"declarationMap": true
},
"files": [
"src/bin/provision-private-keys.mts"
]
"files": ["src/bin/provision-private-keys.mts"]
}
4 changes: 1 addition & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@
"strict": true,
"declarationMap": true
},
"files": [
"src/index.ts"
]
"files": ["src/index.ts"]
}

0 comments on commit 695e713

Please sign in to comment.