MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / compileTypeScript

Function compileTypeScript

vmm/ui/build.mjs:159–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157}
158
159async function compileTypeScript() {
160 await fs.rm(TS_OUT_DIR, { recursive: true, force: true });
161 await run(TSC, ['--project', path.join(ROOT, 'tsconfig.json')]);
162 await copyDir(path.join(SOURCE_DIR, 'templates'), path.join(TS_OUT_DIR, 'templates'));
163}
164
165async function build({ watch = false } = {}) {
166 await fs.mkdir(DIST_DIR, { recursive: true });

Callers 1

buildFunction · 0.85

Calls 2

copyDirFunction · 0.85
runFunction · 0.70

Tested by

no test coverage detected