Skip to content

Auto-install deps when creating a new TS Srcbook #210

Open
@nichochar

Description

@nichochar

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions