🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@isBatak
Copy link
Contributor

@isBatak isBatak commented May 25, 2025

📝 Description

Adds support for generating type definitions to a custom output directory via the --outdir flag in the Chakra typegen CLI.

⛳️ Current behavior (updates)

The --outdir flag writes multiple type files to the target directory but retains relative imports that may break due to changed paths. There's no clear way to use the generated files effectively in consuming apps.

🚀 New behavior

When a custom --outdir is used, the CLI now generates a single augmented file with proper module declarations (e.g., for @chakra-ui/react) and avoids broken relative imports.

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

@vercel
Copy link

vercel bot commented May 25, 2025

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

Project Deployment Preview Updated (UTC)
chakra-ui-storybook Ready Ready Preview Oct 25, 2025 9:55pm
chakra-v3-docs Ready Ready Preview Oct 25, 2025 9:55pm

@changeset-bot
Copy link

changeset-bot bot commented May 25, 2025

⚠️ No Changeset found

Latest commit: 98f9c11

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

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