create-easy-cms 1.18.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-CIIWG6IY.js";
4
+ } from "./chunk-7NDO3X22.js";
5
5
 
6
6
  // src/bin.ts
7
7
  process.exitCode = await run(process.argv.slice(2));
@@ -121,6 +121,8 @@ export default defineConfig({
121
121
  // Secrets used before EASY_CMS_SECRET while it is replaced, comma-separated: what they signed
122
122
  // still verifies.
123
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: {},
124
126
  ${adapter}
125
127
  admin: { locale: 'en' },${options.standalone ? `
126
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-CIIWG6IY.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.18.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",