@contentful/app-scripts 2.0.1 → 2.0.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.
@@ -56,8 +56,8 @@ async function touchupAppManifest(localPath, settings, renameFunctionFile) {
56
56
  const entry = appManifest["functions"][appManifest["functions"].length - 1];
57
57
  entry.id = settings.name;
58
58
  // the path always has a .js extension
59
- entry.path = `./functions/${renameFunctionFile.replace('.ts', '.js')}`;
60
- entry.entryFile = `./functions/${renameFunctionFile}`;
59
+ entry.path = `functions/${renameFunctionFile.replace('.ts', '.js')}`;
60
+ entry.entryFile = `functions/${renameFunctionFile}`;
61
61
  await node_fs_1.default.writeFileSync(`${localPath}/${constants_1.CONTENTFUL_APP_MANIFEST}`, JSON.stringify(appManifest, null, 2));
62
62
  }
63
63
  function moveFilesToFinalDirectory(localTmpPath, localFunctionsPath) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/app-scripts",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "A collection of scripts for building Contentful Apps",
5
5
  "author": "Contentful GmbH",
6
6
  "license": "MIT",
@@ -67,7 +67,7 @@
67
67
  "tiged": "^2.12.7",
68
68
  "zod": "^3.24.1"
69
69
  },
70
- "gitHead": "2536f9ce6875b280c710266a3935167873fdf8ce",
70
+ "gitHead": "ec5a1531a4898317c208685885d887fa943e013c",
71
71
  "devDependencies": {
72
72
  "@types/adm-zip": "0.5.7",
73
73
  "@types/analytics-node": "3.1.14",