@contentful/app-scripts 1.5.5 → 1.6.0

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.
@@ -22,12 +22,12 @@ NOTE: This will create an app definition in your Contentful organization.
22
22
  message: `Select where your app can be rendered:`,
23
23
  type: 'checkbox',
24
24
  choices: [
25
- { name: 'App configuration screen (app-config) ', value: 'app-config' },
26
- { name: 'Entry field (entry-field) ', value: 'entry-field' },
27
- { name: 'Entry sidebar (entry-sidebar) ', value: 'entry-sidebar' },
28
- { name: 'Entry editor (entry-editor)', value: 'entry-editor' },
29
- { name: 'Page (page) ', value: 'page' },
30
- { name: 'Home (home) ', value: 'home' },
25
+ { name: 'App configuration screen ', value: 'app-config' },
26
+ { name: 'Entry field', value: 'entry-field' },
27
+ { name: 'Entry sidebar', value: 'entry-sidebar' },
28
+ { name: 'Entry editor', value: 'entry-editor' },
29
+ { name: 'Page', value: 'page' },
30
+ { name: 'Home', value: 'home' },
31
31
  ],
32
32
  },
33
33
  {
@@ -94,7 +94,7 @@ async function createAppDefinition(accessToken, appDefinitionSettings = { locati
94
94
  });
95
95
 
96
96
  console.log(`
97
- ${chalk.cyan('Success!')} Created an app definition for ${chalk.bold(appName)} in ${chalk.bold(
97
+ ${chalk.greenBright('Success!')} Created an app definition for ${chalk.bold(appName)} in ${chalk.bold(
98
98
  selectedOrg.name
99
99
  )}.
100
100
 
@@ -102,11 +102,12 @@ async function createAppDefinition(accessToken, appDefinitionSettings = { locati
102
102
  ${chalk.underline(`https://app.contentful.com/deeplink?link=org`)}`)}
103
103
 
104
104
  ${chalk.bold('Next steps:')}
105
- 1. To develop, run ${chalk.cyan('`npm start`')} inside your app folder and open:
105
+ 1. Run your app with ${chalk.cyan('`npm start`')} inside of your app folder.
106
+ 2. Install this app definition to one of your spaces by opening:
106
107
  ${chalk.underline(
107
108
  `https://app.contentful.com/deeplink?link=apps&id=${createdAppDefinition.sys.id}`
108
109
  )}
109
- 2. To learn how to build your first Contentful app, visit:
110
+ 3. Learn how to build your first Contentful app:
110
111
  ${chalk.underline(`https://ctfl.io/app-tutorial`)}
111
112
  `);
112
113
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/app-scripts",
3
- "version": "1.5.5",
3
+ "version": "1.6.0",
4
4
  "description": "A collection of scripts for building Contentful Apps",
5
5
  "author": "Contentful GmbH",
6
6
  "license": "MIT",
@@ -52,7 +52,7 @@
52
52
  "bottleneck": "2.19.5",
53
53
  "chalk": "4.1.2",
54
54
  "commander": "9.4.1",
55
- "contentful-management": "10.25.0",
55
+ "contentful-management": "10.26.0",
56
56
  "dotenv": "16.0.3",
57
57
  "ignore": "5.2.4",
58
58
  "inquirer": "8.2.5",
@@ -60,5 +60,5 @@
60
60
  "open": "8.4.0",
61
61
  "ora": "5.4.1"
62
62
  },
63
- "gitHead": "ee896fdd5e7a6556e380bc228c3d1fc35029ec3d"
63
+ "gitHead": "9db3c2b2fb5289ea3c17f6d9ad85cf0c184ed531"
64
64
  }