@devpad/cli 1.0.1 → 1.7.4
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/dist/index.js +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import { Command } from "commander";
|
|
3
2
|
import { ApiClient, getTool } from "@devpad/api";
|
|
4
3
|
import chalk from "chalk";
|
|
5
|
-
import
|
|
4
|
+
import { Command } from "commander";
|
|
6
5
|
import { Table } from "console-table-printer";
|
|
6
|
+
import ora from "ora";
|
|
7
7
|
// Helper to get API client
|
|
8
8
|
function getApiClient() {
|
|
9
9
|
const apiKey = process.env.DEVPAD_API_KEY || Bun.env.DEVPAD_API_KEY;
|
|
10
|
-
const baseUrl = process.env.DEVPAD_BASE_URL || "https://devpad.tools/api/
|
|
10
|
+
const baseUrl = process.env.DEVPAD_BASE_URL || "https://devpad.tools/api/v1";
|
|
11
11
|
if (!apiKey) {
|
|
12
12
|
console.error(chalk.red("Error: DEVPAD_API_KEY environment variable is required"));
|
|
13
13
|
console.error(chalk.yellow("Get your API key from https://devpad.tools/account"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devpad/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"description": "Command line interface for devpad project management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"registry": "https://registry.npmjs.org/"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@devpad/api": "^1.
|
|
47
|
-
"@devpad/schema": "
|
|
46
|
+
"@devpad/api": "^1.7.4",
|
|
47
|
+
"@devpad/schema": "^1.7.4",
|
|
48
48
|
"commander": "^12.0.0",
|
|
49
49
|
"chalk": "^5.3.0",
|
|
50
50
|
"ora": "^8.0.1",
|