Skip to content

test: cover push with circuit-only project#3408

Open
vahapogut wants to merge 1 commit into
tscircuit:mainfrom
vahapogut:codex/add-push-circuit-file-regression
Open

test: cover push with circuit-only project#3408
vahapogut wants to merge 1 commit into
tscircuit:mainfrom
vahapogut:codex/add-push-circuit-file-regression

Conversation

@vahapogut

Copy link
Copy Markdown

Fixes #2797

Summary

  • Add a regression test for tsci push when a package has only a *.circuit.tsx board file.
  • Assert the push uploads the circuit file and publishes without requiring index.circuit.tsx or mainEntrypoint.

Verification

  • bun test tests/cli/push/push1-no-entrypoint.test.ts -t "should push when the project only has a circuit file"
  • bun x biome check tests/cli/push/push1-no-entrypoint.test.ts
  • bun x tsc --noEmit
  • git diff --check

Note

  • bun install initially tried to build sharp and failed on this Windows toolchain; rerunning with bun install --ignore-scripts installed the dependency tree for tests/typecheck.

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

1 participant