Loading topic
tsconfig.json works well while a TypeScript project has one application and one build output. As a repository grows, that configuration becomes responsible for unrelated concerns: library code, applications, tests, scripts, generated files, and sometimes examples. The compiler then sees o3 min readtsconfig.json, and commands such as tsc --build. This chapter focuses on sharing compiler settings across several projects without making the projects identical.2 min readtsconfig.json, outDir, ES modules, and how to run tsc. This chapter turns one package into a project that another TypeScript project can reference.2 min readtsconfig.json, outDir, and ES module imports. This chapter focuses on what a referenced project emits and what a dependent project consumes.2 min readtsconfig.json, ES modules, and how to run tsc. This chapter focuses on repository structure, not the details of TypeScript types.2 min readtsconfig.json, ES modules, and the tsc command. This chapter focuses on the references field: how one TypeScript project declares a dependency on another and how that declaration controls build order.2 min readtsconfig.json, outDir, ES modules, and how to run tsc. This chapter shows how one referenced project consumes another without compiling the dependency as part of its own source set.2 min readtsconfig.json, project references, and how to run tsc. This chapter focuses on what happens after a referenced project has been built once.3 min readtsconfig.json, and the composite and references options. This chapter focuses on the build command that coordinates referenced projects.2 min readtsconfig.json options, ES modules, and how to run tsc. It also assumes that each package already has its own project configuration with "composite": true.2 min readtsconfig.json, the references field, and the tsc --build command. This chapter focuses on how TypeScript orders referenced projects and why project references cannot form cycles.2 min readtsconfig.json, ES modules, and the purpose of project references. This chapter focuses on what happens inside an editor when one TypeScript project uses another.2 min readtsconfig.json, ES modules, and the tsc command. This chapter focuses on keeping test code and repository tools separate from the production projects they use.2 min readtsconfig.json, npm scripts, and shell commands. This chapter focuses on running referenced projects in continuous integration (CI), an automated system that checks every change.2 min readtsconfig.json, ES modules, and the tsc command. This chapter uses the two-project layout from the earlier examples: packages/core is the library, and packages/app depends on it.2 min read