@ngocsangairvds/vsaf 4.1.21 → 4.1.22

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngocsangairvds/vsaf",
3
- "version": "4.1.21",
3
+ "version": "4.1.22",
4
4
  "description": "logging step",
5
5
  "main": "packages/core/dist/index.js",
6
6
  "types": "packages/core/dist/index.d.ts",
@@ -89,8 +89,9 @@ if (missing.length > 0) {
89
89
  console.log('');
90
90
  log('📦', `Installing ${missing.length} package(s)...`);
91
91
  try {
92
- // --ignore-scripts avoids rebuilding unrelated project deps (e.g. onnxruntime-node)
93
- // Then rebuild only our deps to run their postinstall scripts
92
+ // Install with --ignore-scripts to avoid rebuilding unrelated project deps,
93
+ // then rebuild gitnexus AND its native transitive dep @ladybugdb/core.
94
+ // @ladybugdb/core needs its install script to copy platform-specific lbugjs.node binary.
94
95
  const installNames = missing.map(pkg => {
95
96
  const dep = NPM_DEPS.find(d => d.pkg === pkg);
96
97
  return dep?.installAs || pkg;
@@ -99,7 +100,7 @@ if (missing.length > 0) {
99
100
  cwd: projectPath,
100
101
  stdio: 'inherit',
101
102
  });
102
- execSync(`npm rebuild ${missing.join(' ')}`, {
103
+ execSync(`npm rebuild ${missing.join(' ')} @ladybugdb/core`, {
103
104
  cwd: projectPath,
104
105
  stdio: 'inherit',
105
106
  });