repowise 0.1.17 → 0.1.18
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/bin/repowise.js +8 -4
- package/package.json +1 -1
package/dist/bin/repowise.js
CHANGED
|
@@ -2319,10 +2319,10 @@ var init_config3 = __esm({
|
|
|
2319
2319
|
|
|
2320
2320
|
// bin/repowise.ts
|
|
2321
2321
|
init_env();
|
|
2322
|
-
import { Command } from "commander";
|
|
2323
2322
|
import { readFileSync } from "fs";
|
|
2324
2323
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
2325
2324
|
import { dirname as dirname2, join as join12 } from "path";
|
|
2325
|
+
import { Command } from "commander";
|
|
2326
2326
|
|
|
2327
2327
|
// src/lib/welcome.ts
|
|
2328
2328
|
init_config();
|
|
@@ -2345,7 +2345,9 @@ async function showWelcome(currentVersion) {
|
|
|
2345
2345
|
);
|
|
2346
2346
|
}
|
|
2347
2347
|
console.log(chalk.cyan(" \u2502 \u2502"));
|
|
2348
|
-
console.log(
|
|
2348
|
+
console.log(
|
|
2349
|
+
chalk.cyan(" \u2502 ") + chalk.dim("Get started:") + chalk.cyan(" \u2502")
|
|
2350
|
+
);
|
|
2349
2351
|
console.log(
|
|
2350
2352
|
chalk.cyan(" \u2502 $ ") + chalk.bold("repowise create") + chalk.cyan(" \u2502")
|
|
2351
2353
|
);
|
|
@@ -2353,7 +2355,9 @@ async function showWelcome(currentVersion) {
|
|
|
2353
2355
|
console.log(
|
|
2354
2356
|
chalk.cyan(" \u2502 ") + chalk.dim("Thank you for using RepoWise!") + chalk.cyan(" \u2502")
|
|
2355
2357
|
);
|
|
2356
|
-
console.log(
|
|
2358
|
+
console.log(
|
|
2359
|
+
chalk.cyan(" \u2502 ") + chalk.dim("https://repowise.ai") + chalk.cyan(" \u2502")
|
|
2360
|
+
);
|
|
2357
2361
|
console.log(chalk.cyan(" \u2502 \u2502"));
|
|
2358
2362
|
console.log(chalk.cyan(" \u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256F"));
|
|
2359
2363
|
console.log("");
|
|
@@ -2365,7 +2369,7 @@ async function showWelcome(currentVersion) {
|
|
|
2365
2369
|
// bin/repowise.ts
|
|
2366
2370
|
var __filename = fileURLToPath3(import.meta.url);
|
|
2367
2371
|
var __dirname = dirname2(__filename);
|
|
2368
|
-
var pkg = JSON.parse(readFileSync(join12(__dirname, "..", "package.json"), "utf-8"));
|
|
2372
|
+
var pkg = JSON.parse(readFileSync(join12(__dirname, "..", "..", "package.json"), "utf-8"));
|
|
2369
2373
|
var program = new Command();
|
|
2370
2374
|
program.name("repowise").description("AI-optimized codebase context generator").version(pkg.version).option("--staging", "Use the staging environment").hook("preAction", async () => {
|
|
2371
2375
|
if (program.opts()["staging"]) {
|