Skip to content

chore: update deps - #490

Merged
antfu merged 3 commits into
mainfrom
chore/update-deps-2026-11-10
Nov 10, 2026
Merged

antfu merged 3 commits into
mainfrom
chore/update-deps-2026-11-10

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Summary

  • Update all deps to their latest versions with taze major -r. This covers the catalogs, overrides, starter/, and pnpm 12.18.0.
  • Notable bumps: comark-linter 0.10, comark 0.9, @json-render/* 0.22, vitest 5.1, @playwright/test 1.65, @nuxt/devtools 4.1, tsdown 0.23.7.

Migrations

  • tsdown 0.23.7 (rolldown-plugin-dts 0.30): the dts-only builds emitted .d.ts entry files instead of .d.mts. The exports map points at .d.mts, so devframe/types and others had no types. In dts-only mode the plugin now builds the entry name from the JS extension. The neutral platform defaults to .js, so the result was .d.ts. The 9 dts-only configs (packages/devframe and 8 plugins) now set js: '.mjs' in outExtensions. They also move from the deprecated emitDtsOnly to dtsOnly.
  • tsnapi snapshots: with rolldown-plugin-dts 0.30, an entry re-exports from a sibling entry file (for example ../utils/nostics.mjs) instead of a hashed chunk. tsnapi does not follow these re-exports, so 4 devframe snapshots now show export { X } instead of the full declaration. The nostics snapshot also shows $1 import aliases. I checked the emitted .d.mts files: the exported names and signatures do not change. I updated the snapshots with TSNAPI_ALLOW_BREAKING=1.

Verification

  • pnpm lint, pnpm knip, pnpm build, pnpm typecheck: pass.
  • pnpm vitest run: 164 test files, 1859 tests pass, 14 skipped.
  • find packages plugins -path '*/dist/*' -name '*.d.ts' lists only the 2 intended packages/nuxt/dist/runtime files.
  • 2 loopback tests (dev.test.ts, initiate.test.ts) failed in my sandbox because fetch sent [::1] through an HTTP proxy. They pass with [::1] added to NO_PROXY. This is a local setup issue, not a change from this PR.

User prompts

Claude Opus 5.5 in Claude Code. The user asked: "upgrade all deps, verify, and send a pr".

The user gave the task. Claude made the changes. No human reviewed the diff yet.

Move dts-only builds to tsdown's `dtsOnly` option and set the `.mjs`
JS extension, so rolldown-plugin-dts 0.30 keeps emitting `.d.mts` files.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
devframe Ignored Ignored Preview Nov 10, 2026 7:43am UTC

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

👁️‍🗨️ Review this pull request with grouped, summarized diffs at:
👉 https://pulls.review/gh/devframes/devframe/490?from=github-actions[bot]

raw result

💭 analyzed by vercel-ai-gateway/anthropic/claude-sonnet-5
🕰️ 2026-11-10 07:44 UTC
🔗 head 0780406
🤖 automated by pulls.review

{
  "headSha": "0780406ac0404faef09b9e1e2c2858107e5c28da",
  "result": {
    "overallSummary": "Routine dependency upgrade (`taze major -r`) across catalogs, overrides, `starter/`, and pnpm itself. The upgrade to tsdown 0.23.7 changed how dts-only builds pick their declaration file extension, requiring an `outExtensions` fix in every affected tsdown config to keep `.d.mts` output intact, which in turn produced benign tsnapi snapshot diffs.",
    "groups": [
      {
        "key": "deps",
        "label": "Dependency updates",
        "summary": "Bumps all catalog/override deps, pnpm itself, and the starter package to their latest versions via `taze major -r`; skills-lock.json hashes/versions follow the `@x18n/cli` bump and the `prepare` script now passes `--no-frozen-lockfile` to `skills experimental_sync`.",
        "category": "deps",
        "filePaths": [
          "package.json",
          "pnpm-lock.yaml",
          "pnpm-workspace.yaml",
          "starter/package.json",
          "skills-lock.json"
        ]
      },
      {
        "key": "tsdown-dtsonly-migration",
        "label": "tsdown dtsOnly migration",
        "summary": "tsdown 0.23.7 (rolldown-plugin-dts 0.30) renamed `emitDtsOnly` to `dtsOnly` and, in dts-only mode, now derives the entry extension from the JS output rather than always `.js`. Since `exports` expects `.d.mts`, each `neutral`-platform dts-only config now sets `outExtensions` `js: '.mjs'` as well so the generated declaration files keep the `.d.mts` extension the package exports rely on; missing this would silently break published types.",
        "category": "build",
        "filePaths": [
          "packages/devframe/tsdown.config.ts",
          "plugins/a11y/tsdown.config.ts",
          "plugins/assets/tsdown.config.ts",
          "plugins/code-server/tsdown.config.ts",
          "plugins/data-inspector/tsdown.config.ts",
          "plugins/inspect/tsdown.config.ts",
          "plugins/messages/tsdown.config.ts",
          "plugins/og/tsdown.config.ts",
          "plugins/terminals/tsdown.config.ts"
        ],
        "critical": true,
        "fileNotes": [
          {
            "path": "packages/devframe/tsdown.config.ts",
            "text": "Also updates the code comment referencing the old `emitDtsOnly` flag name."
          }
        ]
      },
      {
        "key": "tsnapi-snapshots",
        "label": "tsnapi snapshot updates",
        "summary": "Updates tsnapi public-API snapshots to match rolldown-plugin-dts 0.30 output: some entries now re-export from a sibling file (`export { X }`) instead of showing the full inlined declaration, and `nostics` shows `$1`-suffixed import aliases. The underlying exported names/signatures are unchanged (verified against the emitted `.d.mts`), so this is a tooling-output diff rather than an API change.",
        "category": "tests",
        "filePaths": [
          "tests/__snapshots__/tsnapi/devframe/index.snapshot.d.ts",
          "tests/__snapshots__/tsnapi/devframe/types.snapshot.d.ts",
          "tests/__snapshots__/tsnapi/devframe/rpc/transports/ws-server.snapshot.d.ts",
          "tests/__snapshots__/tsnapi/devframe/utils/nostics.snapshot.d.ts"
        ],
        "critical": true
      }
    ],
    "schemaVersion": 1,
    "source": "llm",
    "generatedAt": "2026-11-10T07:44:00.079Z",
    "model": "vercel-ai-gateway/anthropic/claude-sonnet-5",
    "locale": "en"
  }
}

antfubot and others added 2 commits November 10, 2026 07:38
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@antfu
antfu merged commit c131d57 into main Nov 10, 2026
16 checks passed
@antfu
antfu deleted the chore/update-deps-2026-11-10 branch November 10, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants