create-easy-cms 1.17.0 → 1.19.0

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/dist/bin.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "./chunk-LWUKLYTQ.js";
4
+ } from "./chunk-7NDO3X22.js";
5
5
 
6
6
  // src/bin.ts
7
7
  process.exitCode = await run(process.argv.slice(2));
@@ -118,6 +118,11 @@ ${database}
118
118
 
119
119
  export default defineConfig({
120
120
  secret: process.env.EASY_CMS_SECRET ?? '',
121
+ // Secrets used before EASY_CMS_SECRET while it is replaced, comma-separated: what they signed
122
+ // still verifies.
123
+ previousSecrets: (process.env.EASY_CMS_PREVIOUS_SECRETS ?? '').split(',').filter(Boolean),
124
+ // Requests per minute: 300 per visitor's IP, 1200 per signed-in user and per API key.
125
+ rateLimit: {},
121
126
  ${adapter}
122
127
  admin: { locale: 'en' },${options.standalone ? `
123
128
  // Frontends on other origins that call the API from the browser.
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  runScript,
14
14
  translateCommands,
15
15
  translateLine
16
- } from "./chunk-LWUKLYTQ.js";
16
+ } from "./chunk-7NDO3X22.js";
17
17
  export {
18
18
  PACKAGE_MANAGERS,
19
19
  createCommand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-easy-cms",
3
- "version": "1.17.0",
3
+ "version": "1.19.0",
4
4
  "description": "Add Easy CMS to a Nuxt or Next.js project",
5
5
  "license": "MIT",
6
6
  "type": "module",