From 2d1dd3a1195e9770f98f8d298ed50a3526ea0153 Mon Sep 17 00:00:00 2001 From: Christopher Monsanto Date: Sat, 15 Aug 2026 22:47:10 -0400 Subject: [PATCH] Replace build.sh with pnpm build; type-check is now pnpm check Co-Authored-By: Claude Fable 5 --- .travis.yml | 2 +- README.md | 2 +- package.json | 3 ++- updateminisprites.sh | 2 +- updatepmdsprites.sh | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3d9e7ddf..fa2d3ebd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index d9b1cbae..4f06445d 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/package.json b/package.json index 4122314c..2ddfc7b0 100644 --- a/package.json +++ b/package.json @@ -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:*", diff --git a/updateminisprites.sh b/updateminisprites.sh index 43959553..0ea3aff2 100755 --- a/updateminisprites.sh +++ b/updateminisprites.sh @@ -3,7 +3,7 @@ set -ex cd ~/smogon/sprites -./build.sh +pnpm build # Update dex cd ~/smogon/smogon.com/run diff --git a/updatepmdsprites.sh b/updatepmdsprites.sh index eaaef7d7..24a22f40 100755 --- a/updatepmdsprites.sh +++ b/updatepmdsprites.sh @@ -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