@contentful/app-scripts 1.0.1 → 1.1.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.
@@ -6,7 +6,7 @@ const { createClient } = require('contentful-management');
6
6
  async function activateBundle({ accessToken, organization, definition, bundleId }) {
7
7
  const activationSpinner = ora('Activating your bundle').start();
8
8
  const plainClient = createClient({ accessToken }, { type: 'plain' });
9
- const defaultLocations = [{location: 'dialog'}];
9
+ const defaultLocations = [{ location: 'dialog' }];
10
10
 
11
11
  const currentDefinition = await plainClient.appDefinition.get({
12
12
  appDefinitionId: definition.value,
@@ -44,12 +44,18 @@ async function activateBundle({ accessToken, organization, definition, bundleId
44
44
 
45
45
  console.log(`
46
46
  ${chalk.cyan('Success!')} Your app bundle was activated for ${chalk.cyan(
47
- definition.name
48
- )} in ${chalk.bold(organization.name)}.
47
+ definition.name
48
+ )} in ${chalk.bold(organization.name)}.
49
49
 
50
- Bundle Id: ${chalk.yellow(bundleId)}
51
- `
52
- );
50
+ Bundle Id: ${chalk.yellow(bundleId)}`);
51
+ console.log(`
52
+ ----------------------------
53
+
54
+ Ready to share your app with the world? Submit it to the Developer Showcase (${chalk.cyan(
55
+ 'https://ctfl.io/dev-showcase'
56
+ )}) or our Marketplace (${chalk.cyan('https://ctfl.io/submit-app')}).
57
+
58
+ `);
53
59
  }
54
60
 
55
61
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/app-scripts",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
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.0",
54
54
  "commander": "^9.0.0",
55
- "contentful-management": "^9.0.0",
55
+ "contentful-management": "^10.0.0",
56
56
  "dotenv": "^16.0.0",
57
57
  "ignore": "^5.1.8",
58
58
  "inquirer": "^8.0.0",
@@ -60,5 +60,5 @@
60
60
  "open": "^8.0.5",
61
61
  "ora": "^5.4.0"
62
62
  },
63
- "gitHead": "b2b1d00e9e8188922d32b0b97dc8fc9ebcc5b3c4"
63
+ "gitHead": "4c3506be3f52c7a8aae17deaa75acefc9a805b42"
64
64
  }