aspect-build / aspect-build/rules_ts

[FR]: Find a way to reuse the `tsbuildinfo` files on `ts_project` rule

Open
#387 1 comment 3 reactions 0 assignees View on GitHub
enhancement need: investigation
Dominant language
Starlark
Stars
138
Forks
87
Avg merge
2d 8h
Merged PRs (30d)
3

Description

### What is the current behavior?

Transferred from https://github.com/bazelbuild/rules_nodejs/issues/2850

### Describe the feature

We should support the performance gain of TypeScript 'incremental' mode.

Currently it's ignored:

https://github.com/aspect-build/rules_ts/blob/dc5f4549cffae844166620e81bbff9acf7e66428/examples/project_references/README.md?plain=1#L22-L24

Contributor guide

Open the contributing guide

Research direction

Start with the linked project_references README, especially the note that TypeScript incremental mode is currently ignored. Then trace the ts_project rule's handling of incremental compilation and determine how tsbuildinfo files could be reused. Done means tsbuildinfo reuse is supported and the incremental-mode performance gain is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.