Skip to content

Conversation

@jsklan
Copy link
Contributor

@jsklan jsklan commented Jan 8, 2026

Description

Linear ticket: Closes FER-8155, Closes FER-8154

Adds a new optional boolean property generateFullProject to the LocalFileSystemOutputLocationSchema type in the generators.yml schema and implements the configuration loading to handle this property. This is part of the larger effort to support local full-project SDK generation without GitHub files.

Changes Made

  • Added generateFullProject optional boolean property to LocalFileSystemOutputLocationSchema in fern/apis/generators-yml/definition/group.yml
  • Property defaults to false when not specified (implicit for optional booleans)
  • Added documentation explaining the property's purpose
  • Regenerated schema types via pnpm update:generators:
    • Updated generators-yml.schema.json with the new property
    • Updated TypeScript API type in packages/cli/configuration/src/generators-yml/schemas/api/resources/group/types/
    • Updated serialization type in packages/cli/configuration/src/generators-yml/schemas/serialization/resources/group/types/
  • Added generateFullProject to GeneratorInvocation interface in GeneratorsConfiguration.ts
  • Updated convertGenerator to read generateFullProject from the raw schema when output location is local-file-system
  • Updated getPublishConfig to use generateFullProject from generator invocation (OR'd with org's selfHostedSdKs flag)
  • Added generateFullProject: false to seed's getGeneratorInvocation.ts to satisfy the updated interface

Testing

  • Lint checks passed (pnpm run check)
  • Generated files regenerated via pnpm update:generators
  • TypeScript compilation passed (pnpm compile --filter @fern-api/seed-cli)
  • Manual testing of local generation with generateFullProject: true

Human Review Checklist

  • Verify property name matches the existing IR type in packages/ir-sdk/fern/apis/ir-types-latest/definition/publish.yml
  • Confirm the OR logic is correct: generatorInvocation.generateFullProject || (org?.selfHostedSdKs ?? false) - this means either the config flag OR the org flag enables full project generation
  • Verify the property flows correctly: generators.yml → convertGenerator → GeneratorInvocation → getPublishConfig → IR

Link to Devin run
Requested by: @jsklan

…stemOutputLocationSchema

Co-Authored-By: judah@buildwithfern.com <jsklan.development@gmail.com>
@devin-ai-integration
Copy link
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration devin-ai-integration bot changed the title feat(generators-yml): add generateFullProject property to LocalFileSystemOutputLocationSchema feat(cli): add generateFullProject property to LocalFileSystemOutputLocationSchema Jan 8, 2026
devin-ai-integration bot and others added 3 commits January 8, 2026 19:22
Co-Authored-By: judah@buildwithfern.com <jsklan.development@gmail.com>
Co-Authored-By: judah@buildwithfern.com <jsklan.development@gmail.com>
…orInvocation

Co-Authored-By: judah@buildwithfern.com <jsklan.development@gmail.com>
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