From e19ac193638b67cb37d27271e713c698eaa82922 Mon Sep 17 00:00:00 2001 From: koki-develop Date: Tue, 13 Jan 2026 08:27:11 +0900 Subject: [PATCH] Add TypeScript 5.9.3 language package Co-Authored-By: Claude Opus 4.5 --- packages/typescript/5.9.3/build.sh | 7 +++++++ packages/typescript/5.9.3/compile | 7 +++++++ packages/typescript/5.9.3/environment | 4 ++++ packages/typescript/5.9.3/metadata.json | 5 +++++ packages/typescript/5.9.3/run | 8 ++++++++ packages/typescript/5.9.3/test.ts | 1 + 6 files changed, 32 insertions(+) create mode 100755 packages/typescript/5.9.3/build.sh create mode 100755 packages/typescript/5.9.3/compile create mode 100644 packages/typescript/5.9.3/environment create mode 100644 packages/typescript/5.9.3/metadata.json create mode 100755 packages/typescript/5.9.3/run create mode 100644 packages/typescript/5.9.3/test.ts 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');