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

Commit c090457

Browse files
committed
Add tsconfig.json for TypeScript 5.9.3 package and update compile script
- Introduce a tsconfig.json with tailored compiler options for the 5.9.3 package - Modify compile script to copy tsconfig.json before running tsc without arguments - Update .gitignore to ensure tsconfig.json is not ignored This aligns with previous changes to run tsc without explicit file args and ensures consistent compilation settings.
1 parent b9aa55a commit c090457

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

packages/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@
1010
!go/**/cacheprog.go
1111
!go/**/go.mod
1212
!go/**/go.sum
13+
14+
!typescript/**/tsconfig.json

packages/typescript/5.9.3/compile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
SOURCE_NODE_MODULES_DIR="/piston/packages/typescript/5.9.3/lib/node_modules"
44
TARGET_NODE_MODULES_DIR="node_modules"
5-
65
ln -s "$SOURCE_NODE_MODULES_DIR" "$TARGET_NODE_MODULES_DIR"
76

7+
cp /piston/packages/typescript/5.9.3/tsconfig.json ./tsconfig.json
8+
89
tsc
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ESNext",
4+
"module": "Preserve",
5+
"moduleDetection": "force",
6+
"allowJs": true,
7+
"moduleResolution": "bundler",
8+
"verbatimModuleSyntax": true,
9+
"skipLibCheck": true
10+
}
11+
}

0 commit comments

Comments
 (0)