@contentful/app-scripts 1.30.0 → 1.30.2

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/utils.js +2 -1
  2. package/package.json +4 -4
package/lib/utils.js CHANGED
@@ -11,6 +11,7 @@ const cache_credential_1 = require("./cache-credential");
11
11
  const DEFAULT_MANIFEST_PATH = './contentful-app-manifest.json';
12
12
  const functionEvents = {
13
13
  fieldMappingEvent: 'graphql.field.mapping',
14
+ resourceTypeMappingEvent: 'graphql.resourcetype.mapping',
14
15
  queryEvent: 'graphql.query',
15
16
  resourceLinksSearchEvent: 'resources.search',
16
17
  resourceLinksLookupEvent: 'resources.lookup',
@@ -129,7 +130,7 @@ function getEntityFromManifest(type) {
129
130
  // eslint-disable-next-line no-process-exit
130
131
  process.exit(1);
131
132
  }
132
- // EntryFile is not used but we do want to strip it.
133
+ // EntryFile is not used but we do want to strip it
133
134
  // eslint-disable-next-line no-unused-vars
134
135
  const { entryFile: _, ...itemWithoutEntryFile } = item;
135
136
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/app-scripts",
3
- "version": "1.30.0",
3
+ "version": "1.30.2",
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": "12.1.0",
55
- "contentful-management": "11.35.1",
55
+ "contentful-management": "11.38.0",
56
56
  "dotenv": "16.4.5",
57
57
  "ignore": "6.0.2",
58
58
  "inquirer": "8.2.6",
@@ -60,7 +60,7 @@
60
60
  "open": "8.4.2",
61
61
  "ora": "5.4.1"
62
62
  },
63
- "gitHead": "1b6acf5b891b5e4f828b537f6e10fc4f72ff2df4",
63
+ "gitHead": "619c0ca0539ea7d7e315621997de4478552ab682",
64
64
  "devDependencies": {
65
65
  "@tsconfig/node18": "18.2.4",
66
66
  "@types/adm-zip": "0.5.6",
@@ -72,7 +72,7 @@
72
72
  "@types/proxyquire": "1.3.31",
73
73
  "@types/sinon": "17.0.3",
74
74
  "chai": "4.5.0",
75
- "mocha": "10.8.1",
75
+ "mocha": "10.8.2",
76
76
  "proxyquire": "2.1.3",
77
77
  "sinon": "19.0.2",
78
78
  "ts-mocha": "10.0.0",