@wix/ditto-codegen-public 1.0.393 → 1.0.394
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 +18 -1
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -13942,6 +13942,21 @@ For any persistent-data need (CMS collections, tables, schemas, data models):
|
|
|
13942
13942
|
}
|
|
13943
13943
|
});
|
|
13944
13944
|
|
|
13945
|
+
// ../codegen-common-logic/dist/studio-2-site-ui-rules.js
|
|
13946
|
+
var require_studio_2_site_ui_rules = __commonJS({
|
|
13947
|
+
"../codegen-common-logic/dist/studio-2-site-ui-rules.js"(exports2) {
|
|
13948
|
+
"use strict";
|
|
13949
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13950
|
+
exports2.STUDIO_2_SITE_UI_RULES = void 0;
|
|
13951
|
+
exports2.STUDIO_2_SITE_UI_RULES = `# Studio 2 Site UI Rules
|
|
13952
|
+
|
|
13953
|
+
In the **Studio 2** environment, all site UI MUST be built as **Editor React Components** (\`extensionType: EDITOR_REACT_COMPONENT\`).
|
|
13954
|
+
|
|
13955
|
+
- **Never create a Custom Element / site widget** (\`extensionType: CUSTOM_ELEMENT\`, \`CUSTOM_ELEMENT_WIDGET\`).
|
|
13956
|
+
- The word "widget" does **not** mean Custom Element here \u2014 implement it as an Editor React Component. When invoking the \`wix-app\` skill, explicitly pin the extension type so it isn't inferred from "widget".`;
|
|
13957
|
+
}
|
|
13958
|
+
});
|
|
13959
|
+
|
|
13945
13960
|
// ../codegen-common-logic/dist/index.js
|
|
13946
13961
|
var require_dist7 = __commonJS({
|
|
13947
13962
|
"../codegen-common-logic/dist/index.js"(exports2) {
|
|
@@ -13983,6 +13998,7 @@ var require_dist7 = __commonJS({
|
|
|
13983
13998
|
__exportStar2(require_availableSdks(), exports2);
|
|
13984
13999
|
__exportStar2(require_system_prompts(), exports2);
|
|
13985
14000
|
__exportStar2(require_site_data_layer_rules(), exports2);
|
|
14001
|
+
__exportStar2(require_studio_2_site_ui_rules(), exports2);
|
|
13986
14002
|
}
|
|
13987
14003
|
});
|
|
13988
14004
|
|
|
@@ -13996,7 +14012,8 @@ var require_dist8 = __commonJS({
|
|
|
13996
14012
|
var codegen_common_logic_1 = require_dist7();
|
|
13997
14013
|
exports2.studio2CodegenConfig = {
|
|
13998
14014
|
codegenRules: [
|
|
13999
|
-
{ filename: "site-data-layer-rules.md", content: codegen_common_logic_1.SITE_DATA_LAYER_RULES }
|
|
14015
|
+
{ filename: "site-data-layer-rules.md", content: codegen_common_logic_1.SITE_DATA_LAYER_RULES },
|
|
14016
|
+
{ filename: "studio-2-site-ui-rules.md", content: codegen_common_logic_1.STUDIO_2_SITE_UI_RULES }
|
|
14000
14017
|
],
|
|
14001
14018
|
askRules: [],
|
|
14002
14019
|
gitConflictsRules: [],
|
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.394",
|
|
4
4
|
"description": "AI-powered Wix CLI app generator - standalone executable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node build.mjs",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"esbuild": "^0.27.2",
|
|
30
30
|
"vitest": "^4.0.16"
|
|
31
31
|
},
|
|
32
|
-
"falconPackageHash": "
|
|
32
|
+
"falconPackageHash": "26a77c59b7f13a6f2daa3ae9b58ac2c048cca57504e16dc5e6e8da3e"
|
|
33
33
|
}
|