Skip to content

chore(deps): upgrade nuxt-component-meta to 0.18.0 - #554

Open
hendrikheil wants to merge 1 commit into
mainfrom
chore/upgrade-nuxt-component-meta
Open

chore(deps): upgrade nuxt-component-meta to 0.18.0#554
hendrikheil wants to merge 1 commit into
mainfrom
chore/upgrade-nuxt-component-meta

Conversation

@hendrikheil

@hendrikheil hendrikheil commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Bumps nuxt-component-meta 0.17.2 → 0.18.0 (adds the extendComponentMeta macro; docus already pulled it transitively).

Two fixes were needed to land it:

  • props.ts — 0.18.0 pulls vue-component-meta 3.3.11, whose PropertyMetaSchema gained a literal variant with no schema. Narrowed both guards with an in check.
  • vue^3.5.42 — re-resolving splits vue across 3.5.35/3.5.42, duplicating @tiptap/vue-3 and vue-i18n and failing typecheck with ~150 mismatched-instance errors. 3.5.42 already satisfied the old range; 3.5.35 was lockfile inertia. Converging surfaced 2 real type errors, both fixed.

pnpm verify passes — lint, prepack, typecheck, 393 tests. Typecheck is clean on main and clean here.

Note: nuxt-module-build build src/module fails with TS2742 on the studio.client plugins. Pre-existing on main, masked because prepack joins its commands with ; not &&. Worth a separate fix.

@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
content-studio Building Building Preview Sep 3, 2026 8:30am UTC
nuxt.studio Ready Ready Preview Sep 3, 2026 8:30am UTC

@pkg-pr-new

pkg-pr-new Bot commented Sep 3, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/nuxt-studio@554

commit: 1700066

0.18.0 brings vue-component-meta 3.3.11, whose `PropertyMetaSchema`
union gained a `literal` variant with no `schema` property. Narrow the
two array/object guards in props.ts with an `in` check.

Bump vue to ^3.5.42 so the graph converges on one instance. Re-resolving
for the upgrade otherwise leaves vue split across 3.5.35 and 3.5.42,
which duplicates @tiptap/vue-3 and vue-i18n and fails the app typecheck
on ~150 mismatched-instance errors. 3.5.42 already satisfied the
existing ^3.5.35 range; 3.5.35 was lockfile inertia.

Converging surfaces two real type errors, both fixed here: the
Collapsible `open` model is `boolean | undefined` (defineModel with
`default: undefined`), and formTreeWithValues widened `type` to `string`
without an explicit FormTree annotation.

Claude-Session: https://claude.ai/code/session_013rF9ZZvHV78RAHZudZZNZH
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.

1 participant