Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Commit 7027008

Browse files
koki-developclaude
andauthored
Add TypeScript 5.9.3 language package (#27)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8872e19 commit 7027008

6 files changed

Lines changed: 32 additions & 0 deletions

File tree

packages/typescript/5.9.3/build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
source ../../node/24.12.0/build.sh
4+
5+
source ./environment
6+
7+
bin/npm install -g typescript@5.9.3

packages/typescript/5.9.3/compile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
# Put instructions to compile source code, remove this file if the language does not require this stage
4+
5+
rename 's/$/\.ts/' "$@" # Add .ts extension
6+
7+
tsc *.ts
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
# Put 'export' statements here for environment variables
4+
export PATH=$PWD/bin:$PATH
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"language": "typescript",
3+
"version": "5.9.3",
4+
"aliases": ["ts", "node-ts", "tsc", "typescript5", "ts5"]
5+
}

packages/typescript/5.9.3/run

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
# Put instructions to run the runtime
4+
5+
CODE=$1.js
6+
shift
7+
8+
node $CODE "$@"

packages/typescript/5.9.3/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('OK');

0 commit comments

Comments
 (0)