gitnexus 1.6.5-rc.23 → 1.6.5-rc.24
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/package.json +1 -1
- package/scripts/build.js +6 -2
package/package.json
CHANGED
package/scripts/build.js
CHANGED
|
@@ -21,11 +21,15 @@ const SHARED_DEST = path.join(DIST, '_shared');
|
|
|
21
21
|
|
|
22
22
|
// ── 1. Build gitnexus-shared ───────────────────────────────────────
|
|
23
23
|
console.log('[build] compiling gitnexus-shared…');
|
|
24
|
-
|
|
24
|
+
const tscCmd =
|
|
25
|
+
process.platform === 'win32'
|
|
26
|
+
? path.join('node_modules', '.bin', 'tsc.cmd')
|
|
27
|
+
: path.join('node_modules', '.bin', 'tsc');
|
|
28
|
+
execSync(tscCmd, { cwd: SHARED_ROOT, stdio: 'inherit', timeout: 120_000 });
|
|
25
29
|
|
|
26
30
|
// ── 2. Build gitnexus ──────────────────────────────────────────────
|
|
27
31
|
console.log('[build] compiling gitnexus…');
|
|
28
|
-
execSync(
|
|
32
|
+
execSync(tscCmd, { cwd: ROOT, stdio: 'inherit', timeout: 120_000 });
|
|
29
33
|
|
|
30
34
|
// ── 3. Copy shared dist ────────────────────────────────────────────
|
|
31
35
|
console.log('[build] copying shared module into dist/_shared…');
|