myriad/languages/typescript/run.sh
Manuel 1205933acd
Update images and reduce their size (#13)
* Allow container to be run with custom command

* Reduce language image sizes

* Update OpenJDK to latest version

* Use swc for TypeScript and don't print by default

* Update Haskell image and use stable Debian slim

* Fix formatting and revert TS changes
2021-05-31 00:20:21 -04:00

4 lines
196 B
Bash

cat > program.ts
tsc --lib DOM,ESNext --target ES2019 --strict \
--skipLibCheck --types /usr/local/share/.config/yarn/global/node_modules/@types/node program.ts \
&& cat program.js | node