Skip to content

fix: expose @freelanceflow/ui runtime entrypoints#3341

Open
Daisuke134 wants to merge 1 commit into
SecureBananaLabs:mainfrom
Daisuke134:anicca/bounty-2781
Open

fix: expose @freelanceflow/ui runtime entrypoints#3341
Daisuke134 wants to merge 1 commit into
SecureBananaLabs:mainfrom
Daisuke134:anicca/bounty-2781

Conversation

@Daisuke134
Copy link
Copy Markdown

Summary

  • replace the TypeScript-only package entrypoint with real ESM JavaScript entrypoints
  • add explicit exports for the root package plus Button/Card subpaths
  • preserve consumer typings with declaration files and record the peer React dependency

Verification

  • npm install
  • node --input-type=module -e "const mod = await import('@freelanceflow/ui'); console.log(Object.keys(mod).sort().join(','))"
  • node --input-type=module -e "const { Button } = await import('@freelanceflow/ui/Button'); const { Card } = await import('@freelanceflow/ui/Card'); console.log(typeof Button, typeof Card)"
  • npx tsc --noEmit packages/ui/index.d.ts packages/ui/Button.d.ts packages/ui/Card.d.ts

Closes #2781

github-actions Bot added a commit that referenced this pull request Jun 1, 2026
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.

@freelanceflow/ui package entrypoint should be directly importable

1 participant