zerozeeker 2.2.8 → 2.2.10
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 +14 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16,13 +16,13 @@ var COMPONENTS = [
|
|
|
16
16
|
"index"
|
|
17
17
|
];
|
|
18
18
|
var program = new Command();
|
|
19
|
-
program.name("zerozeeker").description("CLI for installing ZeroZeeker UI components
|
|
19
|
+
program.name("zerozeeker").description("CLI for installing ZeroZeeker UI components >>> because life is too short for boring interfaces").version("2.2.10");
|
|
20
20
|
program.command("add <component>").description("Add a component from ZeroZeeker registry").action((component) => {
|
|
21
21
|
if (!COMPONENTS.includes(component)) {
|
|
22
|
-
console.error(chalk.red(`[
|
|
22
|
+
console.error(chalk.red(`[X] Component "${component}" does not exist in this dimension.`));
|
|
23
23
|
console.log(chalk.dim("\n>>> Here are the components that actually exist:"));
|
|
24
24
|
COMPONENTS.filter((c) => c !== "index").forEach((c) => {
|
|
25
|
-
console.log(chalk.cyan(`
|
|
25
|
+
console.log(chalk.cyan(` -> ${c}`));
|
|
26
26
|
});
|
|
27
27
|
console.log(chalk.dim("\n[*] Pro tip: Copy-paste is your friend."));
|
|
28
28
|
process.exit(1);
|
|
@@ -36,30 +36,30 @@ program.command("add <component>").description("Add a component from ZeroZeeker
|
|
|
36
36
|
});
|
|
37
37
|
spinner.stop();
|
|
38
38
|
console.log(chalk.green(`[+] Successfully installed ${component}. Now go make something beautiful.`));
|
|
39
|
-
} catch
|
|
39
|
+
} catch {
|
|
40
40
|
spinner.stop();
|
|
41
41
|
console.error(chalk.red(`[!] Failed to install ${component}. The internet might be having a bad day.`));
|
|
42
|
-
console.log(chalk.dim("[
|
|
42
|
+
console.log(chalk.dim("[*] Try again, or check your network connection."));
|
|
43
43
|
process.exit(1);
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
program.command("list").description("List all available components").action(() => {
|
|
47
47
|
console.log(chalk.bold("\n<<< ZeroZeeker UI Components >>>\n"));
|
|
48
|
-
console.log(chalk.dim("
|
|
48
|
+
console.log(chalk.dim(">>> Modern, polished components that make users actually want to interact.\n"));
|
|
49
49
|
const descriptions = {
|
|
50
|
-
"rainbow-button": "Animated rainbow gradient border
|
|
51
|
-
"shimmer-button": "Moving border glow effect
|
|
52
|
-
"magnetic-button": "Cursor-following magnetic effect
|
|
53
|
-
"expand-button": "Expanding pill animation
|
|
54
|
-
"flip-button": "3D flip card effect
|
|
55
|
-
"circle-reveal-button": "Icon to pill expansion
|
|
50
|
+
"rainbow-button": "~~~ Animated rainbow gradient border -> for when one color just will not cut it",
|
|
51
|
+
"shimmer-button": "*** Moving border glow effect -> subtle flex, maximum impact",
|
|
52
|
+
"magnetic-button": "@@@ Cursor-following magnetic effect -> it literally chases your mouse",
|
|
53
|
+
"expand-button": "+++ Expanding pill animation -> small to big, just like your startup",
|
|
54
|
+
"flip-button": "### 3D flip card effect -> because flat is boring",
|
|
55
|
+
"circle-reveal-button": ">>> Icon to pill expansion -> the element of surprise"
|
|
56
56
|
};
|
|
57
57
|
COMPONENTS.filter((c) => c !== "index").forEach((component) => {
|
|
58
58
|
console.log(chalk.cyan(` [>] ${component}`));
|
|
59
|
-
console.log(chalk.dim(`
|
|
59
|
+
console.log(chalk.dim(` ${descriptions[component]}
|
|
60
60
|
`));
|
|
61
61
|
});
|
|
62
62
|
console.log(chalk.dim(">>> Install any component with: ") + chalk.white("npx zerozeeker add <component>"));
|
|
63
|
-
console.log(chalk.dim("
|
|
63
|
+
console.log(chalk.dim(">>> More components coming soon. Ship fast. Look good doing it.\n"));
|
|
64
64
|
});
|
|
65
65
|
program.parse();
|