gaia-framework 1.56.1 → 1.56.2
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 +4 -7
- package/gaia-install.sh +1 -1
- package/package.json +10 -5
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, readFileSync
|
|
9
|
+
const { mkdtempSync, rmSync, existsSync, readFileSync } = require("fs");
|
|
10
10
|
const { join } = require("path");
|
|
11
11
|
const { tmpdir } = require("os");
|
|
12
12
|
|
|
@@ -35,9 +35,9 @@ function findBash() {
|
|
|
35
35
|
|
|
36
36
|
// 1. Try Git for Windows FIRST (preferred — simpler path mapping)
|
|
37
37
|
const gitBashPaths = [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
join(process.env.ProgramFiles || "C:\\Program Files", "Git", "bin", "bash.exe"),
|
|
39
|
+
join(process.env["ProgramFiles(x86)"] || "C:\\Program Files (x86)", "Git", "bin", "bash.exe"),
|
|
40
|
+
join(process.env.LOCALAPPDATA || "", "Programs", "Git", "bin", "bash.exe"),
|
|
41
41
|
];
|
|
42
42
|
|
|
43
43
|
for (const p of gitBashPaths) {
|
|
@@ -145,11 +145,8 @@ Examples:
|
|
|
145
145
|
function main(deps) {
|
|
146
146
|
// Dependency injection for testability — defaults to real modules
|
|
147
147
|
const _exec = deps && deps.execSync || execSync;
|
|
148
|
-
const _execFile = deps && deps.execFileSync || execFileSync;
|
|
149
|
-
const _mkdtemp = deps && deps.mkdtempSync || mkdtempSync;
|
|
150
148
|
const _exists = deps && deps.existsSync || existsSync;
|
|
151
149
|
const _join = deps && deps.join || join;
|
|
152
|
-
const _tmpdir = deps && deps.tmpdir || tmpdir;
|
|
153
150
|
|
|
154
151
|
const args = process.argv.slice(2);
|
|
155
152
|
|
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.56.
|
|
9
|
+
readonly VERSION="1.56.2"
|
|
10
10
|
readonly GITHUB_REPO="https://github.com/jlouage/Gaia-framework.git"
|
|
11
11
|
readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gaia-framework",
|
|
3
|
-
"version": "1.56.
|
|
3
|
+
"version": "1.56.2",
|
|
4
4
|
"description": "GAIA — Generative Agile Intelligence Architecture installer",
|
|
5
5
|
"bin": {
|
|
6
6
|
"gaia-framework": "./bin/gaia-framework.js"
|
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
"test:shell": "node -e \"if(process.platform==='win32'){console.log('BATS tests skipped on Windows');process.exit(0)}\" && bats test/shell/",
|
|
16
16
|
"test:all": "vitest run && node -e \"if(process.platform==='win32'){console.log('BATS tests skipped on Windows');process.exit(0)}\" && bats test/shell/",
|
|
17
17
|
"test:tier2": "vitest run --config vitest.config.tier2.js",
|
|
18
|
-
"fixtures:check": "node test/fixtures/sync-check.js"
|
|
18
|
+
"fixtures:check": "node test/fixtures/sync-check.js",
|
|
19
|
+
"lint": "eslint bin/**/*.js test/**/*.js",
|
|
20
|
+
"lint:fix": "eslint --fix bin/**/*.js test/**/*.js"
|
|
19
21
|
},
|
|
20
22
|
"keywords": [
|
|
21
23
|
"gaia",
|
|
@@ -39,10 +41,13 @@
|
|
|
39
41
|
"gaia-install.sh"
|
|
40
42
|
],
|
|
41
43
|
"devDependencies": {
|
|
42
|
-
"
|
|
44
|
+
"@eslint/js": "^9.39.4",
|
|
43
45
|
"@vitest/coverage-v8": "^3.1.0",
|
|
44
|
-
"
|
|
46
|
+
"csv-parse": "^5.6.0",
|
|
47
|
+
"eslint": "^9.39.4",
|
|
45
48
|
"fast-xml-parser": "^5.2.0",
|
|
46
|
-
"
|
|
49
|
+
"globals": "^17.4.0",
|
|
50
|
+
"js-yaml": "^4.1.0",
|
|
51
|
+
"vitest": "^3.1.0"
|
|
47
52
|
}
|
|
48
53
|
}
|