@pixelvibing/cli 0.38.0 → 0.38.1

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.
@@ -3917,7 +3917,7 @@ function gridProblem(footprint, cellsPerTile = CELLS_PER_TILE) {
3917
3917
  if (gridCanvas(footprint, cellsPerTile) !== null) return null;
3918
3918
  const side = Math.floor(ROUTE_MAX_EDGE / (cellsPerTile * MIN_CELL));
3919
3919
  const area = Math.floor(ROUTE_MAX_PIXELS / (cellsPerTile * MIN_CELL) ** 2);
3920
- return `a ${footprint.cols}×${footprint.rows} tile object is too large to draw on the grid: at most ${side} tiles on a side and ${area} tiles in all`;
3920
+ return `a ${footprint.cols}×${footprint.rows} tile object is too large to draw on the grid: at most ${side} tile${side === 1 ? "" : "s"} on a side and ${area} tile${area === 1 ? "" : "s"} in all`;
3921
3921
  }
3922
3922
  function designCanvas(tiles) {
3923
3923
  if (!Number.isInteger(tiles.cols) || !Number.isInteger(tiles.rows) || tiles.cols < 1 || tiles.rows < 1) return null;
@@ -4595,7 +4595,7 @@ const move = {
4595
4595
  );
4596
4596
  }
4597
4597
  };
4598
- const version = "0.38.0";
4598
+ const version = "0.38.1";
4599
4599
  const manifest = {
4600
4600
  version
4601
4601
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixelvibing/cli",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
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",