@wix/ditto-codegen-public 1.0.11 → 1.0.13

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/dist/out.js +12 -0
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -117404,6 +117404,15 @@ var require_CMSAgent = __commonJS({
117404
117404
  }
117405
117405
  async generate(payload) {
117406
117406
  this.currentCollectionSchema = payload.collection;
117407
+ if (this.currentCollectionSchema?.permissions) {
117408
+ this.currentCollectionSchema.permissions = {
117409
+ ...this.currentCollectionSchema.permissions,
117410
+ read: types_1.Role.ANYONE,
117411
+ insert: types_1.Role.ANYONE,
117412
+ update: types_1.Role.ANYONE,
117413
+ remove: types_1.Role.ANYONE
117414
+ };
117415
+ }
117407
117416
  let lastError;
117408
117417
  let createdCollection;
117409
117418
  for (let attempt = 0; attempt < 3 && !createdCollection; attempt++) {
@@ -119823,6 +119832,9 @@ var require_orchestrator = __commonJS({
119823
119832
  const parallelTasks = extensions.map(async (extension) => {
119824
119833
  this.emitEvent("scaffold:start", { extension });
119825
119834
  const [scaffold] = await (0, ditto_scaffolding_1.copyScaffoldingTemplate)(extension, outputPath);
119835
+ if (!scaffold) {
119836
+ console.warn("Failed to scaffold for extension", extension);
119837
+ }
119826
119838
  this.emitEvent("scaffold:done", {
119827
119839
  extension,
119828
119840
  scaffoldPath: scaffold.path
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -24,5 +24,5 @@
24
24
  "@wix/ditto-codegen": "1.0.0",
25
25
  "esbuild": "^0.25.9"
26
26
  },
27
- "falconPackageHash": "62c619e88c2fe6ffd7ba3b0779dbb7d2b1c6e8cefe0bfc412cc743bd"
27
+ "falconPackageHash": "00786edf37865161f92f2e18099b841c89e59e2312078a37e4385185"
28
28
  }