Skip to content

Commit

Permalink
Chore: clean up make-fetch-happen
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jan 17, 2025
1 parent 9a4acbd commit 7d555d0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 311 deletions.
7 changes: 2 additions & 5 deletions Build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import { buildCloudMounterRules } from './build-cloudmounter-rules';

import { createSpan, printTraceResult, whyIsNodeRunning } from './trace';
import { buildDeprecateFiles } from './build-deprecate-files';
import { cacheGc } from './lib/make-fetch-happen';
import path from 'node:path';
import { ROOT_DIR } from './constants/dir';

Expand Down Expand Up @@ -97,10 +96,8 @@ const buildFinishedLock = path.join(ROOT_DIR, '.BUILD_FINISHED');
downloadMockAssets(rootSpan)
]);

await Promise.all([
buildDeprecateFiles(rootSpan).then(() => buildPublic(rootSpan)),
cacheGc(rootSpan)
]);
await buildDeprecateFiles(rootSpan);
await buildPublic(rootSpan);

rootSpan.stop();

Expand Down
87 changes: 0 additions & 87 deletions Build/lib/make-fetch-happen.ts

This file was deleted.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"foxts": "^1.1.5",
"hash-wasm": "^4.12.0",
"json-stringify-pretty-compact": "^3.0.0",
"make-fetch-happen": "^14.0.3",
"picocolors": "^1.1.1",
"tar-fs": "^3.0.6",
"tinyexec": "^0.3.2",
Expand All @@ -57,7 +56,6 @@
"@types/cacache": "^17.0.2",
"@types/dns2": "^2.0.9",
"@types/fast-fifo": "^1.3.0",
"@types/make-fetch-happen": "^10.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.5",
"@types/node-fetch": "^2.6.12",
Expand All @@ -72,13 +70,13 @@
"typescript": "^5.7.3"
},
"packageManager": "[email protected]",
"resolutions": {
"has": "npm:@nolyfill/has@latest"
},
"pnpm": {
"patchedDependencies": {
"undici": "patches/undici.patch",
"whoiser": "patches/whoiser.patch"
}
},
"resolutions": {
"has": "npm:@nolyfill/has@latest"
}
}
Loading

0 comments on commit 7d555d0

Please sign in to comment.