dodopayments-cli 3.5.0 → 3.6.0
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.
- package/.github/workflows/pr.yml +33 -0
- package/.github/workflows/publish.yml +3 -0
- package/README.md +3 -1
- package/dist/index.js +725 -594
- package/package.json +4 -2
- package/scripts/build.ts +0 -136
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: PR Check
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "main" ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ "main" ]
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
name: Build & Test
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
steps:
|
|
18
|
+
- name: Checkout code
|
|
19
|
+
uses: actions/checkout@v4
|
|
20
|
+
|
|
21
|
+
- name: Setup Bun
|
|
22
|
+
uses: oven-sh/setup-bun@v2
|
|
23
|
+
with:
|
|
24
|
+
bun-version: 'latest'
|
|
25
|
+
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: bun install --frozen-lockfile
|
|
28
|
+
|
|
29
|
+
- name: Build
|
|
30
|
+
run: bun run build
|
|
31
|
+
|
|
32
|
+
- name: Test
|
|
33
|
+
run: bun test
|
package/README.md
CHANGED
|
@@ -46,7 +46,9 @@ Manage your [Dodo Payments](https://dodopayments.com/) resources, test webhooks,
|
|
|
46
46
|
|
|
47
47
|
We provide multiple ways to install the CLI.
|
|
48
48
|
|
|
49
|
-
> **Note:**
|
|
49
|
+
> **Note:** Node.js 18+ is enough for CLI subcommands such as `dodo login`.
|
|
50
|
+
> The interactive TUI (`dodo` with no arguments) requires Bun when installed
|
|
51
|
+
> through a package manager. Standalone release binaries require neither runtime.
|
|
50
52
|
|
|
51
53
|
### Using npm
|
|
52
54
|
|