@nimtech/nimpress 2.6.5 → 2.6.7

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.
@@ -113,10 +113,11 @@
113
113
  "/auth/callback"
114
114
  ]
115
115
  },
116
- "gateRedirect": {
117
- "type": "string",
118
- "description": "Path on this origin a viewer is sent to when a gated page denies them, unless the page names its own gateRedirect.",
116
+ "gateDenied": {
117
+ "type": ["string", "integer"],
118
+ "description": "What a gated page does for a viewer it denies, unless the page sets its own gateDenied: a path on this origin to redirect to, or 404 to show the not found page. Defaults to \"/\".",
119
119
  "examples": [
120
+ "404",
120
121
  "/"
121
122
  ]
122
123
  },
package/dist/cli.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { d as J, c as Ae, r as Me, s as Bt, p as Gt, a as tt, b as pe, e as Ht, f as Ut, g as De, h as st, i as Zt, j as nt, k as Vt, l as Kt, m as Yt, C as ge, n as Qt, o as ot, q as Ge, w as me, t as rt, u as Xt, v as qt, x as es, y as ts, z as ss, A as ns, B as we, D as os } from "./plugin-BjKZte4U.js";
1
+ import { d as J, c as Ae, r as Me, s as Bt, p as Gt, a as tt, b as pe, e as Ht, f as Ut, g as De, h as st, i as Zt, j as nt, k as Vt, l as Kt, m as Yt, C as ge, n as Qt, o as ot, q as Ge, w as me, t as rt, u as Xt, v as qt, x as es, y as ts, z as ss, A as ns, B as we, D as os } from "./plugin-BurT-nG2.js";
2
2
  import { join as d, dirname as N, relative as F, sep as L, extname as fe, resolve as x, basename as D } from "node:path";
3
3
  import { readdirSync as re, existsSync as b, writeFileSync as W, mkdirSync as B, rmSync as q, readFileSync as C, statSync as it, watch as He } from "node:fs";
4
4
  import le from "gray-matter";