Skip to content

Commit 293154c

Browse files
committed
feat: add tsconfig.json to TS repos
1 parent c7b7457 commit 293154c

File tree

10 files changed

+77
-27
lines changed

10 files changed

+77
-27
lines changed
722 Bytes
Binary file not shown.
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
2-
"name": "@codecrafters/build-your-own-sqlite",
3-
"description": "Build your own SQLite challenge, from CodeCrafters",
4-
"type": "module",
5-
"scripts": {
6-
"dev": "bun run app/main.ts"
7-
},
8-
"dependencies": {
9-
"fs-extra": "^11.2.0"
10-
}
2+
"name": "@codecrafters/build-your-own-sqlite",
3+
"description": "Build your own SQLite challenge, from CodeCrafters",
4+
"type": "module",
5+
"scripts": {
6+
"dev": "bun run app/main.ts"
7+
},
8+
"dependencies": {
9+
"fs-extra": "^11.2.0"
10+
},
11+
"devDependencies": {
12+
"@types/node": "^20.12.12"
13+
}
1114
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2020",
4+
"module": "ES2022",
5+
"moduleResolution": "node",
6+
"esModuleInterop": true,
7+
"strict": true,
8+
"skipLibCheck": true,
9+
},
10+
"ts-node": {
11+
"esm": true
12+
}
13+
}
722 Bytes
Binary file not shown.
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
2-
"name": "@codecrafters/build-your-own-sqlite",
3-
"description": "Build your own SQLite challenge, from CodeCrafters",
4-
"type": "module",
5-
"scripts": {
6-
"dev": "bun run app/main.ts"
7-
},
8-
"dependencies": {
9-
"fs-extra": "^11.2.0"
10-
}
2+
"name": "@codecrafters/build-your-own-sqlite",
3+
"description": "Build your own SQLite challenge, from CodeCrafters",
4+
"type": "module",
5+
"scripts": {
6+
"dev": "bun run app/main.ts"
7+
},
8+
"dependencies": {
9+
"fs-extra": "^11.2.0"
10+
},
11+
"devDependencies": {
12+
"@types/node": "^20.12.12"
13+
}
1114
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2020",
4+
"module": "ES2022",
5+
"moduleResolution": "node",
6+
"esModuleInterop": true,
7+
"strict": true,
8+
"skipLibCheck": true,
9+
},
10+
"ts-node": {
11+
"esm": true
12+
}
13+
}

starter-repository-definitions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@
266266
target: package.json
267267
- source: starter_templates/typescript/bun.lockb
268268
target: bun.lockb
269+
- source: starter_templates/typescript/tsconfig.json
270+
target: tsconfig.json
269271
- source: starter_templates/typescript/your_sqlite3.sh
270272
target: your_sqlite3.sh
271273
- source: starter_templates/.gitattributes
722 Bytes
Binary file not shown.
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
2-
"name": "@codecrafters/build-your-own-sqlite",
3-
"description": "Build your own SQLite challenge, from CodeCrafters",
4-
"type": "module",
5-
"scripts": {
6-
"dev": "bun run app/main.ts"
7-
},
8-
"dependencies": {
9-
"fs-extra": "^11.2.0"
10-
}
2+
"name": "@codecrafters/build-your-own-sqlite",
3+
"description": "Build your own SQLite challenge, from CodeCrafters",
4+
"type": "module",
5+
"scripts": {
6+
"dev": "bun run app/main.ts"
7+
},
8+
"dependencies": {
9+
"fs-extra": "^11.2.0"
10+
},
11+
"devDependencies": {
12+
"@types/node": "^20.12.12"
13+
}
1114
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2020",
4+
"module": "ES2022",
5+
"moduleResolution": "node",
6+
"esModuleInterop": true,
7+
"strict": true,
8+
"skipLibCheck": true,
9+
},
10+
"ts-node": {
11+
"esm": true
12+
}
13+
}

0 commit comments

Comments
 (0)