@jive-ai/cli 0.0.1 → 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.
- package/dist/index.mjs +5 -5
- package/package.json +5 -3
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.
|
|
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"
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
"@types/node": "^24.10.1",
|
|
22
23
|
"@types/prompts": "^2.4.9",
|
|
23
24
|
"tsdown": "^0.16.4",
|
|
24
|
-
"
|
|
25
|
+
"tsx": "^4.20.6"
|
|
25
26
|
},
|
|
26
27
|
"dependencies": {
|
|
27
28
|
"@modelcontextprotocol/sdk": "^1.22.0",
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
"commander": "^14.0.2",
|
|
31
32
|
"gray-matter": "^4.0.3",
|
|
32
33
|
"ora": "^9.0.0",
|
|
33
|
-
"prompts": "^2.4.2"
|
|
34
|
+
"prompts": "^2.4.2",
|
|
35
|
+
"typescript": "^5.9.3"
|
|
34
36
|
}
|
|
35
37
|
}
|