@contentful/create-contentful-app 1.16.3 → 1.16.5
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/lib/includeAppAction.js +1 -1
- package/lib/includeFunction.js +1 -1
- package/lib/template.js +1 -1
- package/package.json +3 -3
package/lib/includeAppAction.js
CHANGED
|
@@ -22,7 +22,7 @@ async function cloneAppAction(destination, templateIsJavascript) {
|
|
|
22
22
|
// Clone the app actions template to the created directory under the folder 'actions'
|
|
23
23
|
const templateSource = (0, path_1.join)('contentful/apps/examples/hosted-app-action-templates', templateIsJavascript ? 'javascript' : 'typescript');
|
|
24
24
|
const appActionDirectoryPath = (0, path_1.resolve)(`${destination}/actions`);
|
|
25
|
-
const d = await (0, tiged_1.default)(templateSource, { mode: 'tar',
|
|
25
|
+
const d = await (0, tiged_1.default)(templateSource, { mode: 'tar', disableCache: true });
|
|
26
26
|
await d.clone(appActionDirectoryPath);
|
|
27
27
|
// move the manifest from the actions folder to the root folder
|
|
28
28
|
const writeAppManifest = await (0, file_1.mergeJsonIntoFile)({
|
package/lib/includeFunction.js
CHANGED
|
@@ -37,7 +37,7 @@ async function cloneFunction(destination, templateIsJavascript, functionName) {
|
|
|
37
37
|
// Clone the function template to the created directory under the folder 'actions'
|
|
38
38
|
const templateSource = (0, path_1.join)(`contentful/apps/examples/function-${functionTemplateFromName(functionName)}`, templateIsJavascript ? 'javascript' : 'typescript');
|
|
39
39
|
const functionDirectoryPath = (0, path_1.resolve)(`${destination}/functions`);
|
|
40
|
-
const d = (0, tiged_1.default)(templateSource, { mode: 'tar',
|
|
40
|
+
const d = (0, tiged_1.default)(templateSource, { mode: 'tar', disableCache: true });
|
|
41
41
|
await d.clone(functionDirectoryPath);
|
|
42
42
|
// merge the manifest from the template folder to the root folder
|
|
43
43
|
const writeAppManifest = (0, file_1.mergeJsonIntoFile)({
|
package/lib/template.js
CHANGED
|
@@ -34,7 +34,7 @@ const rimraf = __importStar(require("rimraf"));
|
|
|
34
34
|
const logger_1 = require("./logger");
|
|
35
35
|
const utils_1 = require("./utils");
|
|
36
36
|
async function clone(source, destination) {
|
|
37
|
-
const d = (0, tiged_1.default)(source, { mode: 'tar',
|
|
37
|
+
const d = (0, tiged_1.default)(source, { mode: 'tar', disableCache: true });
|
|
38
38
|
try {
|
|
39
39
|
await d.clone(destination);
|
|
40
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/create-contentful-app",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.5",
|
|
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.19.
|
|
39
|
+
"@contentful/app-scripts": "1.19.1",
|
|
40
40
|
"analytics-node": "^6.2.0",
|
|
41
41
|
"chalk": "4.1.2",
|
|
42
42
|
"commander": "12.0.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"sinon-chai": "^3.7.0",
|
|
81
81
|
"ts-node": "^10.9.2"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "d5287d1dc518249bd821882dc16a50a6cc93192e"
|
|
84
84
|
}
|