Skip to content

fix: declare Vue as a peer dependency - #30

Open
xianzuyang9-blip wants to merge 1 commit into
xiaoluoboding:mainfrom
xianzuyang9-blip:codex/add-vue-peer-dependency
Open

fix: declare Vue as a peer dependency#30
xianzuyang9-blip wants to merge 1 commit into
xiaoluoboding:mainfrom
xianzuyang9-blip:codex/add-vue-peer-dependency

Conversation

@xianzuyang9-blip

Copy link
Copy Markdown

Summary

  • add vue to peerDependencies for the published library package
  • keep vue in devDependencies for local builds and type checks

The library imports from vue, and the Vite library build already externalizes vue, so consumers should receive an explicit peer dependency declaration.

Verification

  • npx pnpm@8.15.9 install --frozen-lockfile
  • npx pnpm@8.15.9 run build:lib
  • npx pnpm@8.15.9 pack --pack-destination C:\tmp\vue-command-palette
  • verified the packed package/package.json includes peerDependencies.vue

@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

@xianzuyang9-blip is attempting to deploy a commit to the Indie Hacker Team on Vercel.

A member of the Team first needs to authorize it.

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