@contentful/create-contentful-app 2.1.1 → 2.1.3

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/index.js +1 -1
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -112,7 +112,7 @@ async function initProject(appName, options) {
112
112
  .replace(/-([a-z])/g, (match, letter) => letter.toUpperCase());
113
113
  await app_scripts_1.generateFunction.nonInteractive({
114
114
  example: normalizedOptions.function,
115
- language: 'typescript',
115
+ language: normalizedOptions.javascript ? 'javascript' : 'typescript',
116
116
  name: functionName,
117
117
  });
118
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/create-contentful-app",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "A template for building Contentful Apps",
5
5
  "keywords": [
6
6
  "contentful",
@@ -36,7 +36,7 @@
36
36
  "test": "mocha 'test/**/*.spec.{js,ts}'"
37
37
  },
38
38
  "dependencies": {
39
- "@contentful/app-scripts": "2.3.0",
39
+ "@contentful/app-scripts": "2.3.1",
40
40
  "@segment/analytics-node": "^2.2.0",
41
41
  "chalk": "4.1.2",
42
42
  "commander": "12.1.0",
@@ -74,11 +74,11 @@
74
74
  "@types/validate-npm-package-name": "4.0.2",
75
75
  "chai": "^4.3.7",
76
76
  "chai-as-promised": "^7.1.1",
77
- "contentful-management": "11.48.0",
77
+ "contentful-management": "11.48.3",
78
78
  "mocha": "^10.2.0",
79
- "sinon": "^19.0.0",
79
+ "sinon": "^20.0.0",
80
80
  "sinon-chai": "^3.7.0",
81
81
  "ts-node": "^10.9.2"
82
82
  },
83
- "gitHead": "94da155a27c586d7a26e4448da180bde6cf61817"
83
+ "gitHead": "e218afd3bbc32bc546312f7107d03b239d0d4312"
84
84
  }