@contentful/app-scripts 1.24.0 → 1.25.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.
@@ -70,10 +70,9 @@ async function promptForParameter() {
70
70
  type: 'list',
71
71
  choices(answers) {
72
72
  const parameterTypes = ['Boolean', 'Symbol', 'Number', 'Enum'];
73
- // TODO uncomment when secret app installation parameters are finalized in the API
74
- // if (answers.instanceOrInstallation === 'Installation') {
75
- // parameterTypes.push('Secret');
76
- // }
73
+ if (answers.instanceOrInstallation === 'Installation') {
74
+ parameterTypes.push('Secret');
75
+ }
77
76
  return parameterTypes;
78
77
  },
79
78
  },
@@ -101,10 +100,9 @@ async function promptForParameter() {
101
100
  {
102
101
  name: 'default',
103
102
  message: 'Default value (leave blank if none):',
104
- // TODO uncomment when secret app installation parameters are finalized in the API
105
- // when(answers) {
106
- // return answers.type !== 'Secret';
107
- // },
103
+ when(answers) {
104
+ return answers.type !== 'Secret';
105
+ },
108
106
  validate(input, answers) {
109
107
  return validateDefault(input, answers.type, answers.options);
110
108
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/app-scripts",
3
- "version": "1.24.0",
3
+ "version": "1.25.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": "12.1.0",
55
- "contentful-management": "11.27.1",
55
+ "contentful-management": "11.27.4",
56
56
  "dotenv": "16.4.5",
57
57
  "ignore": "5.3.1",
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": "7441f7531b4d9165d7936372acafbb82a180dccd",
63
+ "gitHead": "12181d922876d806add6afa7e478829182ad1f6d",
64
64
  "devDependencies": {
65
65
  "@tsconfig/node18": "18.2.4",
66
66
  "@types/adm-zip": "0.5.5",
@@ -68,11 +68,11 @@
68
68
  "@types/chai": "4.3.16",
69
69
  "@types/inquirer": "8.2.1",
70
70
  "@types/lodash": "4.17.5",
71
- "@types/mocha": "10.0.6",
71
+ "@types/mocha": "10.0.7",
72
72
  "@types/proxyquire": "1.3.31",
73
73
  "@types/sinon": "17.0.3",
74
74
  "chai": "5.1.1",
75
- "mocha": "10.4.0",
75
+ "mocha": "10.5.2",
76
76
  "proxyquire": "2.1.3",
77
77
  "sinon": "18.0.0",
78
78
  "ts-mocha": "10.0.0",