Skip to content

Commit 04502b6

Browse files
authored
1 parent 78985fb commit 04502b6

File tree

3 files changed

+284
-218
lines changed

3 files changed

+284
-218
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"vitest": "^3.0.5",
104104
"vscode-uri": "^3.1.0",
105105
"xvfb-maybe": "^0.2.1",
106-
"zip-local": "^0.3.5",
107-
"js-yaml": "^4.1.1"
106+
"js-yaml": "^4.1.1",
107+
"zip-a-folder": "^4.0.4"
108108
}
109109
}

scripts/build.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* SPDX-License-Identifier: Apache-2.0
1818
***********************************************************************/
1919

20-
const zipper = require('zip-local');
20+
const { zip } = require('zip-a-folder');
2121
const path = require('path');
2222
const packageJson = require('../package.json');
2323
const { mkdirp } = require('mkdirp');
@@ -58,6 +58,6 @@ byline(fileStream)
5858
throw new Error('Error copying files', error);
5959
}
6060
console.log(`Zipping files to ${destFile}`);
61-
zipper.sync.zip(zipDirectory).compress().save(destFile);
61+
zip(zipDirectory, destFile);
6262
});
6363
});

0 commit comments

Comments
 (0)