@contentful/create-contentful-app 1.8.0 → 1.8.1

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/lib/index.js +5 -5
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -107,10 +107,10 @@ function initProject(appName, options) {
107
107
  interactive: isInteractive,
108
108
  });
109
109
  yield (0, template_1.cloneTemplateIn)(fullAppFolder, templateSource);
110
- // Ask to include a hosted app action if the user has selected a template
111
- if (isInteractive && (0, utils_1.isContentfulTemplate)(templateSource)) {
112
- yield (0, includeAppAction_1.promptIncludeActionInTemplate)({ fullAppFolder, templateSource });
113
- }
110
+ // // Ask to include a hosted app action if the user has selected a template
111
+ // if (isInteractive && isContentfulTemplate(templateSource)) {
112
+ // await promptIncludeActionInTemplate({ fullAppFolder, templateSource });
113
+ // }
114
114
  if (!isInteractive && (0, utils_1.isContentfulTemplate)(templateSource) && normalizedOptions.action) {
115
115
  (0, includeAppAction_1.cloneAppAction)(!!normalizedOptions.typescript, fullAppFolder);
116
116
  }
@@ -157,7 +157,7 @@ function initProject(appName, options) {
157
157
  `provide a template by its source repository.`,
158
158
  `format: URL (HTTPS or SSH) or ${(0, logger_1.code)('vendor:user/repo')} (e.g., ${(0, logger_1.code)('github:user/repo')})`,
159
159
  ].join('\n'))
160
- .option('-a, --action', 'include a hosted app action in your app')
160
+ // .option('-a, --action', 'include a hosted app action in your app')
161
161
  .action(initProject);
162
162
  yield commander_1.program.parseAsync();
163
163
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/create-contentful-app",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "A template for building Contentful Apps",
5
5
  "keywords": [
6
6
  "contentful",
@@ -69,5 +69,5 @@
69
69
  "@types/validate-npm-package-name": "4.0.0",
70
70
  "contentful-management": "10.32.0"
71
71
  },
72
- "gitHead": "8904c6715a206de6298692d331c478a7bb90126e"
72
+ "gitHead": "73ac7a7815a48c595df7f92457e6a7dd5c5e9a49"
73
73
  }