cloudcommerce 0.26.7 → 0.28.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 (248) hide show
  1. package/.github/workflows/test-apps.yml +2 -2
  2. package/.gitmodules +0 -3
  3. package/.vscode/settings.json +3 -1
  4. package/CHANGELOG.md +51 -0
  5. package/action.yml +2 -2
  6. package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
  7. package/ecomplus-stores/barra-doce/functions/ssr/content/layout.json +13 -13
  8. package/ecomplus-stores/barra-doce/functions/ssr/content/pages/home.json +10 -10
  9. package/ecomplus-stores/barra-doce/functions/ssr/content/pages/products.json +17 -0
  10. package/ecomplus-stores/barra-doce/functions/ssr/content/settings.json +8 -8
  11. package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
  12. package/ecomplus-stores/barra-doce/functions/ssr/src/components/AccountMenu.vue +11 -11
  13. package/ecomplus-stores/barra-doce/functions/ssr/src/components/ShopFooter.vue +24 -24
  14. package/ecomplus-stores/barra-doce/functions/ssr/src/layouts/PageFooter.astro +4 -4
  15. package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
  16. package/ecomplus-stores/barra-doce/package.json +2 -2
  17. package/ecomplus-stores/monocard/functions/many/package.json +3 -3
  18. package/ecomplus-stores/monocard/functions/ssr/content/layout.json +11 -11
  19. package/ecomplus-stores/monocard/functions/ssr/content/pages/home.json +16 -16
  20. package/ecomplus-stores/monocard/functions/ssr/content/pages/products.json +2 -4
  21. package/ecomplus-stores/monocard/functions/ssr/content/settings.json +11 -11
  22. package/ecomplus-stores/monocard/functions/ssr/package.json +6 -6
  23. package/ecomplus-stores/monocard/functions/ssr/src/components/AccountMenu.vue +1 -1
  24. package/ecomplus-stores/monocard/functions/ssr/src/components/DocDescription.vue +33 -0
  25. package/ecomplus-stores/monocard/functions/ssr/src/components/FeatureTabs.vue +3 -3
  26. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopFooter.vue +3 -3
  27. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeader.vue +5 -13
  28. package/ecomplus-stores/monocard/functions/ssr/src/layouts/PageFooter.astro +2 -2
  29. package/ecomplus-stores/monocard/functions/ssr/src/main/Home.astro +1 -1
  30. package/ecomplus-stores/monocard/functions/ssr/src/main/Sections.astro +1 -1
  31. package/ecomplus-stores/monocard/functions/with-apps/package.json +3 -3
  32. package/ecomplus-stores/monocard/package.json +2 -2
  33. package/package.json +6 -6
  34. package/packages/api/package.json +1 -1
  35. package/packages/apps/affilate-program/package.json +2 -2
  36. package/packages/apps/correios/package.json +3 -4
  37. package/packages/apps/custom-payment/package.json +1 -1
  38. package/packages/apps/custom-shipping/package.json +1 -1
  39. package/packages/apps/datafrete/package.json +3 -3
  40. package/packages/apps/discounts/package.json +1 -1
  41. package/packages/apps/emails/lib/functios-lib/utils.js +1 -1
  42. package/packages/apps/emails/lib/functios-lib/utils.js.map +1 -1
  43. package/packages/apps/emails/package.json +2 -2
  44. package/packages/apps/emails/src/functios-lib/utils.ts +1 -1
  45. package/packages/apps/fb-conversions/package.json +3 -3
  46. package/packages/apps/flash-courier/package.json +2 -2
  47. package/packages/apps/frenet/package.json +3 -3
  48. package/packages/apps/galaxpay/package.json +3 -3
  49. package/packages/apps/google-analytics/package.json +3 -3
  50. package/packages/apps/jadlog/package.json +2 -2
  51. package/packages/apps/loyalty-points/lib/functions-lib/cron-add-points.d.ts +2 -0
  52. package/packages/apps/loyalty-points/lib/functions-lib/cron-add-points.js +98 -0
  53. package/packages/apps/loyalty-points/lib/functions-lib/cron-add-points.js.map +1 -0
  54. package/packages/apps/loyalty-points/lib/functions-lib/handle-loyalty-points-event.js +59 -23
  55. package/packages/apps/loyalty-points/lib/functions-lib/handle-loyalty-points-event.js.map +1 -1
  56. package/packages/apps/loyalty-points/lib/loyalty-create-transaction.js +9 -4
  57. package/packages/apps/loyalty-points/lib/loyalty-create-transaction.js.map +1 -1
  58. package/packages/apps/loyalty-points/lib/loyalty-list-payments.js +7 -2
  59. package/packages/apps/loyalty-points/lib/loyalty-list-payments.js.map +1 -1
  60. package/packages/apps/loyalty-points/lib/loyalty-points-events.d.ts +3 -1
  61. package/packages/apps/loyalty-points/lib/loyalty-points-events.js +9 -0
  62. package/packages/apps/loyalty-points/lib/loyalty-points-events.js.map +1 -1
  63. package/packages/apps/loyalty-points/package.json +3 -2
  64. package/packages/apps/loyalty-points/src/functions-lib/cron-add-points.ts +104 -0
  65. package/packages/apps/loyalty-points/src/functions-lib/handle-loyalty-points-event.ts +67 -25
  66. package/packages/apps/loyalty-points/src/loyalty-create-transaction.ts +11 -4
  67. package/packages/apps/loyalty-points/src/loyalty-list-payments.ts +9 -2
  68. package/packages/apps/loyalty-points/src/loyalty-points-events.ts +12 -1
  69. package/packages/apps/melhor-envio/package.json +3 -3
  70. package/packages/apps/mercadopago/assets/onload-expression.js +5 -1
  71. package/packages/apps/mercadopago/assets/onload-expression.min.js +1 -1
  72. package/packages/apps/mercadopago/lib/mp-create-transaction.js +16 -6
  73. package/packages/apps/mercadopago/lib/mp-create-transaction.js.map +1 -1
  74. package/packages/apps/mercadopago/package.json +3 -3
  75. package/packages/apps/mercadopago/src/mp-create-transaction.ts +19 -7
  76. package/packages/apps/pagarme/package.json +3 -3
  77. package/packages/apps/paghiper/package.json +3 -3
  78. package/packages/apps/pix/package.json +3 -3
  79. package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +22 -0
  80. package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js.map +1 -1
  81. package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js +2 -2
  82. package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js.map +1 -1
  83. package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js +7 -1
  84. package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js.map +1 -1
  85. package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js +14 -5
  86. package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js.map +1 -1
  87. package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js +9 -1
  88. package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js.map +1 -1
  89. package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js +8 -6
  90. package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js.map +1 -1
  91. package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js +118 -38
  92. package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js.map +1 -1
  93. package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js +8 -0
  94. package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js.map +1 -1
  95. package/packages/apps/tiny-erp/package.json +3 -3
  96. package/packages/apps/tiny-erp/src/integration/export-order-to-tiny.ts +24 -0
  97. package/packages/apps/tiny-erp/src/integration/helpers/format-tiny-date.ts +2 -2
  98. package/packages/apps/tiny-erp/src/integration/import-order-from-tiny.ts +8 -1
  99. package/packages/apps/tiny-erp/src/integration/import-product-from-tiny.ts +17 -5
  100. package/packages/apps/tiny-erp/src/integration/parsers/order-from-tiny.ts +13 -1
  101. package/packages/apps/tiny-erp/src/integration/parsers/order-to-tiny.ts +11 -6
  102. package/packages/apps/tiny-erp/src/integration/parsers/product-from-tiny.ts +144 -41
  103. package/packages/apps/tiny-erp/src/integration/parsers/product-to-tiny.ts +10 -0
  104. package/packages/apps/webhooks/package.json +3 -3
  105. package/packages/cli/package.json +1 -1
  106. package/packages/config/lib/config.js +2 -2
  107. package/packages/config/lib/config.js.map +1 -1
  108. package/packages/config/package.json +1 -1
  109. package/packages/config/src/config.ts +2 -2
  110. package/packages/emails/package.json +4 -4
  111. package/packages/eslint/base.eslintrc.cjs +3 -0
  112. package/packages/eslint/package.json +5 -4
  113. package/packages/eslint/storefront.eslintrc.cjs +8 -1
  114. package/packages/events/package.json +2 -2
  115. package/packages/feeds/package.json +1 -1
  116. package/packages/firebase/package.json +2 -2
  117. package/packages/i18n/package.json +1 -1
  118. package/packages/modules/package.json +3 -3
  119. package/packages/passport/package.json +2 -2
  120. package/packages/ssr/package.json +3 -3
  121. package/packages/storefront/.auto-imports.d.ts +65 -0
  122. package/packages/storefront/astro.config.mjs +24 -1
  123. package/packages/storefront/client.d.ts +1 -0
  124. package/packages/storefront/config/astro/context-directive.mjs +21 -0
  125. package/packages/storefront/config/astro/index.d.ts +8 -0
  126. package/packages/storefront/config/storefront.cms.js +2 -2
  127. package/packages/storefront/config/storefront.tailwind.cjs +0 -1
  128. package/packages/storefront/package.json +4 -3
  129. package/packages/storefront/server.d.ts +1 -1
  130. package/packages/storefront/src/lib/$storefront.d.ts +8 -8
  131. package/packages/storefront/src/lib/assets/base.css +5 -0
  132. package/packages/storefront/src/lib/components/Carousel.vue +93 -72
  133. package/packages/storefront/src/lib/components/CarouselControl.vue +13 -7
  134. package/packages/storefront/src/lib/components/ContentClearfix.vue +17 -0
  135. package/packages/storefront/src/lib/components/Drawer.vue +2 -2
  136. package/packages/storefront/src/lib/components/PaymentMethodFlag.vue +2 -2
  137. package/packages/storefront/src/lib/components/QuantitySelector.vue +4 -4
  138. package/packages/storefront/src/lib/components/QuantitySelectorControl.vue +2 -2
  139. package/packages/storefront/src/lib/components/ViewTransitions.astro +409 -0
  140. package/packages/storefront/src/lib/components/globals/AImg.vue +2 -1
  141. package/packages/storefront/src/lib/composables/use-pitch-bar.ts +2 -2
  142. package/packages/storefront/src/lib/content.d.ts +5 -5
  143. package/packages/storefront/src/lib/layouts/Base.astro +4 -4
  144. package/packages/storefront/src/lib/layouts/BaseBody.astro +0 -2
  145. package/packages/storefront/src/lib/layouts/BaseHead.astro +32 -14
  146. package/packages/storefront/src/lib/layouts/use-page-header.ts +9 -4
  147. package/packages/storefront/src/lib/layouts/use-page-main.ts +13 -33
  148. package/packages/test-base/package.json +1 -1
  149. package/packages/types/index.ts +14 -14
  150. package/packages/types/package.json +1 -1
  151. package/ecomplus-stores/iluminim/.devcontainer/devcontainer.json +0 -30
  152. package/ecomplus-stores/iluminim/.editorconfig +0 -13
  153. package/ecomplus-stores/iluminim/.eslintrc.cjs +0 -3
  154. package/ecomplus-stores/iluminim/.firebaserc +0 -5
  155. package/ecomplus-stores/iluminim/.github/renovate.json +0 -5
  156. package/ecomplus-stores/iluminim/.github/workflows/build-and-deploy.yml +0 -36
  157. package/ecomplus-stores/iluminim/.github/workflows/calibreapp-image-actions.yml +0 -23
  158. package/ecomplus-stores/iluminim/.gitpod.yml +0 -12
  159. package/ecomplus-stores/iluminim/.idx/dev.nix +0 -24
  160. package/ecomplus-stores/iluminim/.nvmrc +0 -1
  161. package/ecomplus-stores/iluminim/.vscode/extensions.json +0 -8
  162. package/ecomplus-stores/iluminim/.vscode/launch.json +0 -11
  163. package/ecomplus-stores/iluminim/.vscode/settings.json +0 -10
  164. package/ecomplus-stores/iluminim/README.md +0 -31
  165. package/ecomplus-stores/iluminim/SETUP.md +0 -117
  166. package/ecomplus-stores/iluminim/SETUP.pt-BR.md +0 -117
  167. package/ecomplus-stores/iluminim/functions/config.json +0 -3
  168. package/ecomplus-stores/iluminim/functions/example.env +0 -10
  169. package/ecomplus-stores/iluminim/functions/many/index.js +0 -14
  170. package/ecomplus-stores/iluminim/functions/many/package.json +0 -22
  171. package/ecomplus-stores/iluminim/functions/ssr/.eslintrc.cjs +0 -6
  172. package/ecomplus-stores/iluminim/functions/ssr/astro.config.mjs +0 -4
  173. package/ecomplus-stores/iluminim/functions/ssr/content/blog/.gitkeep +0 -0
  174. package/ecomplus-stores/iluminim/functions/ssr/content/extra-pages/contato.json +0 -11
  175. package/ecomplus-stores/iluminim/functions/ssr/content/extra-pages/terms.json +0 -11
  176. package/ecomplus-stores/iluminim/functions/ssr/content/extra-pages/trocas.json +0 -11
  177. package/ecomplus-stores/iluminim/functions/ssr/content/layout.json +0 -57
  178. package/ecomplus-stores/iluminim/functions/ssr/content/pages/home.json +0 -70
  179. package/ecomplus-stores/iluminim/functions/ssr/content/settings.json +0 -65
  180. package/ecomplus-stores/iluminim/functions/ssr/index.js +0 -18
  181. package/ecomplus-stores/iluminim/functions/ssr/package.json +0 -31
  182. package/ecomplus-stores/iluminim/functions/ssr/public/admin/.gitkeep +0 -2
  183. package/ecomplus-stores/iluminim/functions/ssr/public/assets/cms-preview.css +0 -274
  184. package/ecomplus-stores/iluminim/functions/ssr/public/assets/cms.css +0 -114
  185. package/ecomplus-stores/iluminim/functions/ssr/public/assets/cvv.png +0 -0
  186. package/ecomplus-stores/iluminim/functions/ssr/public/assets/img-placeholder.png +0 -0
  187. package/ecomplus-stores/iluminim/functions/ssr/public/assets/payments.png +0 -0
  188. package/ecomplus-stores/iluminim/functions/ssr/public/assets/ssl-safe.png +0 -0
  189. package/ecomplus-stores/iluminim/functions/ssr/public/img/icon.png +0 -0
  190. package/ecomplus-stores/iluminim/functions/ssr/public/img/large-icon.png +0 -0
  191. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/banner-chamada-desktop-9x81zmd91q.webp +0 -0
  192. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/banner2.webp +0 -0
  193. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/chamada-mobile-q1c6om6jx4.webp +0 -0
  194. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/ecom-icon.png +0 -0
  195. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/headphone.webp +0 -0
  196. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/logo.webp +0 -0
  197. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/og-image.png +0 -0
  198. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/passion.webp +0 -0
  199. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect8589.png +0 -0
  200. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect859.png +0 -0
  201. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect89.webp +0 -0
  202. package/ecomplus-stores/iluminim/functions/ssr/public/robots.txt +0 -6
  203. package/ecomplus-stores/iluminim/functions/ssr/scripts/build.sh +0 -14
  204. package/ecomplus-stores/iluminim/functions/ssr/src/assets/style.css +0 -65
  205. package/ecomplus-stores/iluminim/functions/ssr/src/components/AccountMenu.vue +0 -95
  206. package/ecomplus-stores/iluminim/functions/ssr/src/components/Banner.vue +0 -57
  207. package/ecomplus-stores/iluminim/functions/ssr/src/components/BannersGrid.astro +0 -25
  208. package/ecomplus-stores/iluminim/functions/ssr/src/components/CartItem.vue +0 -64
  209. package/ecomplus-stores/iluminim/functions/ssr/src/components/CartSidebar.vue +0 -66
  210. package/ecomplus-stores/iluminim/functions/ssr/src/components/Countdown.vue +0 -79
  211. package/ecomplus-stores/iluminim/functions/ssr/src/components/HeroSlider.vue +0 -52
  212. package/ecomplus-stores/iluminim/functions/ssr/src/components/PitchBar.vue +0 -56
  213. package/ecomplus-stores/iluminim/functions/ssr/src/components/Prices.vue +0 -95
  214. package/ecomplus-stores/iluminim/functions/ssr/src/components/ProductCard.vue +0 -117
  215. package/ecomplus-stores/iluminim/functions/ssr/src/components/ProductShelf.vue +0 -57
  216. package/ecomplus-stores/iluminim/functions/ssr/src/components/ProductsCountdown.vue +0 -20
  217. package/ecomplus-stores/iluminim/functions/ssr/src/components/SearchModal.vue +0 -6
  218. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopFooter.vue +0 -149
  219. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeader.vue +0 -158
  220. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeaderMenu.vue +0 -58
  221. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeaderSubmenu.vue +0 -88
  222. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopSidenav.vue +0 -61
  223. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopSidenavCategory.vue +0 -80
  224. package/ecomplus-stores/iluminim/functions/ssr/src/env.d.ts +0 -13
  225. package/ecomplus-stores/iluminim/functions/ssr/src/layouts/Base.astro +0 -16
  226. package/ecomplus-stores/iluminim/functions/ssr/src/layouts/Checkout.astro +0 -0
  227. package/ecomplus-stores/iluminim/functions/ssr/src/layouts/PageFooter.astro +0 -68
  228. package/ecomplus-stores/iluminim/functions/ssr/src/layouts/PageHeader.astro +0 -42
  229. package/ecomplus-stores/iluminim/functions/ssr/src/main/Fallback.astro +0 -10
  230. package/ecomplus-stores/iluminim/functions/ssr/src/main/Home.astro +0 -49
  231. package/ecomplus-stores/iluminim/functions/ssr/src/main/Sections.astro +0 -42
  232. package/ecomplus-stores/iluminim/functions/ssr/src/main/Wildcard.astro +0 -18
  233. package/ecomplus-stores/iluminim/functions/ssr/src/pages/[...slug].astro +0 -40
  234. package/ecomplus-stores/iluminim/functions/ssr/src/pages/_vue.ts +0 -3
  235. package/ecomplus-stores/iluminim/functions/ssr/src/pages/app/account.astro +0 -0
  236. package/ecomplus-stores/iluminim/functions/ssr/src/pages/app/index.astro +0 -0
  237. package/ecomplus-stores/iluminim/functions/ssr/src/pages/index.astro +0 -37
  238. package/ecomplus-stores/iluminim/functions/ssr/src/pages/~fallback.astro +0 -25
  239. package/ecomplus-stores/iluminim/functions/ssr/src/scripts/InlineScripts.astro +0 -10
  240. package/ecomplus-stores/iluminim/functions/ssr/tailwind.config.cjs +0 -13
  241. package/ecomplus-stores/iluminim/functions/ssr/tsconfig.json +0 -12
  242. package/ecomplus-stores/iluminim/functions/ssr/uno.config.cjs +0 -5
  243. package/ecomplus-stores/iluminim/functions/with-apps/index.js +0 -12
  244. package/ecomplus-stores/iluminim/functions/with-apps/package.json +0 -22
  245. package/ecomplus-stores/iluminim/package.json +0 -31
  246. package/ecomplus-stores/iluminim/scripts/install.sh +0 -24
  247. package/ecomplus-stores/monocard/functions/ssr/src/components/DocDescription.astro +0 -30
  248. package/packages/storefront/src/lib/components/ContentClearfix.astro +0 -15
