Skip to content

Extract TypeScript compiler to companion @secure-exec/typescript package#5

Merged
NathanFlurry merged 2 commits intomainfrom
node-ts-typecheck
Mar 11, 2026
Merged

Extract TypeScript compiler to companion @secure-exec/typescript package#5
NathanFlurry merged 2 commits intomainfrom
node-ts-typecheck

Conversation

@NathanFlurry
Copy link
Member

Summary

Extracts TypeScript compilation and type-checking from the core secure-exec runtime into a new companion package @secure-exec/typescript. The core runtime now executes JavaScript only, with compiler work sandboxed in a dedicated isolate to prevent untrusted type graphs from consuming host resources.

  • New createTypeScriptTools() factory with typecheckProject, compileProject, typecheckSource, compileSource methods
  • Core runtime cleanup: fixes variable consistency in browser worker transforms and adds regression tests for TypeScript-only syntax failures
  • Comprehensive documentation and OpenSpec updates reflecting the JavaScript-only core contract
  • Restored typescript devDependency to secure-exec package.json for its own build scripts

🤖 Generated with Claude Code

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 11, 2026

Open in StackBlitz

pnpm add https://pkg.pr.new/rivet-dev/secure-exec@5

commit: 6306654

@NathanFlurry NathanFlurry merged commit 3e4dfec into main Mar 11, 2026
1 of 2 checks passed
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.

1 participant