create-shiftapi 0.0.7 → 0.0.9

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/dist/index.js +1 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -156,6 +156,7 @@ async function main() {
156
156
  placeholder: "8080",
157
157
  defaultValue: "8080",
158
158
  validate: (value) => {
159
+ if (!value) return;
159
160
  const n = parseInt(value, 10);
160
161
  if (isNaN(n) || n < 1 || n > 65535) {
161
162
  return "Port must be a number between 1 and 65535";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-shiftapi",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "Scaffold a new ShiftAPI fullstack app",
5
5
  "author": "Frank Chiarulli Jr. <frank@frankchiarulli.com>",
6
6
  "license": "MIT",