dodopayments-cli 3.0.2 → 3.1.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/README.md +16 -14
- package/dist/index.js +113 -110
- package/package.json +5 -4
- package/scripts/build.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dodopayments-cli",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Official Dodo Payments CLI — manage payments, customers, products, subscriptions, and webhooks from your terminal. Includes an interactive TUI, an AI assistant powered by MCP, and offline webhook testing.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dodopayments",
|
|
@@ -50,16 +50,17 @@
|
|
|
50
50
|
"@ai-sdk/openai": "^3.0.54",
|
|
51
51
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
52
52
|
"@openrouter/ai-sdk-provider": "^2.8.0",
|
|
53
|
-
"@opentui/core": "
|
|
54
|
-
"@opentui/solid": "
|
|
53
|
+
"@opentui/core": "0.2.3",
|
|
54
|
+
"@opentui/solid": "0.2.3",
|
|
55
55
|
"ai": "^6.0.168",
|
|
56
56
|
"chalk": "^5.6.2",
|
|
57
57
|
"dodopayments": "^2.19.0",
|
|
58
|
-
"
|
|
58
|
+
"node-machine-id": "^1.1.12",
|
|
59
59
|
"open": "^11.0.0",
|
|
60
60
|
"solid-js": "^1.9.12"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
+
"@opentui/core-darwin-arm64": "0.2.3",
|
|
63
64
|
"@opentui/core-darwin-x64": "0.2.3",
|
|
64
65
|
"@opentui/core-linux-arm64": "0.2.3",
|
|
65
66
|
"@opentui/core-linux-x64": "0.2.3",
|
package/scripts/build.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* After bundling, we inject a tiny Node-compatible prelude that re-execs
|
|
11
11
|
* the bundle under Bun if it's launched by Node. This is required because
|
|
12
12
|
* `target: 'bun'` emits Bun-only runtime APIs (e.g. `import.meta.require`)
|
|
13
|
-
* and our native deps (@opentui/core
|
|
13
|
+
* and our native deps (@opentui/core) load through Bun's loader.
|
|
14
14
|
*
|
|
15
15
|
* Without this prelude, `bun install -g dodopayments-cli` works on disk
|
|
16
16
|
* but the symlinked `dodo` binary is invoked via `#!/usr/bin/env node`,
|
|
@@ -28,7 +28,6 @@ const result = await Bun.build({
|
|
|
28
28
|
target: 'bun',
|
|
29
29
|
minify: true,
|
|
30
30
|
plugins: [solidPlugin],
|
|
31
|
-
external: ['keytar'],
|
|
32
31
|
});
|
|
33
32
|
|
|
34
33
|
if (!result.success) {
|