@@ -106,11 +106,11 @@ jobs:
106
106
  ${{ steps.npm-paths.outputs.LIB_PATH }}
107
107
  ${{ steps.npm-paths.outputs.BIN_PATH }}
108
108
  ~/.npm-global/bin
109
- key: ${{ runner.os }}-npm-globals-firebase-tools-12.5.2
109
+ key: ${{ runner.os }}-npm-globals-firebase-tools-12.6.1
110
110
 
111
111
  - if: steps.npm-g-cache.outputs.cache-hit != 'true'
112
112
  shell: bash
113
- run: npm install -g firebase-tools@12.5.2
113
+ run: npm install -g firebase-tools@12.6.1
114
114
 
115
115
  - name: Initialize Firebase emulators
116
116
  shell: bash
package/.gitmodules CHANGED
@@ -7,9 +7,6 @@
7
7
  [submodule "ecomplus-stores/tia-sonia"]
8
8
  path = ecomplus-stores/tia-sonia
9
9
  url = git@github.com:ecomplus-stores/tia-sonia.git
10
- [submodule "ecomplus-stores/iluminim"]
11
- path = ecomplus-stores/iluminim
12
- url = git@github.com:ecomplus-stores/iluminim.git
13
10
  [submodule "ecomplus-stores/barra-doce"]
