create-payload-app 0.3.31 → 0.3.33

Sign up to get free protection for your applications and to get access to all the features.
@@ -106,19 +106,19 @@ function getValidTemplates() {
106
106
  {
107
107
  name: 'cloud-template-blank',
108
108
  type: 'starter',
109
- url: 'https://github.com/payloadcms/payload/templates/blank',
109
+ url: 'https://github.com/payloadcms/template-blank',
110
110
  description: 'Blank template for Payload Cloud',
111
111
  },
112
112
  {
113
113
  name: 'cloud-template-website',
114
114
  type: 'starter',
115
- url: 'https://github.com/payloadcms/payload/templates/website',
115
+ url: 'https://github.com/payloadcms/template-website',
116
116
  description: 'Website template for Payload Cloud',
117
117
  },
118
118
  {
119
119
  name: 'cloud-template-ecommerce',
120
120
  type: 'starter',
121
- url: 'https://github.com/payloadcms/payload/templates/ecommerce',
121
+ url: 'https://github.com/payloadcms/template-ecommerce',
122
122
  description: 'E-commerce template for Payload Cloud',
123
123
  },
124
124
  ];
@@ -61,7 +61,7 @@ function helpMessage() {
61
61
  case 0: return [4 /*yield*/, (0, templates_1.getValidTemplates)()];
62
62
  case 1:
63
63
  validTemplates = _a.sent();
64
- return [2 /*return*/, (0, chalk_1.default)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n {bold USAGE}\n\n {dim $} {bold npx create-payload-app}\n {dim $} {bold npx create-payload-app} my-project\n {dim $} {bold npx create-payload-app} -n my-project -t blog\n\n {bold OPTIONS}\n\n -n {underline my-payload-app} Set project name\n -t {underline template_name} Choose specific template\n\n {dim Available templates: ", "}\n\n --use-npm Use npm to install dependencies\n --no-deps Do not install any dependencies\n -h Show help\n"], ["\n {bold USAGE}\n\n {dim $} {bold npx create-payload-app}\n {dim $} {bold npx create-payload-app} my-project\n {dim $} {bold npx create-payload-app} -n my-project -t blog\n\n {bold OPTIONS}\n\n -n {underline my-payload-app} Set project name\n -t {underline template_name} Choose specific template\n\n {dim Available templates: ", "}\n\n --use-npm Use npm to install dependencies\n --no-deps Do not install any dependencies\n -h Show help\n"])), formatTemplates(validTemplates))];
64
+ return [2 /*return*/, (0, chalk_1.default)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n {bold USAGE}\n\n {dim $} {bold npx create-payload-app}\n {dim $} {bold npx create-payload-app} my-project\n {dim $} {bold npx create-payload-app} -n my-project -t blog\n\n {bold OPTIONS}\n\n -n {underline my-payload-app} Set project name\n -t {underline template_name} Choose specific template\n\n {dim Available templates: ", "}\n\n --use-npm Use npm to install dependencies\n --no-deps Do not install any dependencies\n -h Show help\n"], ["\n {bold USAGE}\n\n {dim $} {bold npx create-payload-app}\n {dim $} {bold npx create-payload-app} my-project\n {dim $} {bold npx create-payload-app} -n my-project -t blog\n\n {bold OPTIONS}\n\n -n {underline my-payload-app} Set project name\n -t {underline template_name} Choose specific template\n\n {dim Available templates: ", "}\n\n --use-npm Use npm to install dependencies\n --no-deps Do not install any dependencies\n -h Show help\n"])), formatTemplates(validTemplates))];
65
65
  }
66
66
  });
67
67
  });
@@ -69,7 +69,7 @@ function helpMessage() {
69
69
  exports.helpMessage = helpMessage;
70
70
  function formatTemplates(templates) {
71
71
  return "\n\n".concat(spacer).concat(templates
72
- .map(function (t) { return "".concat(t.name).concat(' '.repeat(18 - t.name.length)).concat(t.description); })
72
+ .map(function (t) { return "".concat(t.name).concat(' '.repeat(28 - t.name.length)).concat(t.description); })
73
73
  .join("\n".concat(spacer)));
74
74
  }
75
75
  function successMessage(projectDir, packageManager) {
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.3.31",
40
+ "version": "0.3.33",
41
41
  "devDependencies": {
42
42
  "@types/command-exists": "^1.2.0",
43
43
  "@types/degit": "^2.8.3",