create-zerra-app 1.2.1 → 1.2.2

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.
Files changed (2) hide show
  1. package/index.js +8 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -54,7 +54,10 @@ program
54
54
  { name: "Automatic Input Validation (Schema)", value: "validation", checked: true },
55
55
  { name: "Multipart File Uploads (req.files)", value: "multipart", checked: true },
56
56
  { name: "Smart Error Handling (_error.js)", value: "errors", checked: true },
57
- { name: "Dev Dashboard (/__zerra)", value: "dashboard", checked: true }
57
+ { name: "Dev Dashboard (/__zerra)", value: "dashboard", checked: true },
58
+ { name: "Static File Serving (public/)", value: "static", checked: true },
59
+ { name: "Built-in Rate Limiting", value: "rateLimiting", checked: false },
60
+ { name: "Cron Job Scheduler (jobs/)", value: "cron", checked: true }
58
61
  ]
59
62
  },
60
63
  {
@@ -224,7 +227,10 @@ program
224
227
  validation: answers.features.includes('validation'),
225
228
  multipart: answers.features.includes('multipart'),
226
229
  errors: answers.features.includes('errors'),
227
- dashboard: answers.features.includes('dashboard')
230
+ dashboard: answers.features.includes('dashboard'),
231
+ static: answers.features.includes('static'),
232
+ rateLimiting: answers.features.includes('rateLimiting'),
233
+ cron: answers.features.includes('cron')
228
234
  };
229
235
 
230
236
  const configJsonPath = path.join(targetPath, 'zerra.config.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zerra-app",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {