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

feat(cli): allow fern to push generated code to a sub directory #5715

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dsinghvi
Copy link
Member

Description

Added support for specifying a subdirectory path in GitHub repositories via the path
key under github configuration in generators.yml. This allows generating SDKs into specific subdirectories:

generators:
  - name: fernapi/fern-typescript-sdk
    github:
      repository: owner/repo
      path: packages/typescript # SDK will be generated in this subdirectory

Changes Made

  • Upgraded fiddle SDK
  • Introduced a new path key in generators.yml

Testing

  • Unit tests added/updated
  • Manual testing completed

@dsinghvi dsinghvi marked this pull request as ready for review January 23, 2025 10:16
@dsinghvi dsinghvi requested a review from amckinney January 23, 2025 10:16
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.

1 participant