70bf21e064
Handle Changesets / Handle Changesets (push) Waiting to run
Semgrep OSS scan / semgrep-oss (push) Waiting to run
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
29 lines
906 B
TypeScript
29 lines
906 B
TypeScript
/**
|
|
* 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",
|
|
];
|