gaia-framework 1.54.2 → 1.54.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/README.md +1 -1
- package/bin/gaia-framework.js +5 -5
- package/gaia-install.sh +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/bin/gaia-framework.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
7
7
|
|
|
8
8
|
const { execSync, execFileSync } = require("child_process");
|
|
9
|
-
const { mkdtempSync, rmSync, existsSync, realpathSync } = require("fs");
|
|
9
|
+
const { mkdtempSync, rmSync, existsSync, readFileSync, realpathSync } = require("fs");
|
|
10
10
|
const { join } = require("path");
|
|
11
11
|
const { tmpdir } = require("os");
|
|
12
12
|
|
|
@@ -83,9 +83,9 @@ function info(message) {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
function cleanup() {
|
|
86
|
-
if (tempDir &&
|
|
86
|
+
if (tempDir && existsSync(tempDir)) {
|
|
87
87
|
try {
|
|
88
|
-
|
|
88
|
+
rmSync(tempDir, { recursive: true, force: true });
|
|
89
89
|
} catch {
|
|
90
90
|
// Best-effort cleanup
|
|
91
91
|
}
|
|
@@ -94,7 +94,7 @@ function cleanup() {
|
|
|
94
94
|
|
|
95
95
|
function ensureGit() {
|
|
96
96
|
try {
|
|
97
|
-
|
|
97
|
+
execSync("git --version", { stdio: "ignore" });
|
|
98
98
|
} catch {
|
|
99
99
|
fail(
|
|
100
100
|
"git is required but was not found.\n" +
|
|
@@ -104,7 +104,7 @@ function ensureGit() {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
function readPackageVersion(pkgPath) {
|
|
107
|
-
const raw =
|
|
107
|
+
const raw = readFileSync(pkgPath, "utf8");
|
|
108
108
|
const pkg = JSON.parse(raw);
|
|
109
109
|
if (!pkg.version) {
|
|
110
110
|
throw new Error(`No version field found in ${pkgPath}`);
|
package/gaia-install.sh
CHANGED
|
@@ -6,7 +6,7 @@ set -euo pipefail
|
|
|
6
6
|
# Installs, updates, validates, and reports on GAIA installations.
|
|
7
7
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
8
8
|
|
|
9
|
-
readonly VERSION="1.54.
|
|
9
|
+
readonly VERSION="1.54.4"
|
|
10
10
|
readonly GITHUB_REPO="https://github.com/jlouage/Gaia-framework.git"
|
|
11
11
|
readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
|
|
12
12
|
|