@zohofinance/commerce 1.0.1 → 2.0.0
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/README.md +0 -2
- package/package.json +2 -2
- package/public/iframe-bridge.js +1303 -0
- package/ts-dist/commands/serve-theme.d.ts.map +1 -1
- package/ts-dist/commands/serve-theme.js +488 -2
- package/ts-dist/custom-tags/sections-tag.d.ts.map +1 -1
- package/ts-dist/custom-tags/sections-tag.js +34 -8
- package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/SKILL.md +2 -2
- package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/ask-developer.md +1 -1
- package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/dev-server-and-urls.md +14 -5
- package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/subagent-escalation.md +1 -1
- package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/visual-verify-loop.md +1 -1
- package/ts-dist/mocks/init-theme/.cursor/agents/visual-compare.md +2 -2
- package/ts-dist/mocks/init-theme/.cursor/commands/build-theme.md +1 -1
- package/ts-dist/mocks/init-theme/.cursor/commands/compare-section.md +1 -1
- package/ts-dist/mocks/init-theme/.cursor/skills/browser-verify.md +1 -1
- package/ts-dist/utils/editor-attributes.d.ts +3 -0
- package/ts-dist/utils/editor-attributes.d.ts.map +1 -0
- package/ts-dist/utils/editor-attributes.js +24 -0
- package/ts-dist/utils/prepare-section-data.d.ts +4 -1
- package/ts-dist/utils/prepare-section-data.d.ts.map +1 -1
- package/ts-dist/utils/prepare-section-data.js +24 -1
- package/ts-dist/utils/resolve-schema-translations.d.ts +3 -0
- package/ts-dist/utils/resolve-schema-translations.d.ts.map +1 -0
- package/ts-dist/utils/resolve-schema-translations.js +61 -0
- package/ts-dist/utils/template-engine.d.ts.map +1 -1
- package/ts-dist/utils/template-engine.js +19 -5
- package/ts-dist/utils/theme-mocks.d.ts +2 -0
- package/ts-dist/utils/theme-mocks.d.ts.map +1 -0
- package/ts-dist/utils/theme-mocks.js +40 -0
package/README.md
CHANGED
|
@@ -4,8 +4,6 @@ A command-line tool for developing and building themes for Zoho Commerce stores.
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
Global installs (`npm i -g`) are not recommended. Prefer `npx` so you always run the package version resolved for the current project:
|
|
8
|
-
|
|
9
7
|
```bash
|
|
10
8
|
# From a theme (or monorepo) that depends on the CLI:
|
|
11
9
|
npx @zohofinance/commerce <command>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohofinance/commerce",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"main": "ts-dist/index.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"zcommerce": "ts-dist/index.js"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test": "node -e \"console.log('No tests configured')\""
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
|
-
"registry": "https://registry.npmjs.
|
|
19
|
+
"registry": "https://registry.npmjs.org"
|
|
20
20
|
},
|
|
21
21
|
"type": "module",
|
|
22
22
|
"dependencies": {
|