Skip to content

fix: allow tsci push without entrypoint when circuit.json exists#1

Open
64johnlee wants to merge 139 commits into
mainfrom
fix/issue-2797
Open

fix: allow tsci push without entrypoint when circuit.json exists#1
64johnlee wants to merge 139 commits into
mainfrom
fix/issue-2797

Conversation

@64johnlee
Copy link
Copy Markdown
Owner

When no tsx/ts entrypoint files are found, getEntrypoint() now falls back to checking for circuit.json files. This mirrors the behavior of tsci dev which already supports circuit.json files as valid build targets.

Fixes tscircuit#2797

tscircuitbot and others added 30 commits April 28, 2026 02:53
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
tscircuitbot and others added 11 commits May 6, 2026 18:47
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
When no tsx/ts entrypoint files are found, getEntrypoint() now falls back
to checking for circuit.json files. This mirrors the behavior of `tsci dev`
which already supports circuit.json files as valid build targets.

Fixes tscircuit#2797
64johnlee and others added 9 commits May 11, 2026 22:19
…BoardFiles

Previously, transpilation was skipped whenever `includeBoardFiles` was
configured and `--transpile` wasn't explicitly passed, even when a valid
TypeScript library entrypoint (e.g. `index.circuit.tsx`) was present.
Now the skip only applies when the resolved entrypoint is not a real
`.ts`/`.tsx` file (e.g. a `.circuit.json` fallback or absent).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

tsci push fails when no index.circuit.tsx file and no mainEntrypoint

6 participants