@larkup/marketplace 0.1.15 → 0.1.16
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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/tool-installer.ts +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @larkup/marketplace
|
|
2
2
|
|
|
3
|
+
## 0.1.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5da7a99: Replace deprecated fluent-ffmpeg with direct child_process.spawn calls. Eliminates npm deprecation warnings for fluent-ffmpeg and node-domexception. Increases auto-install timeout to 5min for large dependencies like ffmpeg.
|
|
8
|
+
|
|
3
9
|
## 0.1.15
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
package/src/tool-installer.ts
CHANGED
|
@@ -195,10 +195,13 @@ async function tryAutoInstallDep(
|
|
|
195
195
|
|
|
196
196
|
if (!installCmd) return false;
|
|
197
197
|
|
|
198
|
-
onProgress?.(`Auto-installing ${dep}…`);
|
|
198
|
+
onProgress?.(`Auto-installing ${dep} via "${installCmd}"…`);
|
|
199
199
|
try {
|
|
200
|
-
await execAsync(installCmd, { timeout:
|
|
201
|
-
|
|
200
|
+
await execAsync(installCmd, { timeout: 300_000 });
|
|
201
|
+
onProgress?.(`${dep} installation command finished.`);
|
|
202
|
+
} catch (err: unknown) {
|
|
203
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
204
|
+
onProgress?.(`Auto-install of ${dep} failed: ${message}`);
|
|
202
205
|
return false;
|
|
203
206
|
}
|
|
204
207
|
|