layero 0.11.4 → 0.11.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.
package/README.md CHANGED
@@ -357,7 +357,7 @@ Full reference: <https://docs.layero.ru/cli/json-events>
357
357
 
358
358
  `layero deploy` honours `.gitignore` and `.layeroignore`. Always excluded:
359
359
  `node_modules`, `.git`, `dist`, `build`, `.next`, `.env*`, `.DS_Store`, and
360
- the rule files themselves. Maximum archive size is 200 MB.
360
+ the rule files themselves. Maximum archive size is 500 MB.
361
361
 
362
362
  ## Config
363
363
 
package/dist/pack.js CHANGED
@@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
4
4
  import path from "node:path";
5
5
  import { create as tarCreate } from "tar";
6
6
  import ignore from "ignore";
7
- const MAX_BYTES = 200 * 1024 * 1024;
7
+ const MAX_BYTES = 500 * 1024 * 1024;
8
8
  const DEFAULT_IGNORE = [
9
9
  "node_modules",
10
10
  ".git",
@@ -176,7 +176,7 @@ export async function packDirectory(targetDir, projectName) {
176
176
  const fst = await fs.stat(archivePath);
177
177
  if (fst.size > MAX_BYTES) {
178
178
  await fs.unlink(archivePath).catch(() => undefined);
179
- throw new Error(`archive is ${(fst.size / (1024 * 1024)).toFixed(1)}MB — over the 200MB limit. ` +
179
+ throw new Error(`archive is ${(fst.size / (1024 * 1024)).toFixed(1)}MB — over the ${MAX_BYTES / (1024 * 1024)}MB limit. ` +
180
180
  "Trim the build output or skip large files (`.layeroignore`).");
181
181
  }
182
182
  const sha256 = await sha256OfFile(archivePath);
@@ -206,7 +206,7 @@ export async function packCwd(cwd, projectName) {
206
206
  const stat = await fs.stat(archivePath);
207
207
  if (stat.size > MAX_BYTES) {
208
208
  await fs.unlink(archivePath).catch(() => undefined);
209
- throw new Error(`archive is ${(stat.size / (1024 * 1024)).toFixed(1)}MB — over the 200MB limit. ` +
209
+ throw new Error(`archive is ${(stat.size / (1024 * 1024)).toFixed(1)}MB — over the ${MAX_BYTES / (1024 * 1024)}MB limit. ` +
210
210
  "Add large directories to .layeroignore.");
211
211
  }
212
212
  const sha256 = await sha256OfFile(archivePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "layero",
3
- "version": "0.11.4",
3
+ "version": "0.11.5",
4
4
  "description": "Layero CLI — deploy a directory or a repo to hosting with build servers in Russia. JSON events and exit codes for AI agents and CI.",
5
5
  "license": "MIT",
6
6
  "type": "module",