@zaisma/cli 0.17.0 → 0.18.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.
Files changed (2) hide show
  1. package/check.mjs +2 -2
  2. package/package.json +1 -1
package/check.mjs CHANGED
@@ -79,7 +79,7 @@ const lineAround = (text, index) => {
79
79
  * Engine and library output: Unity's framework and loader, a .js beside a .wasm of the same name (Godot,
80
80
  * Emscripten), wasm-bindgen's glue (Bevy, Trunk) beside its _bg.wasm, macroquad's and miniquad's loader
81
81
  * beside a .wasm, and minified libraries. Their code mentions dialogs, cameras and the like without the game
82
- * using them, so the behaviour checks skip them.
82
+ * using them, so the behavior checks skip them.
83
83
  */
84
84
  export function isEngineOutput(path, lowercasePaths) {
85
85
  const lowercasePath = path.toLowerCase();
@@ -346,7 +346,7 @@ export function checkGameFiles(files, { slug = null, ownServerUrls = null } = {}
346
346
  const extension = extensionOf(path);
347
347
  if (PRECOMPRESSED_EXTENSIONS.includes(extension)) {
348
348
  const unpackedPath = path.slice(0, -extension.length - 1);
349
- add("precompressed_file", { message: `${path} is pre-compressed.`, path, fix: `zaisma upload unpacks it into ${unpackedPath} and points the game at it; Zaisma compresses files for players itself. With upload_files or the API, turn off compression in the engine's build settings (Unity: Publishing Settings, Compression Format: Disabled) and build again.` });
349
+ add("precompressed_file", { message: `${path} is pre-compressed.`, path, fix: `zaisma upload unpacks it into ${unpackedPath} and points the game at it; Zaisma compresses files for players itself, even Unity and Godot data files. With upload_files or the API, turn off compression in the engine's build settings (Unity: Publishing Settings, Compression Format: Disabled) and build again.` });
350
350
  } else if (!GAME_FILE_EXTENSIONS.includes(extension)) {
351
351
  add("file_type_not_allowed", { message: `${path}: .${extension || "(no extension)"} files aren't allowed in games.`, path, fix: `Leave it out of the game's folder. Games can have: ${GAME_FILE_EXTENSIONS.join(", ")}.` });
352
352
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zaisma/cli",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Upload and publish browser games on Zaisma from the command line.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://zaisma.com",