pikakit 3.9.120 → 3.9.121
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.
|
@@ -629,11 +629,12 @@ export async function run(spec) {
|
|
|
629
629
|
|
|
630
630
|
try {
|
|
631
631
|
let vsixPath = null;
|
|
632
|
-
|
|
633
|
-
|
|
632
|
+
// Prioritize canonical pikakit.vsix (built by prepack/build:ext)
|
|
633
|
+
// Avoid picking stale versioned files like pikakit-engine-3.9.105.vsix
|
|
634
|
+
const canonicalVsix = path.join(vsixDir, "pikakit.vsix");
|
|
634
635
|
|
|
635
|
-
if (
|
|
636
|
-
vsixPath =
|
|
636
|
+
if (fs.existsSync(canonicalVsix)) {
|
|
637
|
+
vsixPath = canonicalVsix;
|
|
637
638
|
} else {
|
|
638
639
|
await execAsync("npm install", { cwd: vsixDir, timeout: 60000 });
|
|
639
640
|
await execAsync("npm run compile", { cwd: vsixDir, timeout: 30000 });
|
package/package.json
CHANGED
|
Binary file
|