Skip to content

fix: include vercel-ai-exporter in build pipeline and workspace#1179

Draft
serhiizghama wants to merge 1 commit intoVoltAgent:mainfrom
serhiizghama:fix/issue-1024-vercel-ai-exporter-missing-dist
Draft

fix: include vercel-ai-exporter in build pipeline and workspace#1179
serhiizghama wants to merge 1 commit intoVoltAgent:mainfrom
serhiizghama:fix/issue-1024-vercel-ai-exporter-missing-dist

Conversation

@serhiizghama
Copy link
Copy Markdown

@serhiizghama serhiizghama commented Mar 30, 2026

Problem

The @voltagent/vercel-ai-exporter package is published to npm without a built dist/ directory, making it unusable. Importing from it fails because ./dist/index.mjs and ./dist/index.js don't exist.

Root cause: commit 9c81f46 removed the package from pnpm-workspace.yaml and added --ignore @voltagent/vercel-ai-exporter to the root build scripts. As a result, pnpm build:all — which runs during the release workflow — never compiles the package before it is published.

Fixes #1024

What changed

  • pnpm-workspace.yaml: removed the !packages/vercel-ai-exporter exclusion so pnpm treats it as a workspace member again
  • package.json (root): removed --ignore @voltagent/vercel-ai-exporter from the build and build:all scripts so the package is compiled during pnpm build:all

How to test

pnpm install
pnpm build:all
ls packages/vercel-ai-exporter/dist  # should contain index.js, index.mjs, index.d.ts, index.d.mts

After the fix, pnpm pack --dry-run from packages/vercel-ai-exporter should include the dist/* files.

Note: CI test matrix entries for vercel-ai-exporter in the workflow YAMLs require workflow scope on the token — I'll add those in a follow-up if helpful, or maintainers can add them directly.


Summary by cubic

Restores building and publishing of @voltagent/vercel-ai-exporter so its dist/ files are included and imports resolve. Addresses #1024 by putting the package back into the workspace and build pipeline.

  • Bug Fixes
    • pnpm-workspace.yaml: removed the !packages/vercel-ai-exporter exclusion to re-add the package to the workspace.
    • Root package.json: removed --ignore @voltagent/vercel-ai-exporter from build and build:all so the package compiles during releases.

Written for commit a3af453. Summary will update on new commits.

The package was excluded from pnpm-workspace.yaml and the build:all
script, causing it to be published without a compiled dist/ directory.
Consumers received an empty package after install.

Re-add it to:
- pnpm-workspace.yaml (workspace member)
- root build / build:all scripts (remove --ignore flag)

Note: CI test matrix (.github/workflows/) requires workflow scope
and is left as a follow-up.

Fixes VoltAgent#1024
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 30, 2026

⚠️ No Changeset found

Latest commit: a3af453

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 30, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 18f22cf7-9b01-4397-90fd-32334d089d01

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

[BUG]@voltagent/vercel-ai-exporter pacakge is empty after installed

1 participant