chore: import upstream snapshot with attribution
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Dependencies that _are not_ bundled along with @cloudflare/deploy-helpers.
|
||||
*
|
||||
* These must be explicitly documented with a reason why they cannot be bundled.
|
||||
* This list is validated by `tools/deployments/validate-package-dependencies.ts`.
|
||||
*/
|
||||
export const EXTERNAL_DEPENDENCIES = [
|
||||
// Workspace packages kept external so consumers share a single copy of
|
||||
// types and runtime code (e.g. ParseError instanceof checks).
|
||||
"@cloudflare/cli-shared-helpers",
|
||||
"@cloudflare/workers-utils",
|
||||
"miniflare",
|
||||
|
||||
// These are externalized to avoid duplication in wrangler's bundle,
|
||||
// which already bundles these packages itself.
|
||||
"blake3-wasm",
|
||||
"chalk",
|
||||
"command-exists",
|
||||
"dotenv",
|
||||
"p-queue",
|
||||
"pretty-bytes",
|
||||
"undici",
|
||||
|
||||
// Externalized so wrangler bundles a single shared zod copy instead of
|
||||
// inlining one via this package. Declared as a peerDependency (the
|
||||
// consumer provides zod).
|
||||
"zod",
|
||||
];
|
||||
Reference in New Issue
Block a user