pixelkiln 0.53.1 → 0.53.2

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/cli.js CHANGED
@@ -16117,13 +16117,13 @@ async function runExport(args) {
16117
16117
  const format = args.format ?? "generic";
16118
16118
  const manifestDir = path38.dirname(path38.resolve(args.manifest));
16119
16119
  const selected = specs.filter((spec) => {
16120
- if (spec.generator !== "tiles") return false;
16120
+ if (spec.generator !== "tiles" && spec.generator !== "terrain") return false;
16121
16121
  if (args.styles.length && !args.styles.includes(spec.styleId)) return false;
16122
16122
  if (args.assets.length && !args.assets.includes(spec.assetId)) return false;
16123
16123
  return Boolean(lock.entries[lockKey(spec.styleId, spec.assetId)]);
16124
16124
  });
16125
16125
  if (!selected.length) {
16126
- throw new Error("No downloaded tiles entries match the requested --style/--only filters.");
16126
+ throw new Error("No downloaded tiles/terrain entries match the requested --style/--only filters.");
16127
16127
  }
16128
16128
  if (args.out && selected.length > 1) {
16129
16129
  throw new Error("--out can name one tileset only; add --style/--only to select one asset.");