Skip to content

Commit

Permalink
add zip support
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Oct 1, 2024
1 parent 4453ed7 commit 8cc1b08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"mitt": "^3.0.1",
"monocart-code-viewer": "^1.1.4",
"monocart-formatter": "^3.0.0",
"node-stream-zip": "^1.15.0",
"nice-ticks": "^1.0.2",
"open": "8.4.2",
"sanitize-filename": "^1.6.3",
Expand All @@ -82,6 +83,7 @@
"supports-color": "^9.4.0",
"turbogrid": "^3.2.0",
"vine-ui": "^3.1.16",
"ws": "^8.18.0"
"ws": "^8.18.0",
"yazl": "^2.5.1"
}
}
4 changes: 4 additions & 0 deletions packages/vendor/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { program } from 'commander';
import open from 'open';
import { glob } from 'glob';
import { findUpSync } from 'find-up';
import { ZipFile } from 'yazl';
import { async as StreamZip } from 'node-stream-zip';
import supportsColor from 'supports-color';

export {
Expand All @@ -18,5 +20,7 @@ export {
open,
glob,
findUpSync,
ZipFile,
StreamZip,
supportsColor
};

0 comments on commit 8cc1b08

Please sign in to comment.