@a-company/paradigm 3.0.1 → 3.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.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25,6 +25,7 @@ import "./chunk-MO4EEYFW.js";
|
|
|
25
25
|
// src/index.ts
|
|
26
26
|
import { Command } from "commander";
|
|
27
27
|
import chalk2 from "chalk";
|
|
28
|
+
import { createRequire } from "module";
|
|
28
29
|
|
|
29
30
|
// src/commands/status.ts
|
|
30
31
|
import * as fs from "fs";
|
|
@@ -97,7 +98,8 @@ async function statusCommand() {
|
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
// src/index.ts
|
|
100
|
-
var
|
|
101
|
+
var require2 = createRequire(import.meta.url);
|
|
102
|
+
var { version: VERSION } = require2("../package.json");
|
|
101
103
|
var program = new Command();
|
|
102
104
|
var banner = `
|
|
103
105
|
${chalk2.magenta("\u2554\u2550\u2557")}${chalk2.cyan("\u250C\u2500\u2510\u252C\u2500\u2510\u250C\u2500\u2510\u250C\u252C\u2510\u252C \u250C\u2500\u2510\u250C\u252C\u2510")}
|