diff --git a/packages/dts-plugin/src/core/lib/DTSManager.ts b/packages/dts-plugin/src/core/lib/DTSManager.ts index 8017a164c2..148213275f 100644 --- a/packages/dts-plugin/src/core/lib/DTSManager.ts +++ b/packages/dts-plugin/src/core/lib/DTSManager.ts @@ -263,6 +263,7 @@ class DTSManager { const filePath = path.join(destinationPath, REMOTE_API_TYPES_FILE_NAME); fs.writeFileSync(filePath, apiTypeFile); this.loadedRemoteAPIAlias.add(remoteInfo.alias); + fileLog(`success`, 'downloadAPITypes', 'info'); } catch (err) { fileLog( `Unable to download "${remoteInfo.name}" api types, ${err}`, diff --git a/packages/dts-plugin/src/core/lib/archiveHandler.ts b/packages/dts-plugin/src/core/lib/archiveHandler.ts index f479072798..66cf717cbc 100644 --- a/packages/dts-plugin/src/core/lib/archiveHandler.ts +++ b/packages/dts-plugin/src/core/lib/archiveHandler.ts @@ -89,6 +89,11 @@ export const downloadTypesArchive = (hostOptions: Required) => { const zip = new AdmZip(Buffer.from(response.data)); zip.extractAllTo(destinationPath, true); + fileLog( + `zip.extractAllTo success destinationPath: ${destinationPath}; url: ${url}`, + 'downloadTypesArchive', + 'info', + ); return [destinationFolder, destinationPath]; } catch (error: any) { fileLog(