create-payload-app 0.5.0-beta.5 → 0.5.0-beta.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -94,7 +94,7 @@ function selectDb(args, projectName) {
94
94
  return [4 /*yield*/, (0, prompts_1.default)({
95
95
  type: 'text',
96
96
  name: 'value',
97
- message: "Enter ".concat(dbChoice.title, " connection string"),
97
+ message: "Enter ".concat(dbChoice.title.split(' ')[0], " connection string"),
98
98
  initial: "".concat(dbChoice.dbConnectionPrefix).concat(projectName === '.'
99
99
  ? "payload-".concat(getRandomDigitSuffix())
100
100
  : (0, slugify_1.default)(projectName)),
package/dist/main.js CHANGED
@@ -67,6 +67,7 @@ var Main = /** @class */ (function () {
67
67
  '--no-deps': Boolean,
68
68
  '--dry-run': Boolean,
69
69
  '--beta': Boolean,
70
+ '-d': '--db',
70
71
  '-h': '--help',
71
72
  '-n': '--name',
72
73
  '-t': '--template',
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "prompts": "^2.4.2",
38
38
  "terminal-link": "^2.1.1"
39
39
  },
40
- "version": "0.5.0-beta.5",
40
+ "version": "0.5.0-beta.6",
41
41
  "devDependencies": {
42
42
  "@types/command-exists": "^1.2.0",
43
43
  "@types/degit": "^2.8.3",