@nimtech/nimpress 2.6.4 → 2.6.6
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/config.schema.json +8 -0
- package/dist/cli.es.js +1 -1
- package/dist/nimpress.es.js +1503 -1495
- package/dist/{plugin-FqF3mcpj.js → plugin-BurT-nG2.js} +3 -1
- package/dist/plugin.es.js +1 -1
- package/dist/src/auth/session.d.ts +1 -0
- package/dist/src/auth/session.d.ts.map +1 -1
- package/dist/src/config/schema.d.ts +9 -0
- package/dist/src/config/schema.d.ts.map +1 -1
- package/dist/src/framework/gated.d.ts.map +1 -1
- package/dist/src/types.d.ts +3 -0
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -113,6 +113,14 @@
|
|
|
113
113
|
"/auth/callback"
|
|
114
114
|
]
|
|
115
115
|
},
|
|
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
|
+
"examples": [
|
|
120
|
+
"404",
|
|
121
|
+
"/"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
116
124
|
"headers": {
|
|
117
125
|
"type": "object",
|
|
118
126
|
"description": "Extra headers sent to the auth endpoints.",
|
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-
|
|
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";
|