@contentful/app-scripts 1.5.6 → 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
|
|
26
|
-
{ name: 'Entry field
|
|
27
|
-
{ name: 'Entry sidebar
|
|
28
|
-
{ name: 'Entry editor
|
|
29
|
-
{ name: 'Page
|
|
30
|
-
{ name: '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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"open": "8.4.0",
|
|
61
61
|
"ora": "5.4.1"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "9db3c2b2fb5289ea3c17f6d9ad85cf0c184ed531"
|
|
64
64
|
}
|