Open
Description
Auto-Install Dependencies for New TypeScript Srcbooks
Objective
Automatically install required dependencies (tsx, typescript, @types/node) when creating a new TypeScript Srcbook, eliminating the need for the "install dependencies" toast, which needs to be clicked 100% of the time.
Current Behavior
- "Install dependencies" toast appears when creating a new TS Srcbook
Proposed Change
- Automatically install tsx, typescript, and @types/node upon TS Srcbook creation
Considerations
- Block running cells until completed?
- Handle scenarios where auto-installation fails
- Consider allowing users to opt-out of auto-installation