@beechcms/cms 0.9.3 → 0.9.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/bin/create.mjs +3 -0
- package/package.json +4 -4
package/bin/create.mjs
CHANGED
|
@@ -77,6 +77,7 @@ function buildWranglerJsonc(cfg) {
|
|
|
77
77
|
"CORS_ORIGINS": "${cfg.corsOrigins}",
|
|
78
78
|
"PUBLIC_READ_API_KEY": "${cfg.publicReadKey}",
|
|
79
79
|
"PUBLIC_WRITE_API_KEY": "${cfg.publicWriteKey}",
|
|
80
|
+
"PUBLIC_TIME_TRAP_SECRET": "${cfg.timeTrapSecret}",
|
|
80
81
|
"APP_URL": "${cfg.appUrl || 'http://localhost:5173'}"
|
|
81
82
|
},
|
|
82
83
|
|
|
@@ -304,6 +305,7 @@ async function main() {
|
|
|
304
305
|
const jwtSecret = generateSecret(32)
|
|
305
306
|
const publicReadKey = generateSecret(16)
|
|
306
307
|
const publicWriteKey = generateSecret(16)
|
|
308
|
+
const timeTrapSecret = generateSecret(32)
|
|
307
309
|
|
|
308
310
|
const corsOrigins = cloudflare
|
|
309
311
|
? ['http://localhost:5173', 'http://localhost:5174', cloudflare.appUrl]
|
|
@@ -328,6 +330,7 @@ async function main() {
|
|
|
328
330
|
corsOrigins,
|
|
329
331
|
publicReadKey,
|
|
330
332
|
publicWriteKey,
|
|
333
|
+
timeTrapSecret,
|
|
331
334
|
appUrl: cloudflare?.appUrl ?? '',
|
|
332
335
|
}))
|
|
333
336
|
writeFile(join(targetDir, '.dev.vars'), buildDevVars(cloudflare))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beechcms/cms",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"description": "Edge-Native, Schema-Driven Headless CMS built on Cloudflare Workers, D1, and R2. Features the Botanical Engine for alias-stable field management, a modular widget layer, and a React + Vite admin dashboard.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"typedoc-plugin-markdown": "^4.12.0",
|
|
60
60
|
"typescript": "^5.9.3",
|
|
61
61
|
"vitepress": "^1.6.4",
|
|
62
|
-
"vitest": "^4.1.
|
|
62
|
+
"vitest": "^4.1.12"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@beechcms/cli": "^0.9.
|
|
66
|
-
"@clack/prompts": "^0.
|
|
65
|
+
"@beechcms/cli": "^0.9.5",
|
|
66
|
+
"@clack/prompts": "^0.11.0",
|
|
67
67
|
"picocolors": "^1.1.1"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|