14
11
  path = ecomplus-stores/barra-doce
15
12
  url = git@github.com:ecomplus-stores/barra-doce.git
@@ -2,6 +2,9 @@
2
2
  "editor.quickSuggestions": {
3
3
  "strings": true
4
4
  },
5
+ "editor.codeActionsOnSave": {
6
+ "source.fixAll.eslint": true
7
+ },
5
8
  "files.associations": {
6
9
  "*.css": "tailwindcss"
7
10
  },
@@ -15,7 +18,6 @@
15
18
  "store/functions/ssr/tailwind.config.cjs": "store/**",
16
19
  "ecomplus-stores/monocard/functions/ssr/tailwind.config.cjs": "ecomplus-stores/monocard/**",
17
20
  "ecomplus-stores/tia-sonia/functions/ssr/tailwind.config.cjs": "ecomplus-stores/tia-sonia/**",
18
- "ecomplus-stores/iluminim/functions/ssr/tailwind.config.cjs": "ecomplus-stores/iluminim/**",
19
21
  "ecomplus-stores/barra-doce/functions/ssr/tailwind.config.cjs": "ecomplus-stores/barra-doce/**"
20
22
  },
21
23
  "typescript.tsdk": "node_modules/typescript/lib"
package/CHANGELOG.md CHANGED
@@ -2,6 +2,57 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.28.0](https://github.com/ecomplus/cloud-commerce/compare/v0.27.0...v0.28.0) (2023-10-06)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * **storefront:** content/layout.json must be edited with fields in camelCase
11
+ * Content `settings` object (and `config.settingsContent`) changed
12
+ * **storefront:** `PageContent` interface editted, content/pages hero and sections must be updated with new fields in camelCase
13
+
14
+ ### Bug Fixes
15
+
16
+ * **loyalty points:** Add points after some days gap with cron to prevent fast cancellations ([#250](https://github.com/ecomplus/cloud-commerce/issues/250)) ([4eb705c](https://github.com/ecomplus/cloud-commerce/commit/4eb705cea98884255745ae7222bb8e2a264e625a))
17
+ * **mercadopago:** Updating with https://github.com/ecomplus/app-mercadopago/commit/0205afd64e31fc19776343b8a355d43deb6a911d ([#249](https://github.com/ecomplus/cloud-commerce/issues/249)) ([47a03e6](https://github.com/ecomplus/cloud-commerce/commit/47a03e60551d9fb2e17a079cedff00106b05e967))
18
+ * **storefront:** Minor fix `<ContentClearfix>` with horizontal scroll on large devices ([03b1d8d](https://github.com/ecomplus/cloud-commerce/commit/03b1d8da4fb01f0bc8dc7701ff71ad9ce0bdd858))
19
+
20
+
21
+ * Edit settings types to camelCase fields ([47aec28](https://github.com/ecomplus/cloud-commerce/commit/47aec28bffd1e33ed2b2d715aac7611cf2ef3403))
22
+ * **storefront:** Expect hero/sections content with camelCase for easy parsing and props bypass ([70d976b](https://github.com/ecomplus/cloud-commerce/commit/70d976b1b1600fff9772db275bb57d85b08dc07e))
23
+ * **storefront:** Expect layout content fields camelCase ([e9404ea](https://github.com/ecomplus/cloud-commerce/commit/e9404ea61f72a5aa50858104ee58b1c3b1d88d9e))
24
+
25
+ ## [0.27.0](https://github.com/ecomplus/cloud-commerce/compare/v0.26.7...v0.27.0) (2023-10-06)
26
+
27
+
28
+ ### ⚠ BREAKING CHANGES
29
+
30
+ * **storefront:** Astro.locals.contextInlineClientJS no more set
31
+ * **storefront:** <Carousel> API changed, using explicit `index` prop with model instead of default (value) `v-model`, edited binds on controls slot
32
+ * **storefront:** Component ContentClearfix.astro is removed in favor of .vue one
33
+
34
+ ### Features
35
+
36
+ * **storefront:** Add new prop `preferredSize` to global <AImg> component ([d2387d4](https://github.com/ecomplus/cloud-commerce/commit/d2387d4a20b7e2343399674b4f73bd7dee70f879))
37
+ * **storefront:** Auto import Vue composition API and other helper exports ([9e92931](https://github.com/ecomplus/cloud-commerce/commit/9e929316277f0162ff55a1c86792697dc50867e5))
38
+ * **storefront:** New prop `hasControls` to <Carousel> ([017d5c9](https://github.com/ecomplus/cloud-commerce/commit/017d5c9f8eb9f927e463b8a7d5c6f1f811d839f5))
39
+ * **storefront:** Update <Carousel> with new optional `axis` prop for vertical slide ([21e3a02](https://github.com/ecomplus/cloud-commerce/commit/21e3a02799bb52e573856a4304032315e060410b))
40
+ * **tiny-erp:** Updating with https://github.com/ecomplus/app-tiny-erp ([#218](https://github.com/ecomplus/cloud-commerce/issues/218)) ([a5ffd26](https://github.com/ecomplus/cloud-commerce/commit/a5ffd26808ddc5609492a39363ce265d3ded3f26))
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * **deps:** Update non-major dependencies ([#248](https://github.com/ecomplus/cloud-commerce/issues/248)) ([344927b](https://github.com/ecomplus/cloud-commerce/commit/344927bb69b3be5c5ec1e43dc0b38246a04f256a))
46
+ * **storefront:** Add hardfix on base CSS to hide duplicated drawer backdrops (with "SPA" mode) ([91ce452](https://github.com/ecomplus/cloud-commerce/commit/91ce452b50bd210999c8c228adcf744fa763a5be))
47
+ * **storefront:** Disable View Transitions fallback (Firefox) by default (for now) ([deb58ff](https://github.com/ecomplus/cloud-commerce/commit/deb58ff34c9bf3f58e3f961a060d062bad3518a3))
48
+ * **storefront:** Fixing global `$storefront.apiContext.doc` types with full resources interfaces ([c28ce11](https://github.com/ecomplus/cloud-commerce/commit/c28ce118325a7aac9409d8d3535b95879b3ea021))
49
+ * **storefront:** Properly dealing with API Context on View Transitions ([e254116](https://github.com/ecomplus/cloud-commerce/commit/e2541161f696ccd5da8403d8d7bea0e9c33131fc))
50
+ * **storefront:** Properly sync <Carousel> index on prop change ([6237934](https://github.com/ecomplus/cloud-commerce/commit/6237934cdf5c70c47d7269c0dd35125b427bd30a))
51
+ * **storefront:** Setup custom <ViewTransitions> with fixed head script exec and browser fallback ([2e53207](https://github.com/ecomplus/cloud-commerce/commit/2e5320718bfa76c6e7f6258031a546e3f9089aa4))
52
+
53
+
54
+ * **storefront:** Move <ContentClearfix> to Vue component instead of Astro one ([e6ca8c4](https://github.com/ecomplus/cloud-commerce/commit/e6ca8c4bbe5f8f42de15d852273dd9ae2575c136))
55
+
5
56
  ### [0.26.7](https://github.com/ecomplus/cloud-commerce/compare/v0.26.6...v0.26.7) (2023-09-18)
6
57
 
7
58
 
package/action.yml CHANGED
@@ -133,11 +133,11 @@ runs:
133
133
  ${{ steps.npm-paths.outputs.LIB_PATH }}
134
134
  ${{ steps.npm-paths.outputs.BIN_PATH }}
135
135
  ~/.npm-global/bin
136
- key: ${{ runner.os }}-npm-g-firebase-tools-12.5.2
136
+ key: ${{ runner.os }}-npm-g-firebase-tools-12.6.1
137
137
 
138
138
  - if: ${{ github.event_name == 'push' && steps.npm-g-cache.outputs.cache-hit != 'true' }}
139
139
  shell: bash
140
- run: npm i --location=global firebase-tools@12.5.2
140
+ run: npm i --location=global firebase-tools@12.6.1
141
141
 
142
142
  - if: steps.npm-cache-many.outputs.cache-hit != 'true'
143
143
  name: Install codebase "many" dependencies
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/feeds": "^0.26.6",
19
- "@cloudcommerce/firebase": "^0.26.6",
20
- "@cloudcommerce/passport": "^0.26.6"
18
+ "@cloudcommerce/feeds": "^0.27.0",
19
+ "@cloudcommerce/firebase": "^0.27.0",
20
+ "@cloudcommerce/passport": "^0.27.0"
21
21
  }
22
22
  }
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "metatags": {
3
- "og_image": "",
4
- "fb_app_id": "",
5
- "twitter_username": ""
3
+ "ogImage": "",
4
+ "fbAppId": "",
5
+ "twitterUsername": ""
6
6
  },
7
- "custom_code": {
7
+ "customCode": {
8
8
  "css": "",
9
- "html_head": "",
10
- "html_body": ""
9
+ "htmlHead": "",
10
+ "htmlBody": ""
11
11
  },
12
12
  "header": {
13
- "pitch_bar": [
13
+ "pitchBar": [
14
14
  {
15
15
  "href": "",
16
16
  "html": "<d-md>Ganhe tempo: </d-md>Compre online e retire <d-md>pessoalmente</d-md> na <b>loja em Moema</b>, SP"
@@ -20,20 +20,20 @@
20
20
  "html": "<b>Frete grátis</b> <d-md>para todo Brasil</d-md> a partir de {free_shipping_from_value}"
21
21
  }
22
22
  ],
23
- "inline_menu_categories": {
23
+ "inlineMenuCategories": {
24
24
  "featured": [],
25
25
  "random": 7
26
26
  },
27
- "alphabetical_sort_submenu": false
27
+ "isAlphabeticalSortSubmenu": false
28
28
  },
29
29
  "footer": {
30
- "categories_list": {
31
- "enabled": true,
30
+ "categoriesList": {
31
+ "isActive": true,
32
32
  "title": "",
33
33
  "categories": []
34
34
  },
35
- "pages_list": {
36
- "enabled": true,
35
+ "pagesList": {
36
+ "isActive": true,
37
37
  "title": "",
38
38
  "links": []
39
39
  },
@@ -1,31 +1,31 @@
1
1
  {
2
- "meta_title": "",
3
- "meta_description": "",
2
+ "metaTitle": "",
3
+ "metaDescription": "",
4
4
  "hero": {
5
5
  "autoplay": 9000,
6
6
  "slides": [
7
7
  {
8
- "start": "",
9
- "end": "",
8
+ "startsAt": "",
9
+ "endsAt": "",
10
10
  "alt": "FORMAS DE TABLETES | Diversos modelos em diversos materiais | A partir de R$7,90",
11
11
  "img": "/img/uploads/banner-forma-decora.jpg",
12
- "mobile_img": "",
12
+ "mobileImg": "",
13
13
  "href": "/categoria/formas-de-barra-e-tablete-de-chocolate",
14
14
  "title": "Formas de tabletes",
15
15
  "subtitle": "Acetato, 3 partes, Polipropileno, Poliestireno, Policarbonato",
16
- "button_link": "/categoria/formas-de-barra-e-tablete-de-chocolate",
17
- "button_text": "A partir de R$ 7,90"
16
+ "buttonLink": "/categoria/formas-de-barra-e-tablete-de-chocolate",
17
+ "buttonText": "A partir de R$ 7,90"
18
18
  }
19
19
  ]
20
20
  },
21
21
  "sections": [
22
22
  {
23
23
  "type": "product-shelf",
24
- "collection_id": null,
24
+ "collectionIdAndInfo": null,
25
25
  "sort": "-price_discount",
26
26
  "title": "",
27
- "headless": false,
28
- "shuffle": false,
27
+ "isHeadless": false,
28
+ "isShuffle": false,
29
29
  "limit": 12,
30
30
  "page": 1
31
31
  }
@@ -0,0 +1,17 @@
1
+ {
2
+ "sections": [
3
+ {
4
+ "type": "breadcrumbs"
5
+ },
6
+ {
7
+ "type": "product-details",
8
+ "hasDescription": true
9
+ },
10
+ {
11
+ "type": "related-products"
12
+ },
13
+ {
14
+ "type": "product-specifications"
15
+ }
16
+ ]
17
+ }
@@ -4,17 +4,17 @@
4
4
  "description": "Loja de utensílios de confeitaria e acessórios de festa. Tudo o que precisa para fazer bolos, chocolates, biscoitos e muito mais.",
5
5
  "logo": "/img/uploads/logo-barradoce.webp",
6
6
  "icon": "/img/uploads/ecom-icon.png",
7
- "primary_color": "#f06606",
8
- "secondary_color": "#ff7c04",
7
+ "primaryColor": "#f06606",
8
+ "secondaryColor": "#ff7c04",
9
9
  "email": "",
10
10
  "phone": "",
11
11
  "address": "",
12
- "corporate_name": "",
13
- "doc_number": "",
12
+ "corporateName": "",
13
+ "docNumber": "",
14
14
  "lang": "pt_br",
15
15
  "currency": "BRL",
16
- "currency_symbol": "R$",
17
- "country_code": "BR",
16
+ "currencySymbol": "R$",
17
+ "countryCode": "BR",
18
18
  "whatsapp": "(31) 9 8272-1558",
19
19
  "instagram": "https://www.instagram.com/ecomclub/",
20
20
  "facebook": "https://www.facebook.com/ecom.clubpage/",
@@ -23,13 +23,13 @@
23
23
  "tiktok": "",
24
24
  "pinterest": "",
25
25
  "threads": "",
26
- "service_links": [
26
+ "serviceLinks": [
27
27
  {
28
28
  "title": "Fale conosco",
29
29
  "href": "/pages/contato"
30
30
  }
31
31
  ],
32
- "payment_methods": [
32
+ "paymentMethods": [
33
33
  "pix",
34
34
  "visa",
35
35
  "mastercard",
@@ -17,14 +17,14 @@
17
17
  },
18
18
  "main": "index.js",
19
19
  "dependencies": {
20
- "@cloudcommerce/api": "^0.26.6",
21
- "@cloudcommerce/firebase": "^0.26.6",
22
- "@cloudcommerce/ssr": "^0.26.6"
20
+ "@cloudcommerce/api": "^0.27.0",
21
+ "@cloudcommerce/firebase": "^0.27.0",
22
+ "@cloudcommerce/ssr": "^0.27.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@cloudcommerce/i18n": "^0.26.6",
26
- "@cloudcommerce/storefront": "^0.26.6",
27
- "@cloudcommerce/types": "^0.26.6",
25
+ "@cloudcommerce/i18n": "^0.27.0",
26
+ "@cloudcommerce/storefront": "^0.27.0",
27
+ "@cloudcommerce/types": "^0.27.0",
28
28
  "@fontsource/croissant-one": "^5.0.9",
29
29
  "@iconify-json/mingcute": "^1.1.9"
30
30
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <Menu
3
3
  as="div"
4
- class="relative text-center text-sm text-base-800"
4
+ class="text-base-800 relative text-center text-sm"
5
5
  v-slot="{ open }"
6
6
  >
7
7
  <div v-if="open">
@@ -11,12 +11,12 @@
11
11
  <slot name="button" v-bind="{ open }" />
12
12
  </MenuButton>
13
13
  <Fade>
14
- <MenuItems class="absolute -right-8 mt-2 w-56
15
- rounded shadow ring-1 ring-black/5 bg-white
16
- divide-y divide-base-100 focus:outline-none">
17
- <div class="p-3 text-base-600">
14
+ <MenuItems class="divide-base-100 absolute -right-8 mt-2
15
+ w-56 divide-y rounded bg-white shadow
16
+ ring-1 ring-black/5 focus:outline-none">
17
+ <div class="text-base-600 p-3">
18
18
  {{ `${$t.i19hello} ${customerName || $t.i19visitor}` }}
19
- <AccountLink role="button" class="ui-btn-sm ui-btn-primary block my-1">
19
+ <AccountLink role="button" class="ui-btn-sm ui-btn-primary my-1 block">
20
20
  {{ $t.i19accessMyAccount }}
21
21
  </AccountLink>
22
22
  <AccountLink v-if="!isLogged" is-sign-up class="ui-link block">
@@ -46,7 +46,7 @@
46
46
  <MenuItem
47
47
  as="li"
48
48
  v-slot="{ active }"
49
- v-for="({ title, href }, i) in $settings.service_links"
49
+ v-for="({ title, href }, i) in $settings.serviceLinks"
50
50
  :key="`s-${i}`"
51
51
  >
52
52
  <ALink
@@ -58,16 +58,16 @@
58
58
  </ALink>
59
59
  </MenuItem>
60
60
  <MenuItem as="li">
61
- <div class="flex justify-center gap-2 p-2 text-base-500 text-base">
61
+ <div class="text-base-500 flex justify-center gap-2 p-2 text-base">
62
62
  <span v-for="(href, network) in socialNetworks" :key="network">
63
- <SocialNetworkLink :network="network" class="p-1 hover:text-primary" />
63
+ <SocialNetworkLink :network="network" class="hover:text-primary p-1" />
64
64
  </span>
65
65
  </div>
66
66
  </MenuItem>
67
67
  <MenuItem v-if="isLogged" as="li">
68
- <button @click="logout" class="p-2 text-right text-base-800">
68
+ <button @click="logout" class="text-base-800 p-2 text-right">
69
69
  <span class="text-base-600">{{ $t.i19logout }}</span>
70
- <i class="i-align-arrow-left-fill text-lg ml-1"></i>
70
+ <i class="i-align-arrow-left-fill ml-1 text-lg"></i>
71
71
  </button>
72
72
  </MenuItem>
73
73
  </ul>
@@ -1,26 +1,26 @@
1
1
  <template>
2
- <footer class="w-screen bg-base-50 border-t border-base-100 py-2">
2
+ <footer class="bg-base-50 border-base-100 w-screen border-t py-2">
3
3
  <div class="ui-section">
4
- <div class="pb-7 border-b border-base-200
5
- flex justify-between flex-wrap lg:flex-nowrap sm:gap-x-10 gap-y-5">
4
+ <div class="border-base-200 flex flex-wrap
5
+ justify-between gap-y-5 border-b pb-7 sm:gap-x-10 lg:flex-nowrap">
6
6
  <div class="shrink">
7
7
  <slot name="logo" />
8
8
  <div v-if="$settings.description" class="prose">
9
9
  <p>{{ $settings.description }}</p>
10
10
  </div>
11
- <div class="flex gap-2 text-base-500">
11
+ <div class="text-base-500 flex gap-2">
12
12
  <span v-for="(href, network) in socialNetworks" :key="network">
13
- <SocialNetworkLink :network="network" class="p-1 hover:text-primary">
13
+ <SocialNetworkLink :network="network" class="hover:text-primary p-1">
14
14
  <template v-if="network === 'whatsapp'" #append>
15
- <span class="ml-1 text-sm text-base-600">
15
+ <span class="text-base-600 ml-1 text-sm">
16
16
  {{ $settings.whatsapp }}
17
17
  </span>
18
18
  </template>
19
19
  </SocialNetworkLink>
20
20
  </span>
21
21
  </div>
22
- <div v-if="$settings.address || $settings.phone" class="mt-3 text-base-700">
23
- <address v-if="$settings.address" class="inline-block mr-4">
22
+ <div v-if="$settings.address || $settings.phone" class="text-base-700 mt-3">
23
+ <address v-if="$settings.address" class="mr-4 inline-block">
24
24
  {{ $settings.address }}
25
25
  </address>
26
26
  <ALink
@@ -34,7 +34,7 @@
34
34
  </div>
35
35
  </div>
36
36
  <div v-if="categories?.length" class="basis-1/2 sm:basis-auto">
37
- <div class="text-lg font-medium mb-2.5">
37
+ <div class="mb-2.5 text-lg font-medium">
38
38
  {{ categoriesColTitle || $t.i19categories }}
39
39
  </div>
40
40
  <ul
@@ -55,7 +55,7 @@
55
55
  </ul>
56
56
  </div>
57
57
  <div v-if="pageLinks?.length" class="basis-1/2 sm:basis-auto">
58
- <div class="text-lg font-medium mb-2.5">
58
+ <div class="mb-2.5 text-lg font-medium">
59
59
  {{ pagesColTitle || $t.i19institutional }}
60
60
  </div>
61
61
  <ul
@@ -73,48 +73,48 @@
73
73
  </div>
74
74
  </div>
75
75
  <div class="ui-section">
76
- <div class="flex flex-wrap lg:flex-nowrap justify-between items-start gap-5">
77
- <ul class="flex gap-y-3 gap-x-6 lg:gap-x-8 items-center
78
- md:flex-wrap mx-auto md:mx-0 overflow-x-auto md:overflow-hidden">
76
+ <div class="flex flex-wrap items-start justify-between gap-5 lg:flex-nowrap">
77
+ <ul class="mx-auto flex items-center gap-x-6 gap-y-3
78
+ overflow-x-auto md:mx-0 md:flex-wrap md:overflow-hidden lg:gap-x-8">
79
79
  <li v-for="(stamp, i) in stamps" :key="i">
80
80
  <ALink :href="stamp.href?.replace('{domain}', $settings.domain || '')">
81
81
  <slot :name="`picture-${i}`" />
82
82
  <span v-if="!stamp.img" class="flex items-center">
83
83
  <span
84
84
  v-if="stamp.icon"
85
- class="text-4xl mr-2
86
- [&>*]:bg-gradient-to-br [&>*]:from-secondary-300 [&>*]:to-secondary-600"
85
+ class="[&>*]:from-secondary-300 [&>*]:to-secondary-600
86
+ mr-2 text-4xl [&>*]:bg-gradient-to-br"
87
87
  >
88
88
  <i v-if="stamp.icon === 'lock'" class="i-lock-closed"></i>
89
89
  <i v-else-if="stamp.icon === 'check'" class="i-check-badge"></i>
90
90
  <i v-else class="i-arrow-path-rounded-square"></i>
91
91
  </span>
92
- <span class="text-sm font-medium text-base-600 max-w-[140px]">
92
+ <span class="text-base-600 max-w-[140px] text-sm font-medium">
93
93
  {{ stamp.alt }}
94
94
  <i
95
95
  v-if="stamp.href && stamp.href.charAt(0) !== '/'"
96
- class="bg-base-400 ml-0.5 i-arrow-top-right-on-square"
96
+ class="bg-base-400 i-arrow-top-right-on-square ml-0.5"
97
97
  ></i>
98
98
  </span>
99
99
  </span>
100
100
  </ALink>
101
101
  </li>
102
102
  </ul>
103
- <div class="flex flex-wrap md:flex-nowrap justify-end items-center
104
- gap-4 text-2xl mx-auto md:mx-0 overflow-x-auto md:overflow-hidden">
103
+ <div class="mx-auto flex flex-wrap items-center justify-end
104
+ gap-4 overflow-x-auto text-2xl md:mx-0 md:flex-nowrap md:overflow-hidden">
105
105
  <PaymentMethodFlag
106
- v-for="paymentMethod in $settings.payment_methods"
106
+ v-for="paymentMethod in $settings.paymentMethods"
107
107
  :key="paymentMethod"
108
108
  :flag="paymentMethod"
109
109
  />
110
110
  </div>
111
111
  </div>
112
- <div class="mt-7 text-xs text-center md:text-left
113
- md:flex justify-between gap-4">
112
+ <div class="mt-7 justify-between gap-4 text-center
113
+ text-xs md:flex md:text-left">
114
114
  <div class="mb-3 md:mb-0">
115
- @ {{ new Date().getFullYear() }} {{ $settings.corporate_name }}
115
+ @ {{ new Date().getFullYear() }} {{ $settings.corporateName }}
116
116
  {{ $settings.address ? `/ ${$settings.address}` : '' }}
117
- / {{ $settings.doc_number }}
117
+ / {{ $settings.docNumber }}
118
118
  </div>
119
119
  <ALink href="https://www.ecomplus.io/" class="italic text-[#37003c]">
120
120
  powered by <b>E-Com Plus</b>
@@ -14,13 +14,13 @@ const layoutContent = await getContent('layout');
14
14
  const {
15
15
  footer: {
16
16
  stamps,
17
- categories_list: categoriesList,
18
- pages_list: pagesList,
17
+ categoriesList,
18
+ pagesList,
19
19
  },
20
20
  } = layoutContent;
21
21
  let mainCategories: ShopFooterProps['categories'];
22
22
  let pageLinks: ShopFooterProps['pageLinks'];
23
- if (categoriesList?.enabled) {
23
+ if (categoriesList?.isActive) {
24
24
  if (categoriesList.categories?.length) {
25
25
  mainCategories = categoriesList.categories;
26
26
  } else {
@@ -29,7 +29,7 @@ if (categoriesList?.enabled) {
29
29
  mainCategories = filterMainCategories(categories);
30
30
  }
31
31
  }
32
- if (pagesList?.enabled) {
32
+ if (pagesList?.isActive) {
33
33
  if (pagesList.links?.length) {
34
34
  pageLinks = pagesList.links;
35
35
  } else {
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/events": "^0.26.6",
19
- "@cloudcommerce/firebase": "^0.26.6",
20
- "@cloudcommerce/modules": "^0.26.6"
18
+ "@cloudcommerce/events": "^0.27.0",
19
+ "@cloudcommerce/firebase": "^0.27.0",
20
+ "@cloudcommerce/modules": "^0.27.0"
21
21
  }
22
22
  }
@@ -23,9 +23,9 @@
23
23
  "url": "https://github.com/ecomplus/cloud-commerce/issues"
24
24
  },
25
25
  "dependencies": {
26
- "@cloudcommerce/cli": "^0.26.6"
26
+ "@cloudcommerce/cli": "^0.27.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@cloudcommerce/eslint": "^0.26.6"
29
+ "@cloudcommerce/eslint": "^0.27.0"
30
30
  }
31
31
  }
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/feeds": "^0.26.6",
19
- "@cloudcommerce/firebase": "^0.26.6",
20
- "@cloudcommerce/passport": "^0.26.6"
18
+ "@cloudcommerce/feeds": "^0.27.0",
19
+ "@cloudcommerce/firebase": "^0.27.0",
20
+ "@cloudcommerce/passport": "^0.27.0"
21
21
  }
22
22
  }
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "metatags": {
3
- "og_image": "",
4
- "fb_app_id": "",
5
- "twitter_username": ""
3
+ "ogImage": "",
4
+ "fbAppId": "",
5
+ "twitterUsername": ""
6
6
  },
7
- "custom_code": {
7
+ "customCode": {
8
8
  "css": "",
9
- "html_head": "",
10
- "html_body": ""
9
+ "htmlHead": "",
10
+ "htmlBody": ""
11
11
  },
12
12
  "header": {
13
- "pitch_bar": [
13
+ "pitchBar": [
14
14
  {
15
15
  "href": "",
16
16
  "html": "<b>Frete grátis</b> para todo Brasil"
17
17
  }
18
18
  ],
19
- "inline_menu_categories": {
19
+ "inlineMenuCategories": {
20
20
  "featured": [],
21
21
  "random": 7
22
22
  },
23
- "alphabetical_sort_submenu": false
23
+ "isAlphabeticalSortSubmenu": false
24
24
  },
25
25
  "footer": {
26
- "pages_list": {
27
- "enabled": true,
26
+ "pagesList": {
27
+ "isActive": true,
28
28
  "title": "",
29
29
  "links": []
30
30
  },