Skip to content

Add disabled flags to project config#746

Merged
imrishabh18 merged 1 commit into
mainfrom
agent/add-disabled-flags-to-project-config
Jul 22, 2026
Merged

Add disabled flags to project config#746
imrishabh18 merged 1 commit into
mainfrom
agent/add-disabled-flags-to-project-config

Conversation

@imrishabh18

Copy link
Copy Markdown
Member

Summary

  • add pcbDisabled and schematicDisabled to the exported ProjectConfig type
  • include both flags in the projectConfig Zod schema
  • add parser coverage for true and false values
  • regenerate the checked-in README documentation

Why

Consumers that load tscircuit.config.json currently need to redeclare these fields locally even though both already exist on PlatformConfig. Exposing them through ProjectConfig gives JSON project configuration a shared source of truth.

Impact

Packages such as @tscircuit/eval can extend ProjectConfig and consume the rendering-disable flags without duplicating their definitions.

Validation

  • bun test tests (374 passing)
  • bun run typecheck
  • bun run format:check
  • bun run build
  • all repository-required generation scripts

@imrishabh18
imrishabh18 requested a review from seveibar July 22, 2026 00:31
@imrishabh18
imrishabh18 marked this pull request as ready for review July 22, 2026 00:32
@imrishabh18
imrishabh18 merged commit 9e80bae into main Jul 22, 2026
5 checks passed
@imrishabh18
imrishabh18 deleted the agent/add-disabled-flags-to-project-config branch July 22, 2026 02:55
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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.

3 participants