Currently, the build unconditionally calls tsc. In a monorepo with project references (internal packages), the command must be called with the --build flag.
I'm not sure if this should be automatic (analyse the tsconfig.json and add the flag if it has a references array) or an option to node ace build?
Refs:
|
/** |
|
* Runs tsc command to build the source. |
|
*/ |
|
async #runTsc(outDir: string): Promise<boolean> { |
|
try { |
|
await run(this.cwd, { |
|
stdio: 'inherit', |
|
script: 'tsc', |
|
scriptArgs: ['--outDir', outDir], |
|
}) |
|
return true |
|
} catch { |
|
return false |
|
} |
|
} |
Currently, the build unconditionally calls
tsc. In a monorepo with project references (internal packages), the command must be called with the--buildflag.I'm not sure if this should be automatic (analyse the tsconfig.json and add the flag if it has a
referencesarray) or an option tonode ace build?Refs:
assembler/src/bundler.ts
Lines 141 to 155 in 5581c04