@capgo/cli 4.11.1 → 4.11.2
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 +7 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
- package/src/utils.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [4.11.2](https://github.com/Cap-go/CLI/compare/v4.11.1...v4.11.2) (2024-06-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add log for windows ([a871d7f](https://github.com/Cap-go/CLI/commit/a871d7f444796b9e2b53fc4d8ad91ac202c9adae))
|
|
11
|
+
|
|
5
12
|
### [4.11.1](https://github.com/Cap-go/CLI/compare/v4.11.0...v4.11.1) (2024-06-23)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.js
CHANGED
|
@@ -118903,7 +118903,7 @@ var {
|
|
|
118903
118903
|
// package.json
|
|
118904
118904
|
var package_default = {
|
|
118905
118905
|
name: "@capgo/cli",
|
|
118906
|
-
version: "4.11.
|
|
118906
|
+
version: "4.11.2",
|
|
118907
118907
|
description: "A CLI to upload to capgo servers",
|
|
118908
118908
|
author: "github.com/riderx",
|
|
118909
118909
|
license: "Apache 2.0",
|
|
@@ -120453,6 +120453,7 @@ function zipFileUnix(filePath) {
|
|
|
120453
120453
|
return zip.toBuffer();
|
|
120454
120454
|
}
|
|
120455
120455
|
async function zipFileWindows(filePath) {
|
|
120456
|
+
f2.info("Zipping file windows mode");
|
|
120456
120457
|
const zip = new import_jszip.default();
|
|
120457
120458
|
const addToZip = async (folderPath, zipPath) => {
|
|
120458
120459
|
const items = (0, import_node_fs4.readdirSync)(folderPath);
|
package/package.json
CHANGED
package/src/utils.ts
CHANGED
|
@@ -534,6 +534,7 @@ export function zipFileUnix(filePath: string) {
|
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
export async function zipFileWindows(filePath: string): Promise<Buffer> {
|
|
537
|
+
p.log.info('Zipping file windows mode')
|
|
537
538
|
const zip = new JSZip()
|
|
538
539
|
|
|
539
540
|
// Helper function to recursively add files and folders to the ZIP archive
|