mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-06 18:36:27 +02:00
Merge pull request #568 from LoryPelli/typescript-5.0.3
Updated to `Typescript 5.0.3`
This commit is contained in:
commit
86d897d580
6 changed files with 32 additions and 0 deletions
7
packages/typescript/5.0.3/build.sh
vendored
Normal file
7
packages/typescript/5.0.3/build.sh
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
source ../../node/18.15.0/build.sh
|
||||||
|
|
||||||
|
source ./environment
|
||||||
|
|
||||||
|
bin/npm install -g typescript@5.0.3
|
7
packages/typescript/5.0.3/compile
vendored
Normal file
7
packages/typescript/5.0.3/compile
vendored
Normal file
|
@ -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
|
4
packages/typescript/5.0.3/environment
vendored
Normal file
4
packages/typescript/5.0.3/environment
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put 'export' statements here for environment variables
|
||||||
|
export PATH=$PWD/bin:$PATH
|
5
packages/typescript/5.0.3/metadata.json
vendored
Normal file
5
packages/typescript/5.0.3/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "typescript",
|
||||||
|
"version": "5.0.3",
|
||||||
|
"aliases": ["ts", "node-ts", "tsc", "typescript5", "ts5"]
|
||||||
|
}
|
8
packages/typescript/5.0.3/run
vendored
Normal file
8
packages/typescript/5.0.3/run
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put instructions to run the runtime
|
||||||
|
|
||||||
|
CODE=$1.js
|
||||||
|
shift
|
||||||
|
|
||||||
|
node $CODE "$@"
|
1
packages/typescript/5.0.3/test.ts
vendored
Normal file
1
packages/typescript/5.0.3/test.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
console.log('OK');
|
Loading…
Add table
Add a link
Reference in a new issue