Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cli): Add browser compatible base generator #5288

Merged
merged 5 commits into from
Nov 26, 2024

Conversation

amckinney
Copy link
Contributor

This splits the @fern-api/generator-commons package into two new packages:

  1. @fern-api/base-generator
  2. @fern-api/browser-compatible-base-generator

Similar to the approach used in @fern-api/path-utils, the @fern-api/base-generator exports the types defined in @fern-api/browser-compatible-base-generator so that any callers only need to import a single dependency.

Any package that needs to be browser compatible will use @fern-api/browser-compatible-base-generator directly.

Copy link

github-actions bot commented Nov 26, 2024

@@ -0,0 +1,6 @@
// Export everything from @fern-api/browser-compatible-base-generator
// so that generators can simply consume @fern-api/base-generator.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 🔥

@amckinney amckinney merged commit fa4aa6e into main Nov 26, 2024
48 of 50 checks passed
@amckinney amckinney deleted the amckinney/base-generator branch November 26, 2024 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants