Update callers to node index.ts; refresh CI/README/gitignore

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Christopher Monsanto
2026-08-12 17:45:35 -04:00
parent 75580a962a
commit 1cb32a62f2
4 changed files with 8 additions and 8 deletions

2
.gitignore vendored
View File

@@ -3,4 +3,4 @@ build/
node_modules
pnpm-debug.log
tup.config
dist/
.cache/

View File

@@ -2,13 +2,13 @@ sudo: false
dist: focal
language: node_js
node_js:
- '14'
- '24'
cache:
npm: false
directories:
- "~/.pnpm-store"
before_install:
- curl -L https://unpkg.com/@pnpm/self-installer | node
- npm install -g pnpm
- pnpm config set store-dir ~/.pnpm-store
install:
- pnpm install

View File

@@ -12,7 +12,7 @@ This project depends on
- [OptiPNG](http://optipng.sourceforge.net/) (optional)
- [pngquant](https://pngquant.org/) (optional)
- [pnpm](https://pnpm.js.org)
- [node.js](https://nodejs.org) >= 13
- [node.js](https://nodejs.org) >= 24
- [wine](https://www.winehq.org/) (optional)
- cwebp

View File

@@ -88,7 +88,7 @@ rule(
"ps-pokemon.sheet.mjs",
{
display="ps pokemon sheet",
"node tools/sheet %f %o",
"node tools/sheet/index.ts %f %o",
compresspng{config="SPRITESHEET"}
},
"build/ps/pokemonicons-sheet.png"
@@ -99,7 +99,7 @@ rule(
-- display="ps trainers sheet",
-- {"ps-trainers.sheet.mjs"},
-- {
-- "node tools/sheet %f %o",
-- "node tools/sheet/index.ts %f %o",
-- compresspng{config="SPRITESHEET"}
-- },
-- {"build/ps/trainers-sheet.png"}
@@ -109,7 +109,7 @@ rule(
"ps-items.sheet.mjs",
{
display="ps items sheet",
"node tools/sheet %f %o",
"node tools/sheet/index.ts %f %o",
compresspng{config="SPRITESHEET"}
},
"build/ps/itemicons-sheet.png"
@@ -151,7 +151,7 @@ rule(
spriteglob({"src/minisprites/pokemon/gen6/*", "src/minisprites/items/*"}, {a = false}),
{
display="smogdex sheet",
"node tools/smogdexspritesheet --image build/smogon/spritesheet.png --stylesheet build/smogon/spritesheet.css -- %f",
"node tools/smogdexspritesheet/index.ts --image build/smogon/spritesheet.png --stylesheet build/smogon/spritesheet.css -- %f",
"cwebp -z 9 build/smogon/spritesheet.png -o build/smogon/spritesheet.webp",
"rm build/smogon/spritesheet.png"
},