htmlship 0.3.2 → 0.3.3

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
@@ -30,7 +30,7 @@ npx htmlship deploy --dry-run # build, but don't publis
30
30
  npx htmlship deploy --build-cmd "vite build" --out dist
31
31
  ```
32
32
 
33
- The build always runs **locally on your machine** (npm/pnpm/yarn/bun, auto-detected) — never on the server. Either way the result renders in its own isolated, opaque origin (no cookies, no same-origin access, no network egress, no `eval`) via a sandboxed CSP; single-file pages and site trees are both capped at 10 MB.
33
+ The build always runs **locally on your machine** (npm/pnpm/yarn/bun, auto-detected) — never on the server. Either way the result renders in its own isolated, opaque origin (no cookies, no same-origin access, no network egress, no `eval`) via a sandboxed CSP; single-file pages are capped at 10 MB, multi-file sites at 50 MB.
34
34
 
35
35
  For Next.js the CLI builds a static export based at the slug path automatically (no `next.config` edits — JS, `.mjs`, and `.ts` configs are all handled) as long as the app is statically exportable (no middleware/SSR). For other frameworks, `--site` ships any static build; set your framework's base path to `/__htmlship_base__` so assets resolve under `/{slug}/`. The same flow is available to agents through the `deploy_project` MCP tool.
36
36
 
package/dist/cli.js CHANGED
@@ -344,7 +344,7 @@ export default typeof orig === 'function' ? ((...a) => ({ ...orig(...a), ...over
344
344
  }
345
345
  };
346
346
  }
347
- function packageSite(outDir, maxBytes = 10 * 1024 * 1024) {
347
+ function packageSite(outDir, maxBytes = 50 * 1024 * 1024) {
348
348
  const files = [];
349
349
  let total = 0;
350
350
  const walk = (d) => {
@@ -456,7 +456,7 @@ var VERSION;
456
456
  var init_version = __esm({
457
457
  "src/version.ts"() {
458
458
  "use strict";
459
- VERSION = "0.3.2";
459
+ VERSION = "0.3.3";
460
460
  }
461
461
  });
462
462
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "htmlship",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Host and share HTML pages from LLMs and coding agents in one line. CLI + MCP server.",
5
5
  "keywords": [
6
6
  "html",