@wix/ditto-codegen-public 1.0.13 → 1.0.15
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/dist/out.js +13 -13
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -119281,20 +119281,20 @@ var require_scaffolding = __commonJS({
|
|
|
119281
119281
|
}
|
|
119282
119282
|
}
|
|
119283
119283
|
async function copyServicePluginScaffolding(extension, outputPath) {
|
|
119284
|
-
if (extension.relatedSpis
|
|
119285
|
-
|
|
119286
|
-
|
|
119287
|
-
|
|
119288
|
-
|
|
119289
|
-
|
|
119290
|
-
|
|
119291
|
-
|
|
119292
|
-
|
|
119284
|
+
if (!extension.relatedSpis || extension.relatedSpis.length === 0) {
|
|
119285
|
+
throw new Error("Service plugin extension must have related SPIs");
|
|
119286
|
+
}
|
|
119287
|
+
let scaffoldingSubPath = "";
|
|
119288
|
+
for (const spi of extension.relatedSpis) {
|
|
119289
|
+
console.log(` \u{1F4CB} Copying service plugin scaffolding for related SPI: ${spi.name}`);
|
|
119290
|
+
const mapped = constants_1.spiToSubPath[spi.name || ""];
|
|
119291
|
+
if (mapped) {
|
|
119292
|
+
scaffoldingSubPath = mapped;
|
|
119293
|
+
break;
|
|
119293
119294
|
}
|
|
119294
|
-
const scaffoldingPath = `src/backend/service-plugins/${scaffoldingSubPath}/my-service-plugin`;
|
|
119295
|
-
return (0, tools_1.copyScaffolding)(scaffoldingPath, outputPath);
|
|
119296
119295
|
}
|
|
119297
|
-
|
|
119296
|
+
const scaffoldingPath = `src/backend/service-plugins/${scaffoldingSubPath}/my-service-plugin`;
|
|
119297
|
+
return (0, tools_1.copyScaffolding)(scaffoldingPath, outputPath);
|
|
119298
119298
|
}
|
|
119299
119299
|
async function copyDashboardPageScaffolding(extension, outputPath) {
|
|
119300
119300
|
const scaffoldingSubPath = "src/dashboard/pages";
|
|
@@ -119825,7 +119825,7 @@ var require_orchestrator = __commonJS({
|
|
|
119825
119825
|
const start = Date.now();
|
|
119826
119826
|
const { extensions = [] } = blueprint;
|
|
119827
119827
|
const createdCollections = [];
|
|
119828
|
-
if (siteId && accessToken) {
|
|
119828
|
+
if (siteId && siteId !== "N/A" && accessToken) {
|
|
119829
119829
|
const planAndResourcesResult = await this.generatePlanAndResources(request);
|
|
119830
119830
|
createdCollections.push(...planAndResourcesResult.createdCollections);
|
|
119831
119831
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ditto-codegen-public",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
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": "
|
|
27
|
+
"falconPackageHash": "56bac02b80b787701c852c60753c9636582a74af53844b56851d4ca5"
|
|
28
28
|
}
|