@tmlmobilidade/env-sync 20260607.1410.59 → 20260608.1237.46
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ZipArchive } from 'archiver';
|
|
2
2
|
import { createWriteStream, existsSync, readdirSync, rmSync, statSync, writeFileSync } from 'fs';
|
|
3
3
|
import os from 'os';
|
|
4
4
|
import path from 'path';
|
|
@@ -62,7 +62,7 @@ async function createZipArchive(sourceDir, outputPath) {
|
|
|
62
62
|
logger.info(`Creating zip archive: ${outputPath}`);
|
|
63
63
|
return new Promise((resolve, reject) => {
|
|
64
64
|
const output = createWriteStream(outputPath);
|
|
65
|
-
const archive =
|
|
65
|
+
const archive = new ZipArchive({
|
|
66
66
|
zlib: { level: 9 }, // Maximum compression
|
|
67
67
|
});
|
|
68
68
|
// Listen for all archive data to be written
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmlmobilidade/env-sync",
|
|
3
3
|
"description": "CLI tool to sync production and staging environments (MongoDB and Storage)",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "20260608.1237.46",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "iso@tmlmobilidade.pt",
|
|
7
7
|
"name": "TML-ISO"
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@clack/prompts": "1.5.1",
|
|
32
|
-
"@tmlmobilidade/consts": "
|
|
33
|
-
"@tmlmobilidade/types": "
|
|
32
|
+
"@tmlmobilidade/consts": "20260608.1209.6",
|
|
33
|
+
"@tmlmobilidade/types": "20260608.1209.6",
|
|
34
34
|
"archiver": "8.0.0",
|
|
35
35
|
"chalk": "5.6.2",
|
|
36
36
|
"dotenv": "17.4.2",
|
|
37
37
|
"mongodb": "7.2.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@tmlmobilidade/tsconfig": "
|
|
41
|
-
"@types/archiver": "
|
|
42
|
-
"@types/node": "25.9.
|
|
40
|
+
"@tmlmobilidade/tsconfig": "20260608.1209.6",
|
|
41
|
+
"@types/archiver": "8.0.0",
|
|
42
|
+
"@types/node": "25.9.2",
|
|
43
43
|
"resolve-tspaths": "0.8.23",
|
|
44
44
|
"tsx": "4.22.4"
|
|
45
45
|
}
|