Skip to content

Setup tsc --watch workflow in examples and CLI project templates #922

@bajtos

Description

@bajtos

When I was working on the extension starter project, I added configuration allowing developers to avoid possibly long compilation time by leveraging tsc --watch mode. See DEVELOPING.md for the documentation.

We should apply this configuration to everything that can be used independently from our monorepo:

  • All example packages
  • CLI templates for app and extension projects

This is a follow-up task for #836.

Acceptance criteria

Update the following places in our monorepo

  • Example packages (replace this checkbox with an up-to-date list of example packages)
  • Extension project template
  • Application project template

For each place, make the following changes:

  • Setup build:watch and test:dev scripts in package.json (source)
  • Add .vscode configuration with "Watch and compile TypeScript" and "Test and lint" tasks - (source)
  • Add DEVELOPING.md file describing dev setup and workflow for developers using VS Code but also for developers using their own IDE/editor (source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Examplesdeveloper-experienceIssues affecting ease of use and overall experience of LB users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions