@pixelvibing/cli 0.25.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pixel-vibing-cli.js +3 -1
- package/package.json +1 -1
package/dist/pixel-vibing-cli.js
CHANGED
|
@@ -2079,6 +2079,8 @@ function scaleFor(tilesWide, tilesHigh) {
|
|
|
2079
2079
|
width: Math.floor(WINDOW_PX.width / SCALES.at(-1)),
|
|
2080
2080
|
height: Math.floor(WINDOW_PX.height / SCALES.at(-1))
|
|
2081
2081
|
});
|
|
2082
|
+
const REACHED = Array.from({ length: 16 }, (_value, mask) => [0, 1, 2, 3].filter((corner) => (mask >> corner & 1) === 1));
|
|
2083
|
+
REACHED.map((reached) => [0, 1, 2, 3].find((corner) => !reached.includes(corner)));
|
|
2082
2084
|
Array.from({ length: 16 }, (_value, index) => index);
|
|
2083
2085
|
const REFERENCE_FILE = /^[A-Za-z0-9_-][A-Za-z0-9._-]*(?:\/[A-Za-z0-9_-][A-Za-z0-9._-]*)*\.png$/i;
|
|
2084
2086
|
class ArtError extends Error {
|
|
@@ -4595,7 +4597,7 @@ const move = {
|
|
|
4595
4597
|
);
|
|
4596
4598
|
}
|
|
4597
4599
|
};
|
|
4598
|
-
const version = "0.
|
|
4600
|
+
const version = "0.27.0";
|
|
4599
4601
|
const manifest = {
|
|
4600
4602
|
version
|
|
4601
4603
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixelvibing/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "PixelVibing: pixel art game assets from the command line, and the Skills that teach coding assistants to make them.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://pixelvibing.com",
|