Skip to content

Ensure CI builds capture all TypeScript projects

Created by: umpox

Issue type

Internal request

Problem description

Currently we rely on all TypeScript projects to be referenced in tsconfig.all.json for our CI process to build and check them correctly.

This can be problematic, as if a developer adds a new project and forgets to add it here - errors won't be caught in our usual CI process.

Options:

  • Write a lint script to check that all tsconfig files are referenced
  • Change our TSConfig setup so this isn't a problem anymore (can we just glob everything in client/?)
  • ???

Context

Related thread: https://sourcegraph.slack.com/archives/C01C3NCGD40/p1654522032247999?thread_ts=1654521022.129749&cid=C01C3NCGD40

Steps to reproduce

No response

Impact

The end result is we can accidentally block builds if there is a missing tsconfig reference in all... (ticket should help to stabilize main)

Additional details

No response

Assigning labels

  • If this issue will require input from designers in order to complete, please assign the label needs-design.