Skip to content

reproduction: @ai-sdk/workflow: package.json points to files that aren't published#16990

Draft
lgrammel wants to merge 1 commit into
mainfrom
bug-16925-2
Draft

reproduction: @ai-sdk/workflow: package.json points to files that aren't published#16990
lgrammel wants to merge 1 commit into
mainfrom
bug-16925-2

Conversation

@lgrammel

@lgrammel lgrammel commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Bug

@ai-sdk/workflow: package.json points to files that aren't published

Reproduction

  • Classified issue @ai-sdk/workflow: package.json points to files that aren't published #16925 as general library/package publishing behavior, not provider-specific behavior.
  • Added examples/ai-functions/src/reproduction/workflow-require-entrypoint.ts to pack @ai-sdk/workflow@1.0.17, inspect the published tarball, and require it from a temporary node_modules install.
  • The published tarball contains dist/index.mjs, dist/index.d.mts, and dist/index.mjs.map, while package.json declares ./dist/index.js for main and exports["."].require, plus ./dist/index.d.ts for types.
  • The reproduction script observes require("@ai-sdk/workflow") failing with MODULE_NOT_FOUND for missing dist/index.js; this matches the expected issue behavior for CommonJS consumers while the import target exists.

Relevant Documentation

Related Issues

Reproduces #16925

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant