@jive-ai/cli 0.0.2 → 0.0.3

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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -5
  2. package/package.json +4 -2
package/dist/index.mjs CHANGED
@@ -218,13 +218,13 @@ async function signupCommand() {
218
218
  {
219
219
  type: "password",
220
220
  name: "confirmPassword",
221
- message: "Confirm password:",
222
- validate: (value, prev) => {
223
- if (value !== prev.password) return "Passwords do not match";
224
- return true;
225
- }
221
+ message: "Confirm password:"
226
222
  }
227
223
  ]);
224
+ if (response.password !== response.confirmPassword) {
225
+ console.log(chalk.yellow("\n❌ Passwords do not match"));
226
+ return;
227
+ }
228
228
  if (!response.email || !response.password) {
229
229
  console.log(chalk.yellow("\n❌ Signup cancelled"));
230
230
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@jive-ai/cli",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "main": "index.js",
6
6
  "files": [
7
7
  "dist"
@@ -10,6 +10,7 @@
10
10
  "jive": "dist/index.mjs"
11
11
  },
12
12
  "scripts": {
13
+ "dev": "npm run build; npx jive",
13
14
  "test": "echo \"Error: no test specified\" && exit 1",
14
15
  "typecheck": "tsc --noEmit",
15
16
  "build": "tsdown"
@@ -20,7 +21,8 @@
20
21
  "devDependencies": {
21
22
  "@types/node": "^24.10.1",
22
23
  "@types/prompts": "^2.4.9",
23
- "tsdown": "^0.16.4"
24
+ "tsdown": "^0.16.4",
25
+ "tsx": "^4.20.6"
24
26
  },
25
27
  "dependencies": {
26
28
  "@modelcontextprotocol/sdk": "^1.22.0",