Replace build.sh with pnpm build; type-check is now pnpm check

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Christopher Monsanto
2026-08-15 22:47:10 -04:00
parent 44fb49a96f
commit 2d1dd3a119
5 changed files with 6 additions and 5 deletions

View File

@@ -12,6 +12,6 @@ before_install:
- pnpm config set store-dir ~/.pnpm-store
install:
- pnpm install
script: pnpm run build
script: pnpm run check
notifications:
email: false

View File

@@ -51,7 +51,7 @@ $ brew install imagemagick gifsicle advancecomp optipng pngquant webp
Install dependencies once with `pnpm install`. Then, to build:
```
$ node tools/build/index.ts
$ pnpm build
```
The rules live in `Buildfile.ts`. Build state (content hashes, rule records)

View File

@@ -1,7 +1,8 @@
{
"type": "module",
"scripts": {
"build": "tsc --build tsconfig-workspace.json"
"build": "node tools/build/index.ts",
"check": "tsc --build tsconfig-workspace.json"
},
"dependencies": {
"@smogon/sprite-data": "workspace:*",

View File

@@ -3,7 +3,7 @@
set -ex
cd ~/smogon/sprites
./build.sh
pnpm build
# Update dex
cd ~/smogon/smogon.com/run

View File

@@ -3,7 +3,7 @@
set -ex
cd /home/monsanto/smogon/sprites
./build.sh
pnpm build
rm -rf deploy/smogon
node tools/deploy/index.ts run smogon.deploy.js -o deploy/smogon