Skip to content

Conversation

@seveibar
Copy link
Contributor

Summary

  • extract a shared validator to ensure package.json main points inside dist before transpiling
  • use the shared main validation for both tsci build --transpile and tsci transpile

Testing

  • bunx tsc --noEmit
  • bun test tests/cli/build/build-transpile.test.ts
  • bun test tests/cli/transpile

Codex Task

@seveibar seveibar changed the title Refactor transpile main validation Refactor transpile "main" path validation Nov 26, 2025
@seveibar seveibar merged commit 3d9484b into main Nov 26, 2025
8 checks passed
@seveibar seveibar deleted the codex/check-main-points-to-dist-in-build branch November 26, 2025 00:12
@tscircuitbot
Copy link
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants