sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.53k stars 261 forks source link

TS Build: add project reference on lib/shared from prompt-editor #5112

Closed olafurpg closed 1 month ago

olafurpg commented 1 month ago

Previously, the prompt-editor project depended on @sourcegraph/cody-shared but the prompt-editor tsconfig.json build didn't have a project reference on lib/shared/tsconfig.json. Adding this project reference might reduce the risk of race conditions resulting in cryptic build errors.

Context https://sourcegraph.slack.com/archives/C05AGQYD528/p1722911641411329

Test plan

Green CI.

Changelog