mirror of
https://github.com/smogon/sprites.git
synced 2026-08-20 00:34:22 -05:00
Update callers to node index.ts; refresh CI/README/gitignore
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,4 +3,4 @@ build/
|
||||
node_modules
|
||||
pnpm-debug.log
|
||||
tup.config
|
||||
dist/
|
||||
.cache/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user