@wix/ditto-codegen-public 1.0.478 → 1.0.479
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 -2
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -14431,7 +14431,7 @@ var require_studio_2 = __commonJS({
|
|
|
14431
14431
|
"../codegen-common-logic/dist/tool-policies/studio-2.js"(exports2) {
|
|
14432
14432
|
"use strict";
|
|
14433
14433
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
14434
|
-
exports2.STUDIO_2_POLICIES = exports2.STUDIO_2_PREVIEW_RELEASE_POLICY = exports2.STUDIO_2_CUSTOM_ELEMENT_GENERATE_POLICY = exports2.STUDIO_2_SITE_PLUGIN_SLOTS_GENERATE_POLICY = exports2.SITE_PLUGIN_SCHEMA_COMMAND_POLICY = exports2.STUDIO_2_SKILL_ROUTING_POLICY = exports2.SITE_PLUGIN_PAGES_POLICY = exports2.SITE_PLUGIN_REDIRECT = exports2.SITE_PLUGIN_UNSUPPORTED_PAGES = exports2.CUSTOM_ELEMENT_REFERENCES_POLICY = void 0;
|
|
14434
|
+
exports2.STUDIO_2_POLICIES = exports2.STUDIO_2_BRANDED_COMPONENTS_POLICY = exports2.STUDIO_2_PREVIEW_RELEASE_POLICY = exports2.STUDIO_2_CUSTOM_ELEMENT_GENERATE_POLICY = exports2.STUDIO_2_SITE_PLUGIN_SLOTS_GENERATE_POLICY = exports2.SITE_PLUGIN_SCHEMA_COMMAND_POLICY = exports2.STUDIO_2_SKILL_ROUTING_POLICY = exports2.SITE_PLUGIN_PAGES_POLICY = exports2.SITE_PLUGIN_REDIRECT = exports2.SITE_PLUGIN_UNSUPPORTED_PAGES = exports2.CUSTOM_ELEMENT_REFERENCES_POLICY = void 0;
|
|
14435
14435
|
exports2.CUSTOM_ELEMENT_REFERENCES_POLICY = {
|
|
14436
14436
|
type: "read",
|
|
14437
14437
|
mode: "block",
|
|
@@ -14491,6 +14491,16 @@ ${STUDIO_2_SITE_UI_ROUTING}`
|
|
|
14491
14491
|
commandFragments: ["npx wix preview", "npx wix release"],
|
|
14492
14492
|
message: `BLOCKED: \`wix preview\` and \`wix release\` cannot run in this environment. Skip those checklist items and run every other post-build step the skill requires. Do not retry.`
|
|
14493
14493
|
};
|
|
14494
|
+
exports2.STUDIO_2_BRANDED_COMPONENTS_POLICY = {
|
|
14495
|
+
type: "read",
|
|
14496
|
+
mode: "prepend",
|
|
14497
|
+
pathFragments: [
|
|
14498
|
+
"wix-app/references/EDITOR_REACT_COMPONENT",
|
|
14499
|
+
"wix-app/references/editor-react-component/BRANDED-COMPONENTS"
|
|
14500
|
+
],
|
|
14501
|
+
message: `ENVIRONMENT OVERRIDE: Editor React Components in this environment follow the site theme by default. When you design a new component, read wix-app's references/editor-react-component/BRANDED-COMPONENTS.md and style it with the theme tokens, even if the request does not ask for a branded or themed component. Where the request names its own colors or fonts, use those and theme tokens for everything else; text and icons on a named color must contrast with that color. A component with a strong look of its own (a dark, neon or gradient widget, or a game such as a spin wheel) and code supplied in the request keep their own palette. Edits keep an existing component's styling unless the request asks to change it, and Brik tool imports keep the stylesheet the wix-brik skill writes.`,
|
|
14502
|
+
driftMarkers: ["Do not infer this requirement"]
|
|
14503
|
+
};
|
|
14494
14504
|
exports2.STUDIO_2_POLICIES = [
|
|
14495
14505
|
exports2.CUSTOM_ELEMENT_REFERENCES_POLICY,
|
|
14496
14506
|
exports2.SITE_PLUGIN_PAGES_POLICY,
|
|
@@ -14498,7 +14508,8 @@ ${STUDIO_2_SITE_UI_ROUTING}`
|
|
|
14498
14508
|
exports2.STUDIO_2_SKILL_ROUTING_POLICY,
|
|
14499
14509
|
exports2.STUDIO_2_PREVIEW_RELEASE_POLICY,
|
|
14500
14510
|
exports2.STUDIO_2_SITE_PLUGIN_SLOTS_GENERATE_POLICY,
|
|
14501
|
-
exports2.STUDIO_2_CUSTOM_ELEMENT_GENERATE_POLICY
|
|
14511
|
+
exports2.STUDIO_2_CUSTOM_ELEMENT_GENERATE_POLICY,
|
|
14512
|
+
exports2.STUDIO_2_BRANDED_COMPONENTS_POLICY
|
|
14502
14513
|
];
|
|
14503
14514
|
}
|
|
14504
14515
|
});
|
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.479",
|
|
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": "aa612d3abb5432b9772fa1212f46424b83fd5be740ba2327bcfabc58"
|
|
33
33
|
}
|