Skip to content

Commit

Permalink
feat: store dependencies graph in component model (#9214)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan authored Dec 1, 2024
1 parent 213ca96 commit 64368a3
Show file tree
Hide file tree
Showing 36 changed files with 1,617 additions and 244 deletions.
1 change: 1 addition & 0 deletions components/legacy/utils/zlib-deflate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import zlib from 'zlib';
export default async function deflate(buffer: Buffer, filePath?: string): Promise<Buffer> {
const deflateP = promisify(zlib.deflate);
try {
// @ts-ignore should be fixed
return await deflateP(buffer);
} catch (err: any) {
const filePathStr = filePath ? ` of "${filePath}"` : '';
Expand Down
1 change: 1 addition & 0 deletions components/legacy/utils/zlib-inflate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import zlib from 'zlib';
export default async function inflate(buffer: Buffer, filePath?: string): Promise<Buffer> {
const inflateP = promisify(zlib.inflate);
try {
// @ts-ignore should be fixed
return await inflateP(buffer);
} catch (err: any) {
const filePathStr = filePath ? ` of "${filePath}"` : '';
Expand Down
418 changes: 418 additions & 0 deletions e2e/harmony/deps-graph.e2e.ts

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
"memoizee": "0.4.15",
"socks-proxy-agent": "5.0.0",
"yaml": "1.10.2",
"@pnpm/dependency-path": "900.0.0",
"@pnpm/lockfile.types": "^900.0.0",
"@pnpm/node-fetch": "^1.0.0",
"@teambit/defender.fs.global-bit-temp-dir": "0.0.1",
"@teambit/legacy.analytics": "~0.0.1",
Expand Down
Loading

0 comments on commit 64368a3

Please sign in to comment.