@contentful/app-scripts 2.0.0 → 2.0.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.
@@ -8,6 +8,7 @@ const chalk_1 = __importDefault(require("chalk"));
8
8
  const ora_1 = __importDefault(require("ora"));
9
9
  const get_app_info_1 = require("../get-app-info");
10
10
  const validate_arguments_1 = require("../validate-arguments");
11
+ const constants_1 = require("../constants");
11
12
  const requiredOptions = {
12
13
  organizationId: '--organization-id',
13
14
  definitionId: '--definition-id',
@@ -20,7 +21,7 @@ async function getCreateAppActionsArgs(settings) {
20
21
  const appInfo = await (0, get_app_info_1.getAppInfo)(settings);
21
22
  return {
22
23
  host: settings.host || 'api.contentful.com',
23
- manifestFile: settings.manifestFile,
24
+ manifestFile: settings.manifestFile || constants_1.DEFAULT_APP_MANIFEST_PATH,
24
25
  accessToken: settings.token,
25
26
  appDefinitionId: appInfo.definition.value,
26
27
  organizationId: appInfo.organization.value,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/app-scripts",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "A collection of scripts for building Contentful Apps",
5
5
  "author": "Contentful GmbH",
6
6
  "license": "MIT",
@@ -67,7 +67,7 @@
67
67
  "tiged": "^2.12.7",
68
68
  "zod": "^3.24.1"
69
69
  },
70
- "gitHead": "b978a5b14bd327dafbd4349fbc6b624eaffb5e05",
70
+ "gitHead": "2536f9ce6875b280c710266a3935167873fdf8ce",
71
71
  "devDependencies": {
72
72
  "@types/adm-zip": "0.5.7",
73
73
  "@types/analytics-node": "3.1.14",