Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

build(gates): the AOT compiler type-checks like every other package

yhhf3591135f0db
diff --git a/tools/gates.mjs b/tools/gates.mjs
index 13e744b87..cb0cd97b0 100644
--- a/tools/gates.mjs
+++ b/tools/gates.mjs
@@ -29,6 +29,10 @@ export const SCOPES = ['local', 'ci'];
*/
export const GATES = [
{ id: 'tsc-sdk', run: 'pnpm --filter ./sdk exec tsc --noEmit' },
+ // Up here rather than beside `tsc-pipeline`: the compiler resolves `esengine`
+ // to its own stub (compiler/tsconfig.json), so it needs nothing built and has
+ // no reason to wait for `sdk-build`.
+ { id: 'tsc-compiler', run: 'pnpm --filter @estella/compiler exec tsc --noEmit -p tsconfig.json' },
{ id: 'gl-boundary', run: 'node tools/check-gl-boundary.mjs' },
{ id: 'draw-command-boundary', run: 'node tools/check-draw-command-boundary.mjs' },
{ id: 'sidemodule-gates', run: 'node tools/check-sidemodule-gates.mjs' },