staticx 0.1.7 → 0.1.8

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
@@ -50,6 +50,8 @@ The command starts the manual DNS flow and prints the single DNS record to creat
50
50
 
51
51
  If you want StaticX to create the DNS record inside an external DNS account, approve DNS Connect from the dashboard. The CLI cannot authorize an external provider silently because the domain owner must approve access in a browser.
52
52
 
53
+ Generated subdomain suffixes are configured from the dashboard. If an account has an active publishing domain, open `Site → Settings → Domain` to save a free subdomain on either the StaticX default domain or that publishing domain. The CLI custom-domain command is for exact hosts such as `app.example.com`.
54
+
53
55
  Check progress any time:
54
56
 
55
57
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "staticx",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Public CLI for STATICX using token-authenticated /api/v1 routes.",
5
5
  "type": "module",
6
6
  "publishConfig": {
package/src/output.js CHANGED
@@ -113,6 +113,7 @@ export function printCliGuide() {
113
113
  console.log('Token scopes: use Site tokens for one-site deploys, Workspace tokens for client workspaces, and Global tokens only for broad operator workflows.');
114
114
  console.log('Build rule: deploy folders must include index.html or index.htm and 404.html at the root.');
115
115
  console.log('Domain rule: CLI custom domains use the one-record manual DNS flow. DNS Connect requires browser approval in the dashboard.');
116
+ console.log('Publishing-domain rule: generated subdomain suffix changes are dashboard-only in Site Settings > Domain.');
116
117
  console.log('Plan limits: Free includes 1 site, 500 MB storage, 500 MB uploads, 1,000 form entries, 1 seat, and 5 rollback versions. Plus and Pro raise capacity. Agency uses custom capacity.');
117
118
  console.log('Quota rule: stop on PLAN_QUOTA_EXCEEDED and return the exact API message before retrying.');
118
119
  }
@@ -194,6 +195,7 @@ export function cliGuideJson() {
194
195
  'https://staticx.site/api/v1/openapi.json',
195
196
  ],
196
197
  build_rule: 'Deploy folders must include index.html or index.htm and 404.html at the root.',
198
+ domain_rule: 'CLI exact custom domains use the one-record manual DNS flow. Generated subdomain suffix changes are dashboard-only in Site Settings > Domain.',
197
199
  token_scopes: 'Use Site tokens for one-site deploys, Workspace tokens for client workspaces, and Global tokens only for broad operator workflows.',
198
200
  plan_limits: {
199
201
  free: '1 site, 500 MB storage, 500 MB max upload, 1,000 form entries, 1 team seat, last 5 rollback versions.',