@nikkory/vibe-cli 2.0.0 → 2.2.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/dist/index.js +32 -3
- package/package.json +3 -3
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -4106
package/dist/index.js
CHANGED
|
@@ -25,6 +25,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
|
|
26
26
|
// src/index.ts
|
|
27
27
|
var import_commander4 = require("commander");
|
|
28
|
+
var import_chalk3 = __toESM(require("chalk"));
|
|
28
29
|
|
|
29
30
|
// src/commands/init.ts
|
|
30
31
|
var fs = __toESM(require("fs/promises"));
|
|
@@ -999,8 +1000,8 @@ var ComponentGenerator = class {
|
|
|
999
1000
|
};
|
|
1000
1001
|
|
|
1001
1002
|
// src/commands/matrix-generate.ts
|
|
1002
|
-
var matrixGenerateCommand = new import_commander3.Command("
|
|
1003
|
-
"-
|
|
1003
|
+
var matrixGenerateCommand = new import_commander3.Command("add").alias("gen").alias("generate").description("Add/Generate UI component using Matrix system (24 factors, 12 design systems, 3 tiers)").argument("<component>", "Component ID (e.g., button, input, card)").option(
|
|
1004
|
+
"-s, --design-system <system>",
|
|
1004
1005
|
"Design system (material-design, ios-hig, glassmorphism, neumorphism, brutalism, minimalism, fluent, carbon, ant-design, chakra, atlassian, blueprint)",
|
|
1005
1006
|
"material-design"
|
|
1006
1007
|
).option(
|
|
@@ -1060,9 +1061,37 @@ var matrixGenerateCommand = new import_commander3.Command("matrix-generate").des
|
|
|
1060
1061
|
});
|
|
1061
1062
|
|
|
1062
1063
|
// src/index.ts
|
|
1064
|
+
var componentCount = 169;
|
|
1065
|
+
var designSystemCount = 12;
|
|
1066
|
+
var tierCount = 3;
|
|
1067
|
+
var y = import_chalk3.default.hex("#fcb800");
|
|
1068
|
+
var banner = `
|
|
1069
|
+
${y.bold("\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557")}
|
|
1070
|
+
${y.bold("\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u2588\u2588\u2554\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D")}
|
|
1071
|
+
${y.bold("\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u255A\u2588\u2588\u2588\u2588\u2554\u255D ")}
|
|
1072
|
+
${y.bold("\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557 \u255A\u2588\u2588\u2554\u255D ")}
|
|
1073
|
+
${y.bold("\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2557\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 ")}
|
|
1074
|
+
${y.bold("\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D ")}
|
|
1075
|
+
|
|
1076
|
+
${y.bold(" \u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ")}
|
|
1077
|
+
${y.bold(" \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D ")}
|
|
1078
|
+
${y.bold(" \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2588\u2588\u2588\u2557 ")}
|
|
1079
|
+
${y.bold(" \u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u255D ")}
|
|
1080
|
+
${y.bold(" \u255A\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 ")}
|
|
1081
|
+
${y.bold(" \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D ")}
|
|
1082
|
+
|
|
1083
|
+
${y(" happy together")} ${import_chalk3.default.white("\u2022 v2.2.0")}
|
|
1084
|
+
|
|
1085
|
+
${import_chalk3.default.gray(" Production-ready code in seconds")}
|
|
1086
|
+
|
|
1087
|
+
${y(` ${componentCount} Components`)} ${import_chalk3.default.gray("\xD7")} ${y(`${designSystemCount} Design Systems`)} ${import_chalk3.default.gray("\xD7")} ${y(`${tierCount} Tiers`)} ${import_chalk3.default.gray("=")} ${import_chalk3.default.white.bold(`${componentCount * designSystemCount * tierCount}+ variations`)}
|
|
1088
|
+
`;
|
|
1063
1089
|
var program = new import_commander4.Command();
|
|
1064
|
-
program.name("nikkory-vibe").description("Nikkory Vibe - Production-ready code in seconds").version("2.
|
|
1090
|
+
program.name("nikkory-vibe").description("Nikkory Vibe - Production-ready code in seconds").version("2.2.0").addHelpText("before", banner);
|
|
1065
1091
|
program.addCommand(matrixGenerateCommand);
|
|
1066
1092
|
program.addCommand(listCommand);
|
|
1067
1093
|
program.addCommand(initCommand);
|
|
1068
1094
|
program.parse(process.argv);
|
|
1095
|
+
if (!process.argv.slice(2).length) {
|
|
1096
|
+
program.outputHelp();
|
|
1097
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nikkory/vibe-cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "CLI tool for Nikkory Vibe - Generate production-ready code in seconds",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"bin": {
|
|
8
|
-
"nikkory-vibe": "./dist/
|
|
9
|
-
"vibe": "./dist/
|
|
8
|
+
"nikkory-vibe": "./dist/index.js",
|
|
9
|
+
"vibe": "./dist/index.js"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "tsup",
|
package/dist/cli.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|