@pietrovich/wot-utils 0.2.4 → 0.2.5

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3191,7 +3191,7 @@ async function pogsPipeline(app, atlasManager2, builder, options) {
3191
3191
 
3192
3192
  // src/commands/bake/bake-command.ts
3193
3193
  import { join as join11 } from "path";
3194
- import { Command as Command20 } from "commander";
3194
+ import { Command as Command20, Option } from "commander";
3195
3195
  function resolveBakeOptions(options) {
3196
3196
  const srcDir = options.atlasDir ?? join11(options.out, ".atlases");
3197
3197
  const clean = options.clean ?? options.fresh;
@@ -3209,7 +3209,7 @@ function resolveBakeOptions(options) {
3209
3209
  };
3210
3210
  }
3211
3211
  function bakeSubcommand(name, description) {
3212
- return new Command20(name).description(description).requiredOption("--out <dir>", "output directory for the final mod files").option("--atlas-dir <dir>", "directory with extracted atlas DDS/PNG/XML files (default: <out>/.atlases)").option("--game-dir <dir>", "WoT game directory \u2014 used to extract missing atlas files automatically").option("--clean", "wipe build artefacts before starting").option("--fresh", "alias for --clean").option("--prune", "remove intermediate build directory after completion").option("--tidy", "alias for --prune").option("--limit [n]", "render only the first N icons and stop (default N: 10)", "10");
3212
+ return new Command20(name).description(description).requiredOption("--out <dir>", "output directory for the final mod files").option("--atlas-dir <dir>", "directory with extracted atlas DDS/PNG/XML files (default: <out>/.atlases)").option("--game-dir <dir>", "WoT game directory \u2014 used to extract missing atlas files automatically").option("--clean", "wipe build artefacts before starting").option("--fresh", "alias for --clean").option("--prune", "remove intermediate build directory after completion").option("--tidy", "alias for --prune").addOption(new Option("--limit [n]", "render only the first N icons and stop (default N: 10)").preset("10"));
3213
3213
  }
3214
3214
 
3215
3215
  // src/commands/bake/all.ts
@@ -3300,7 +3300,7 @@ function extractIconAssetsCommand() {
3300
3300
 
3301
3301
  // src/index.ts
3302
3302
  var _version = "";
3303
- var version = _version || "0.2.3";
3303
+ var version = _version || "0.2.4";
3304
3304
  config({ path: resolve6(process.env.PIE_WOT_CWD ?? process.cwd(), ".env") });
3305
3305
  var wgData = new WGData();
3306
3306
  var atlasManager = new AtlasManager();
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "private": false,
7
7
  "repository": "github:pietrovich/wot-utils",
8
- "version": "0.2.4",
8
+ "version": "0.2.5",
9
9
  "description": "CLI utilities for World of Tanks data and assets",
10
10
  "type": "module",
11
11
  "bin": {