⚙️Project configuration
Node
The global Node.js configuration is defined in the project's package.json
file located in <project-root>/package.json
:
In this we define all the global scripts (most of them runs Turborepo pipelines, head to theTurborepo configuration section to know more), global dependencies (can be imported by all libs or microservices) and the npm workspaces.
Note that the ts
script can be used to run any arbitrary TypeScript file using esbuild-runner
(similar to ts-node)
TypeScript
The main Typescript configuration file is located in <project-root>/tsconfig.base.json
:
Every lib or microservice extends this configuration file.
The noEmit
option is essential to the Multijet build process. This disables any output file from the compilation because it is not needed since we will use esbuild to make an output bundle file (See the Build configuration section). We use tsc
to only do the type checking.
Last updated