diff --git a/packages/typescript/5.9.3/build.sh b/packages/typescript/5.9.3/build.sh new file mode 100755 index 000000000..e0bc78cf0 --- /dev/null +++ b/packages/typescript/5.9.3/build.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +source ../../node/24.12.0/build.sh + +source ./environment + +bin/npm install -g typescript@5.9.3 diff --git a/packages/typescript/5.9.3/compile b/packages/typescript/5.9.3/compile new file mode 100755 index 000000000..7bc9c1084 --- /dev/null +++ b/packages/typescript/5.9.3/compile @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +# Put instructions to compile source code, remove this file if the language does not require this stage + +rename 's/$/\.ts/' "$@" # Add .ts extension + +tsc *.ts diff --git a/packages/typescript/5.9.3/environment b/packages/typescript/5.9.3/environment new file mode 100644 index 000000000..780b668ce --- /dev/null +++ b/packages/typescript/5.9.3/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH=$PWD/bin:$PATH diff --git a/packages/typescript/5.9.3/metadata.json b/packages/typescript/5.9.3/metadata.json new file mode 100644 index 000000000..2852f0f3e --- /dev/null +++ b/packages/typescript/5.9.3/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "typescript", + "version": "5.9.3", + "aliases": ["ts", "node-ts", "tsc", "typescript5", "ts5"] +} diff --git a/packages/typescript/5.9.3/run b/packages/typescript/5.9.3/run new file mode 100755 index 000000000..5a8c60e2b --- /dev/null +++ b/packages/typescript/5.9.3/run @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# Put instructions to run the runtime + +CODE=$1.js +shift + +node $CODE "$@" diff --git a/packages/typescript/5.9.3/test.ts b/packages/typescript/5.9.3/test.ts new file mode 100644 index 000000000..e1066783f --- /dev/null +++ b/packages/typescript/5.9.3/test.ts @@ -0,0 +1 @@ +console.log('OK');