@contentful/create-contentful-app 1.15.3 → 1.16.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.
- package/README.md +3 -1
- package/lib/includeFunction.js +6 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ To start developing your first app, run:
|
|
|
17
17
|
npx create-contentful-app my-first-app
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-

|
|
21
21
|
|
|
22
22
|
## Bootstrap
|
|
23
23
|
|
|
@@ -100,6 +100,8 @@ Options:
|
|
|
100
100
|
-h, --help shows all available CLI options
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
+
In order to run the app within Contentful run `npm run create-app-definition` within your app directory to create an app definition.
|
|
104
|
+
|
|
103
105
|
### Tracking
|
|
104
106
|
|
|
105
107
|
We gather depersonalized usage data of our CLI tools in order to improve experience. If you do not want your data to be gathered, you can opt out by providing an env variable `DISABLE_ANALYTICS` set to any value:
|
package/lib/includeFunction.js
CHANGED
|
@@ -24,7 +24,12 @@ const addBuildCommand = (0, package_1.getAddBuildCommandFn)({
|
|
|
24
24
|
name: 'build:functions',
|
|
25
25
|
command: 'node build-functions.js',
|
|
26
26
|
});
|
|
27
|
-
const VALID_FUNCTION_TEMPLATES_DIRS = [
|
|
27
|
+
const VALID_FUNCTION_TEMPLATES_DIRS = [
|
|
28
|
+
'templates',
|
|
29
|
+
'appevent-filter',
|
|
30
|
+
'appevent-handler',
|
|
31
|
+
'appevent-transformation',
|
|
32
|
+
];
|
|
28
33
|
function functionTemplateFromName(functionName) {
|
|
29
34
|
let dirName = functionName;
|
|
30
35
|
if (functionName === 'external-references')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/create-contentful-app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
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": "1.
|
|
39
|
+
"@contentful/app-scripts": "1.19.0",
|
|
40
40
|
"analytics-node": "^6.2.0",
|
|
41
41
|
"chalk": "4.1.2",
|
|
42
42
|
"commander": "12.0.0",
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
"@types/validate-npm-package-name": "4.0.2",
|
|
76
76
|
"chai": "^4.3.7",
|
|
77
77
|
"chai-as-promised": "^7.1.1",
|
|
78
|
-
"contentful-management": "11.24.
|
|
78
|
+
"contentful-management": "11.24.5",
|
|
79
79
|
"mocha": "^10.2.0",
|
|
80
80
|
"sinon": "^17.0.0",
|
|
81
81
|
"sinon-chai": "^3.7.0",
|
|
82
82
|
"ts-node": "^10.9.1"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "42e054adc754dae0657882b09f1ab7adcc9adecf"
|
|
85
85
|
}
|