@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.
Files changed (30) hide show
  1. package/README.md +0 -2
  2. package/package.json +2 -2
  3. package/public/iframe-bridge.js +1303 -0
  4. package/ts-dist/commands/serve-theme.d.ts.map +1 -1
  5. package/ts-dist/commands/serve-theme.js +488 -2
  6. package/ts-dist/custom-tags/sections-tag.d.ts.map +1 -1
  7. package/ts-dist/custom-tags/sections-tag.js +34 -8
  8. package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/SKILL.md +2 -2
  9. package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/ask-developer.md +1 -1
  10. package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/dev-server-and-urls.md +14 -5
  11. package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/subagent-escalation.md +1 -1
  12. package/ts-dist/mocks/init-theme/.claude/skills/theme-from-figma/visual-verify-loop.md +1 -1
  13. package/ts-dist/mocks/init-theme/.cursor/agents/visual-compare.md +2 -2
  14. package/ts-dist/mocks/init-theme/.cursor/commands/build-theme.md +1 -1
  15. package/ts-dist/mocks/init-theme/.cursor/commands/compare-section.md +1 -1
  16. package/ts-dist/mocks/init-theme/.cursor/skills/browser-verify.md +1 -1
  17. package/ts-dist/utils/editor-attributes.d.ts +3 -0
  18. package/ts-dist/utils/editor-attributes.d.ts.map +1 -0
  19. package/ts-dist/utils/editor-attributes.js +24 -0
  20. package/ts-dist/utils/prepare-section-data.d.ts +4 -1
  21. package/ts-dist/utils/prepare-section-data.d.ts.map +1 -1
  22. package/ts-dist/utils/prepare-section-data.js +24 -1
  23. package/ts-dist/utils/resolve-schema-translations.d.ts +3 -0
  24. package/ts-dist/utils/resolve-schema-translations.d.ts.map +1 -0
  25. package/ts-dist/utils/resolve-schema-translations.js +61 -0
  26. package/ts-dist/utils/template-engine.d.ts.map +1 -1
  27. package/ts-dist/utils/template-engine.js +19 -5
  28. package/ts-dist/utils/theme-mocks.d.ts +2 -0
  29. package/ts-dist/utils/theme-mocks.d.ts.map +1 -0
  30. 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": "1.0.1",
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.com"
19
+ "registry": "https://registry.npmjs.org"
20
20
  },
21
21
  "type": "module",
22
22
  "dependencies": {