Skip to content

deps(devframe): migrate to devframe 0.9.0-beta.7 - #533

Merged
antfu merged 1 commit into
mainfrom
deps/devframe-0.9.0-beta.7
Aug 17, 2026
Merged

deps(devframe): migrate to devframe 0.9.0-beta.7#533
antfu merged 1 commit into
mainfrom
deps/devframe-0.9.0-beta.7

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Description

Bumps the devframe catalog pin from ^0.9.0-beta.4 to ^0.9.0-beta.7 and adapts to the upstream breaking changes landed in between:

  • @devframes/vite: the /dev-spa subpath was renamed to /single (beta.6). Updated the oxc package's Nuxt config import accordingly.
  • devframe/@devframes/hub: context.views.buildStaticDirs now yields { baseUrl, source: StaticAssetsSource } (StaticAssetsSource = string | RemoteAssets) instead of a plain distDir string, as part of the new remote-assets CDN back-proxy feature (beta.5). Both the static-build copy step (build-static.ts) and the standalone dev-server's static mount (cli-commands.ts) now resolve the source via resolveStaticAssetsSource() first — copying a local directory as before, or calling .materialize() for a remote source.
  • @devframes/hub/types: dropped EntriesToObject / Thenable (now re-exported from devframe/rpc instead) and PartialWithoutId (now a private, unexported type). DevframeDiagnosticsDefinition was replaced by DevframeDefineDiagnosticsOptions on devframe/types. Updated the kit's public type barrel (packages/kit/src/types/index.ts) to match — PartialWithoutId is dropped from the kit's public surface (it was unused internally), and the tsnapi export snapshot is updated to reflect this intentional, upstream-driven API change.

pnpm lint && pnpm test && pnpm typecheck && pnpm build all pass.

Linked Issues

Additional context

The PartialWithoutId and DevToolsDiagnosticsDefinition removals are genuine upstream breaking changes (devframe reduced its public API surface for 0.9), not accidental — neither was used internally in this repo, only re-exported for downstream consumers.


This PR was created with the help of an agent.

Bump the devframe catalog pin from beta.4 to beta.7 and adapt to its
upstream breaking changes:

- `@devframes/vite`'s `/dev-spa` subpath was renamed to `/single`.
- `context.views.buildStaticDirs` now yields a `StaticAssetsSource`
  (`string | RemoteAssets`) instead of a plain `distDir`, so both the
  static-build copy step and the standalone dev-server static mount
  resolve it via `resolveStaticAssetsSource()` first (supporting the new
  remote-assets CDN back-proxy).
- `@devframes/hub/types` dropped `EntriesToObject`/`Thenable` (now
  re-exported from `devframe/rpc`) and `PartialWithoutId` (now private);
  `DevframeDiagnosticsDefinition` was replaced by
  `DevframeDefineDiagnosticsOptions` on `devframe/types`. The kit's
  public type barrel is updated to match, with `PartialWithoutId`
  dropped and the tsnapi export snapshot updated accordingly.
@pkg-pr-new

pkg-pr-new Bot commented Aug 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@533

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@533

@vitejs/devtools-oxc

npm i https://pkg.pr.new/@vitejs/devtools-oxc@533

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@533

@vitejs/devtools-vite

npm i https://pkg.pr.new/@vitejs/devtools-vite@533

@vitejs/devtools-vitest

npm i https://pkg.pr.new/@vitejs/devtools-vitest@533

commit: b8b7710

@antfu
antfu merged commit e83a1b0 into main Aug 17, 2026
10 checks passed
@antfu
antfu deleted the deps/devframe-0.9.0-beta.7 branch August 17, 2026 02:09
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