发布

  • chore(ts): quiet tsdown build warnings (#3665)

    frostbyte_neo 发布于 2026-06-26 08:17:33 +00:00

    This PR:

    • migrates shared tsdown dependency config from deprecated external /
      noExternal aliases to deps.neverBundle / deps.alwaysBundle
    • disables noisy Rolldown plugin timing and ineffective dynamic-import
      diagnostics in shared config while keeping build checks enabled
    • fixes the json-schema-to-zod JSONSchema7TypeName import so it
      stays type-only
    • keeps the CLI bundle graph aligned with next while quieting the
      dynamic-import warning through checks.ineffectiveDynamicImport: false
    • makes the Node file E2Es treat the current external storage
      Unauthorized upload response as an explicit UPLOAD_UNAVAILABLE/skip
      outcome instead of failing unrelated SDK build PRs

    Verification:

    • pnpm build
    • build log scan for WARN, deprecated external / noExternal,
      deps.onlyBundle, PLUGIN_TIMINGS, and INEFFECTIVE_DYNAMIC_IMPORT
    • pnpm --dir ts/packages/cli test -- --runInBand
    • pnpm --dir ts/e2e-tests/runtimes/node/file-roundtrip typecheck
    • pnpm --dir ts/e2e-tests/runtimes/node/tool-router-files typecheck
    • pnpm lint:packages
    • CI: TypeScript build/typecheck/test and Node 22/24/25, Deno,
      Cloudflare, and CLI e2e are green on the latest commit
    下载附件