Scaffold tools/build package and root Buildfile project wiring

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Christopher Monsanto
2026-08-15 21:52:47 -04:00
parent c9ec48f512
commit 4ded7eea86
7 changed files with 49 additions and 1 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,4 @@
build/
/build/
.tup
node_modules
pnpm-debug.log

View File

@@ -1,4 +1,5 @@
{
"type": "module",
"scripts": {
"build": "tsc --build tsconfig-workspace.json"
},

21
pnpm-lock.yaml generated
View File

@@ -27,6 +27,27 @@ importers:
specifier: ^24.10.7
version: 24.13.3
tools/build:
dependencies:
'@types/better-sqlite3':
specifier: ^7.6.13
version: 7.6.13
'@types/debug':
specifier: ^4.1.5
version: 4.1.13
'@types/node':
specifier: ^24.10.7
version: 24.13.3
better-sqlite3:
specifier: ^12.4.1
version: 12.11.1
commander:
specifier: ^5.1.0
version: 5.1.0
debug:
specifier: ^4.1.1
version: 4.4.3
tools/deploy:
dependencies:
'@smogon/sprite-data':

14
tools/build/package.json Normal file
View File

@@ -0,0 +1,14 @@
{
"dependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/debug": "^4.1.5",
"@types/node": "^24.10.7",
"better-sqlite3": "^12.4.1",
"commander": "^5.1.0",
"debug": "^4.1.1"
},
"scripts": {
"test": "node --test test/*.test.ts"
},
"type": "module"
}

View File

@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig-base"
}

View File

@@ -1,6 +1,8 @@
{
"files": [],
"references": [
{"path": "./tsconfig.json"},
{"path": "tools/build"},
{"path": "tools/tupctime"},
{"path": "tools/deploy"},
{"path": "tools/sheet"},

7
tsconfig.json Normal file
View File

@@ -0,0 +1,7 @@
{
"extends": "./tsconfig-base",
"files": ["Buildfile.ts"],
"references": [
{"path": "tools/build"}
]
}