@ghenya/clinn 0.8.3 → 0.8.4
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/Src/index.jsx +1 -1
- package/bin/clinn.js +1 -1
- package/install.cjs +1 -1
- package/package.json +1 -1
package/Src/index.jsx
CHANGED
|
@@ -21,7 +21,7 @@ const CLINN_CONFIG = path.join(CLINN_DIR, "config.json");
|
|
|
21
21
|
const PKG_CONFIG = path.join(__dirname, "..", "config.json");
|
|
22
22
|
const LOGO_PATH = path.join(__dirname, "..", "Logos", "StartLogo.txt");
|
|
23
23
|
|
|
24
|
-
const VER = "0.8.
|
|
24
|
+
const VER = "0.8.4";
|
|
25
25
|
|
|
26
26
|
function ensureDir() { if (!fs.existsSync(CLINN_DIR)) fs.mkdirSync(CLINN_DIR, { recursive: true }); }
|
|
27
27
|
function loadConfig() {
|
package/bin/clinn.js
CHANGED
|
@@ -4,7 +4,7 @@ const path = require("path");
|
|
|
4
4
|
const { pathToFileURL } = require("url");
|
|
5
5
|
|
|
6
6
|
const tsxPath = pathToFileURL(path.join(__dirname, "..", "node_modules", "tsx", "dist", "esm", "index.mjs")).href;
|
|
7
|
-
const srcIndex =
|
|
7
|
+
const srcIndex = path.join(__dirname, "..", "Src", "index.jsx");
|
|
8
8
|
|
|
9
9
|
const result = spawnSync(process.execPath, [
|
|
10
10
|
"--import", tsxPath,
|
package/install.cjs
CHANGED
|
@@ -6,7 +6,7 @@ const fs = require("fs");
|
|
|
6
6
|
const path = require("path");
|
|
7
7
|
const { execSync } = require("child_process");
|
|
8
8
|
|
|
9
|
-
const VER = "0.8.
|
|
9
|
+
const VER = "0.8.4";
|
|
10
10
|
const G = "\x1b[0;32m", C = "\x1b[0;36m", Y = "\x1b[0;33m", R = "\x1b[0;31m", N = "\x1b[0m", D = "\x1b[2m";
|
|
11
11
|
|
|
12
12
|
const IS_WIN = process.platform === "win32";
|