cloudcommerce 2.2.1 → 2.2.2

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 (102) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/action.yml +74 -50
  3. package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
  4. package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
  5. package/ecomplus-stores/barra-doce/functions/ssr/src/components/AccountMenu.vue +5 -1
  6. package/ecomplus-stores/barra-doce/functions/ssr/src/components/SearchShowcase.vue +1 -1
  7. package/ecomplus-stores/barra-doce/functions/ssr/src/components/ShopHeaderSubmenu.vue +4 -1
  8. package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
  9. package/ecomplus-stores/barra-doce/package.json +2 -2
  10. package/package.json +2 -2
  11. package/packages/api/package.json +1 -1
  12. package/packages/apps/affiliate-program/package.json +1 -1
  13. package/packages/apps/correios/package.json +1 -1
  14. package/packages/apps/custom-payment/package.json +1 -1
  15. package/packages/apps/custom-shipping/package.json +1 -1
  16. package/packages/apps/datafrete/package.json +1 -1
  17. package/packages/apps/discounts/package.json +1 -1
  18. package/packages/apps/emails/package.json +1 -1
  19. package/packages/apps/fb-conversions/package.json +1 -1
  20. package/packages/apps/flash-courier/package.json +1 -1
  21. package/packages/apps/frenet/package.json +1 -1
  22. package/packages/apps/galaxpay/package.json +1 -1
  23. package/packages/apps/google-analytics/package.json +1 -1
  24. package/packages/apps/jadlog/package.json +1 -1
  25. package/packages/apps/loyalty-points/package.json +1 -1
  26. package/packages/apps/mandae/package.json +1 -1
  27. package/packages/apps/melhor-envio/package.json +1 -1
  28. package/packages/apps/mercadopago/package.json +1 -1
  29. package/packages/apps/pagarme/package.json +1 -1
  30. package/packages/apps/pagarme-v5/package.json +1 -1
  31. package/packages/apps/paghiper/package.json +1 -1
  32. package/packages/apps/pix/package.json +1 -1
  33. package/packages/apps/tiny-erp/package.json +1 -1
  34. package/packages/apps/webhooks/package.json +1 -1
  35. package/packages/cli/ci/bunny-config-base.sh +1 -1
  36. package/packages/cli/ci/bunny-prepare-ab.sh +1 -1
  37. package/packages/cli/ci/bunny-remove-ab.sh +1 -1
  38. package/packages/cli/ci/bunny-setup.sh +1 -1
  39. package/packages/cli/package.json +1 -1
  40. package/packages/config/package.json +1 -1
  41. package/packages/emails/package.json +1 -1
  42. package/packages/eslint/package.json +1 -1
  43. package/packages/events/package.json +1 -1
  44. package/packages/feeds/package.json +1 -1
  45. package/packages/firebase/package.json +1 -1
  46. package/packages/i18n/package.json +1 -1
  47. package/packages/modules/package.json +1 -1
  48. package/packages/passport/package.json +1 -1
  49. package/packages/ssr/lib/lib/cron-ssr-save-views.js +6 -0
  50. package/packages/ssr/lib/lib/cron-ssr-save-views.js.map +1 -1
  51. package/packages/ssr/package.json +2 -2
  52. package/packages/ssr/src/lib/cron-ssr-save-views.ts +6 -0
  53. package/packages/storefront/astro.config.mjs +2 -0
  54. package/packages/storefront/dist/client/_astro/{AccountPage.89hLh9p2.js → AccountPage.HcKW6HTE.js} +1 -1
  55. package/packages/storefront/dist/client/_astro/{CartSidebar.G25ZUnKP.js → CartSidebar.osvr0MUo.js} +1 -1
  56. package/packages/storefront/dist/client/_astro/{HeroSlider.XZb2xsyV.js → HeroSlider.I5mC8JdX.js} +1 -1
  57. package/packages/storefront/dist/client/_astro/{PitchBar.Nr7T3S3T.js → PitchBar.xC4J7MDy.js} +1 -1
  58. package/packages/storefront/dist/client/_astro/{Prices.Ye-m2HTo.js → Prices.Jt09rVKv.js} +1 -1
  59. package/packages/storefront/dist/client/_astro/{ProductDetails.ntFWLjla.js → ProductDetails.oouZY3cL.js} +1 -1
  60. package/packages/storefront/dist/client/_astro/ProductShelf.dYlXuNId.js +1 -0
  61. package/packages/storefront/dist/client/_astro/{ProductShelf.PPitdYxI.js → ProductShelf.vGE0E3Qf.js} +1 -1
  62. package/packages/storefront/dist/client/_astro/{QuantitySelector.tumfWDjC.js → QuantitySelector.OL4MN-C_.js} +1 -1
  63. package/packages/storefront/dist/client/_astro/{SearchModal.R55jFaBZ.js → SearchModal.d8lbvLay.js} +1 -1
  64. package/packages/storefront/dist/client/_astro/SearchShowcase.ynowXX4j.js +1 -0
  65. package/packages/storefront/dist/client/_astro/{ShopHeader.OLf0l4Ot.js → ShopHeader.l4KJGvUd.js} +2 -2
  66. package/packages/storefront/dist/client/_astro/_slug_.4W7qhV-L.css +1 -0
  67. package/packages/storefront/dist/client/_astro/{customer-session.AcETMuhI.js → customer-session.TRPGDX3c.js} +1 -1
  68. package/packages/storefront/dist/client/_astro/{hoisted.Wi6YpdWJ.js → hoisted.8pwSenCN.js} +1 -1
  69. package/packages/storefront/dist/client/_astro/{hoisted.WBjTfX6e.js → hoisted.SLwcAI01.js} +1 -1
  70. package/packages/storefront/dist/client/_astro/{hoisted.PxLuJZKI.js → hoisted.gqV7f6f3.js} +1 -1
  71. package/packages/storefront/dist/client/_astro/{modules-info.tVRhvxNm.js → modules-info.WWsUqEPZ.js} +1 -1
  72. package/packages/storefront/dist/client/_astro/sf-utils.luvTU5uS.js +1 -0
  73. package/packages/storefront/dist/client/_astro/{shopping-cart.dJsZkyuD.js → shopping-cart.ATTXCPd0.js} +1 -1
  74. package/packages/storefront/dist/client/_astro/use-analytics.WpkjGsWi.js +1 -0
  75. package/packages/storefront/dist/client/_astro/{use-product-card.WRVLjenR.js → use-product-card.BhUXhJIp.js} +1 -1
  76. package/packages/storefront/dist/client/app/account/index.html +58 -0
  77. package/packages/storefront/dist/client/app/index.html +98 -0
  78. package/packages/storefront/dist/client/blog/1/index.html +86 -0
  79. package/packages/storefront/dist/client/{~index.html → index.html} +11 -8
  80. package/packages/storefront/dist/client/macbook-apple-pro-15.4-intel-core-i7-2.6ghz-ram-16gb-ssd-512gb-mr972ll/a-prata/index.html +93 -0
  81. package/packages/storefront/dist/client/monitores-gamer/index.html +95 -0
  82. package/packages/storefront/dist/client/mouse-gamer-corsair-optico-harpoon-rgb-ch-9301011-na/index.html +93 -0
  83. package/packages/storefront/dist/client/p/contato/index.html +90 -0
  84. package/packages/storefront/dist/client/p/terms/index.html +101 -0
  85. package/packages/storefront/dist/client/posts/3/index.html +101 -0
  86. package/packages/storefront/dist/client/posts/4/index.html +101 -0
  87. package/packages/storefront/dist/client/{~fallback.html → ~fallback/index.html} +4 -3
  88. package/packages/storefront/package.json +2 -2
  89. package/packages/storefront/src/helpers/sf-utils.ts +7 -3
  90. package/packages/storefront/src/lib/components/QuantitySelector.vue +1 -1
  91. package/packages/storefront/src/lib/composables/use-sticky-header.ts +1 -1
  92. package/packages/storefront/src/lib/layouts/BaseHead.astro +1 -0
  93. package/packages/storefront/src/lib/pages/_vue.ts +2 -0
  94. package/packages/storefront/src/lib/ssr-context.ts +1 -0
  95. package/packages/storefront/src/vue-globals.d.ts +1 -0
  96. package/packages/test-base/package.json +1 -1
  97. package/packages/types/package.json +1 -1
  98. package/packages/storefront/dist/client/_astro/ProductShelf.xSxmHkTe.js +0 -1
  99. package/packages/storefront/dist/client/_astro/SearchShowcase.I1PPFu_n.js +0 -1
  100. package/packages/storefront/dist/client/_astro/_slug_.Hc-dqhcW.css +0 -1
  101. package/packages/storefront/dist/client/_astro/sf-utils.Z4H-dRBJ.js +0 -1
  102. package/packages/storefront/dist/client/_astro/use-analytics.uqK_2k_k.js +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
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
+ ### [2.2.2](https://github.com/ecomplus/cloud-commerce/compare/v2.2.1...v2.2.2) (2024-01-31)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **cli:** Call `ci/bunny-config-base.sh` with correct args on setup ([4e816c1](https://github.com/ecomplus/cloud-commerce/commit/4e816c174a5b02fbb660adda297717cf30c36692))
11
+ * **ssr:** Purge bunny.net cache only for page views older than 3min ([391ed21](https://github.com/ecomplus/cloud-commerce/commit/391ed21011fa28b342ed95b1e3cb99a7157374a9))
12
+ * **storefront:** Bump Astro to latest v4.2.7 ([a32bf15](https://github.com/ecomplus/cloud-commerce/commit/a32bf15037131af22dbfa2ae7bc7f27ac5318eb1))
13
+ * **storefront:** Preventing hydration mismatch with random `useId`s ([481518a](https://github.com/ecomplus/cloud-commerce/commit/481518a1f5375871f01b882dd8714731fbb41808))
14
+ * **storefront:** Preventing hydration mismatch with random `useId`s ([bfc4f8c](https://github.com/ecomplus/cloud-commerce/commit/bfc4f8c5e363d28dc30f085eab97e6e2fc88530b))
15
+ * **storefront:** Reducing sticky header scroll watcher debounce to 20ms ([aff44e5](https://github.com/ecomplus/cloud-commerce/commit/aff44e5e5f8185472a848b83b42bdc82f374ed12))
16
+
5
17
  ### [2.2.1](https://github.com/ecomplus/cloud-commerce/compare/v2.2.0...v2.2.1) (2024-01-30)
6
18
 
7
19
 
package/action.yml CHANGED
@@ -104,6 +104,9 @@ outputs: {}
104
104
  runs:
105
105
  using: "composite"
106
106
  steps:
107
+ - shell: bash
108
+ run: echo "year=$(date +'%Y')" >> $GITHUB_ENV
109
+
107
110
  - uses: actions/setup-node@v4
108
111
  with:
109
112
  node-version: 18
@@ -116,24 +119,6 @@ runs:
116
119
  path: node_modules
117
120
  key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
118
121
 
119
- - uses: actions/cache@v3
120
- id: npm-cache-many
121
- with:
122
- path: functions/many/node_modules
123
- key: ${{ runner.os }}-npm-${{ hashFiles('functions/many/package-lock.json') }}
124
-
125
- - uses: actions/cache@v3
126
- id: npm-cache-ssr
127
- with:
128
- path: functions/ssr/node_modules
129
- key: ${{ runner.os }}-npm-${{ hashFiles('functions/ssr/package-lock.json') }}
130
-
131
- - uses: actions/cache@v3
132
- id: npm-cache-with-apps
133
- with:
134
- path: functions/with-apps/node_modules
135
- key: ${{ runner.os }}-npm-${{ hashFiles('functions/with-apps/package-lock.json') }}
136
-
137
122
  - if: steps.npm-cache-root.outputs.cache-hit != 'true'
138
123
  shell: bash
139
124
  run: npm ci --omit=dev --ignore-scripts
@@ -159,34 +144,8 @@ runs:
159
144
  shell: bash
160
145
  run: npm i --location=global firebase-tools@13.1.0
161
146
 
162
- - if: steps.npm-cache-many.outputs.cache-hit != 'true'
163
- name: Install codebase "many" dependencies
164
- shell: bash
165
- working-directory: functions/many
166
- run: npm ci
167
-
168
- - if: steps.npm-cache-ssr.outputs.cache-hit != 'true'
169
- name: Install codebase "ssr" dependencies
170
- shell: bash
171
- working-directory: functions/ssr
172
- run: npm ci
173
-
174
- - if: steps.npm-cache-with-apps.outputs.cache-hit != 'true'
175
- name: Install codebase "with-apps" dependencies
176
- shell: bash
177
- working-directory: functions/with-apps
178
- run: npm ci
179
-
180
- - name: Set ecom_store_id and git_branch env
181
- shell: bash
182
- working-directory: functions
183
- env:
184
- ECOM_STORE_ID: ${{ inputs.ecom-store-id }}
185
- run: |
186
- echo "ecom_store_id=${ECOM_STORE_ID:-$(cat config.json | jq -r '.storeId')}" >> $GITHUB_ENV
187
- echo "git_branch=${GITHUB_HEAD_REF:-${GITHUB_REF_NAME}}" >> $GITHUB_ENV
188
-
189
- - uses: dorny/paths-filter@v3.0.0
147
+ - if: github.event_name == 'push'
148
+ uses: dorny/paths-filter@v3.0.0
190
149
  id: changes
191
150
  with:
192
151
  filters: |
@@ -196,8 +155,9 @@ runs:
196
155
  - 'functions/with-apps/**'
197
156
  ssr:
198
157
  - 'functions/ssr/**'
199
-
200
- - name: Check functions codebase to deploy
158
+
159
+ - if: github.event_name == 'push'
160
+ name: Check functions codebase to deploy
201
161
  shell: bash
202
162
  env:
203
163
  DEPLOY_CODEBASE: ${{ inputs.deploy-codebase }}
@@ -220,6 +180,70 @@ runs:
220
180
  fi
221
181
  echo "deploy_codebase=$deploy_codebase" >> $GITHUB_ENV
222
182
 
183
+ - if: github.event_name == 'pull_request'
184
+ shell: bash
185
+ run: echo "deploy_codebase=ssr" >> $GITHUB_ENV
186
+
187
+ - if: env.deploy_codebase == '' || env.deploy_codebase == 'many'
188
+ uses: actions/cache@v3
189
+ id: npm-cache-many
190
+ with:
191
+ path: functions/many/node_modules
192
+ key: ${{ runner.os }}-npm-${{ hashFiles('functions/many/package-lock.json') }}
193
+
194
+ - if: env.deploy_codebase == '' || env.deploy_codebase == 'ssr'
195
+ uses: actions/cache@v3
196
+ id: npm-cache-ssr
197
+ with:
198
+ path: functions/ssr/node_modules
199
+ key: ${{ runner.os }}-npm-${{ hashFiles('functions/ssr/package-lock.json') }}
200
+
201
+ - if: env.deploy_codebase == '' || env.deploy_codebase == 'ssr'
202
+ uses: actions/cache@v3
203
+ with:
204
+ path: functions/ssr/.cache
205
+ key: ${{ runner.os }}-${{ env.year }}-storefront
206
+
207
+ - if: env.deploy_codebase == '' || env.deploy_codebase == 'with-apps'
208
+ uses: actions/cache@v3
209
+ id: npm-cache-with-apps
210
+ with:
211
+ path: functions/with-apps/node_modules
212
+ key: ${{ runner.os }}-npm-${{ hashFiles('functions/with-apps/package-lock.json') }}
213
+
214
+ - if: |
215
+ (env.deploy_codebase == '' || env.deploy_codebase == 'many')
216
+ && steps.npm-cache-many.outputs.cache-hit != 'true'
217
+ name: Install codebase "many" dependencies
218
+ shell: bash
219
+ working-directory: functions/many
220
+ run: npm ci
221
+
222
+ - if: |
223
+ (env.deploy_codebase == '' || env.deploy_codebase == 'ssr')
224
+ && steps.npm-cache-ssr.outputs.cache-hit != 'true'
225
+ name: Install codebase "ssr" dependencies
226
+ shell: bash
227
+ working-directory: functions/ssr
228
+ run: npm ci
229
+
230
+ - if: |
231
+ (env.deploy_codebase == '' || env.deploy_codebase == 'with-apps')
232
+ && steps.npm-cache-with-apps.outputs.cache-hit != 'true'
233
+ name: Install codebase "with-apps" dependencies
234
+ shell: bash
235
+ working-directory: functions/with-apps
236
+ run: npm ci
237
+
238
+ - name: Set ecom_store_id and git_branch env
239
+ shell: bash
240
+ working-directory: functions
241
+ env:
242
+ ECOM_STORE_ID: ${{ inputs.ecom-store-id }}
243
+ run: |
244
+ echo "ecom_store_id=${ECOM_STORE_ID:-$(cat config.json | jq -r '.storeId')}" >> $GITHUB_ENV
245
+ echo "git_branch=${GITHUB_HEAD_REF:-${GITHUB_REF_NAME}}" >> $GITHUB_ENV
246
+
223
247
  - if: github.event_name == 'push'
224
248
  name: Deploy to Firebase live
225
249
  shell: bash
@@ -334,7 +358,7 @@ runs:
334
358
  npm run deploy -- --only functions:$DEPLOY_CODEBASE
335
359
  fi
336
360
  fi
337
-
361
+
338
362
  - if: github.event_name == 'push' && contains(github.event.head_commit.message, '[run:')
339
363
  name: Run script from `@cloudcommerce/cli/ci/`
340
364
  shell: bash
@@ -396,7 +420,7 @@ runs:
396
420
  bash $GITHUB_ACTION_PATH/packages/cli/ci/bunny-prepare-ab.sh 1 $domain $CHANNEL_URL
397
421
  fi
398
422
  fi
399
-
423
+
400
424
  - if: |
401
425
  github.event_name == 'pull_request' && github.event.action == 'closed'
402
426
  && startsWith(env.git_branch, 'main-')
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/feeds": "^2.2.0",
19
- "@cloudcommerce/firebase": "^2.2.0",
20
- "@cloudcommerce/passport": "^2.2.0"
18
+ "@cloudcommerce/feeds": "^2.2.1",
19
+ "@cloudcommerce/firebase": "^2.2.1",
20
+ "@cloudcommerce/passport": "^2.2.1"
21
21
  }
22
22
  }
@@ -18,15 +18,15 @@
18
18
  },
19
19
  "main": "index.js",
20
20
  "dependencies": {
21
- "@cloudcommerce/api": "^2.2.0",
22
- "@cloudcommerce/firebase": "^2.2.0",
23
- "@cloudcommerce/ssr": "^2.2.0",
21
+ "@cloudcommerce/api": "^2.2.1",
22
+ "@cloudcommerce/firebase": "^2.2.1",
23
+ "@cloudcommerce/ssr": "^2.2.1",
24
24
  "@headlessui/vue": "^1.7.17"
25
25
  },
26
26
  "devDependencies": {
27
- "@cloudcommerce/i18n": "^2.2.0",
28
- "@cloudcommerce/storefront": "^2.2.0",
29
- "@cloudcommerce/types": "^2.2.0",
27
+ "@cloudcommerce/i18n": "^2.2.1",
28
+ "@cloudcommerce/storefront": "^2.2.1",
29
+ "@cloudcommerce/types": "^2.2.1",
30
30
  "@iconify-json/mingcute": "^1.1.15",
31
31
  "photoswipe": "^5.4.3"
32
32
  }
@@ -8,7 +8,11 @@
8
8
  <span v-once>{{ initializeFirebaseAuth() }}</span>
9
9
  </div>
10
10
  <AccountLink role="button" @click.prevent>
11
- <MenuButton class="outline-none" :aria-label="$t.i19myAccount">
11
+ <MenuButton
12
+ id="AccountBtn"
13
+ class="outline-none"
14
+ :aria-label="$t.i19myAccount"
15
+ >
12
16
  <slot name="button" v-bind="{ open }" />
13
17
  </MenuButton>
14
18
  </AccountLink>
@@ -60,7 +60,7 @@
60
60
  as="div"
61
61
  class="text-base-800 relative text-sm"
62
62
  >
63
- <ListboxButton class="ui-btn-sm ui-btn-secondary">
63
+ <ListboxButton :id="$useId('ss')" class="ui-btn-sm ui-btn-secondary">
64
64
  {{ $t.i19sort }}
65
65
  </ListboxButton>
66
66
  <Fade>
@@ -1,7 +1,10 @@
1
1
  <template>
2
2
  <Popover v-slot="{ open }">
3
3
  <a :href="`/${categoryTree.slug}`" role="button">
4
- <PopoverButton class="outline-none">
4
+ <PopoverButton
5
+ :id="`PopB${categoryTree._id || $useId('c')}`"
6
+ class="outline-none"
7
+ >
5
8
  <slot name="button" v-bind="{ open }" />
6
9
  </PopoverButton>
7
10
  </a>
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/events": "^2.2.0",
19
- "@cloudcommerce/firebase": "^2.2.0",
20
- "@cloudcommerce/modules": "^2.2.0"
18
+ "@cloudcommerce/events": "^2.2.1",
19
+ "@cloudcommerce/firebase": "^2.2.1",
20
+ "@cloudcommerce/modules": "^2.2.1"
21
21
  }
22
22
  }
@@ -26,10 +26,10 @@
26
26
  "url": "https://github.com/ecomplus/cloud-commerce/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@cloudcommerce/cli": "^2.2.0"
29
+ "@cloudcommerce/cli": "^2.2.1"
30
30
  },
31
31
  "devDependencies": {
32
- "@cloudcommerce/eslint": "^2.2.0",
32
+ "@cloudcommerce/eslint": "^2.2.1",
33
33
  "husky": "^9.0.7",
34
34
  "lint-staged": "^15.2.0"
35
35
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "Open fair-code headless commerce platform: API-first, microservices based, event driven and cloud native",
6
6
  "main": "packages/api/lib/index.js",
7
7
  "author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
@@ -36,7 +36,7 @@
36
36
  "vite": "^5.0.11",
37
37
  "vitest": "^1.2.2",
38
38
  "zx": "^7.2.3",
39
- "@cloudcommerce/eslint": "2.2.1"
39
+ "@cloudcommerce/eslint": "2.2.2"
40
40
  },
41
41
  "scripts": {
42
42
  "fix-install": "bash scripts/pre-install.sh && pnpm i",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-affiliate-program",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app for simple affiliate program",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-correios",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app for Correios shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-payment",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app for simple custom payment methods",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-shipping",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app for custom shipping methods",
6
6
  "main": "lib/custom-shipping.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-datafrete",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Datafrete shipping gateway ",
6
6
  "main": "lib/datafrete.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-discounts",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app for complex discount rules",
6
6
  "main": "lib/discounts.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-emails",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce default transactional email app",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-fb-conversions",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to send carts/orders to Facebook Conversions API",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-flash-courier",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Flash Courier",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-frenet",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app for Frenet shipping calculation",
6
6
  "main": "lib/frenet.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-galaxpay",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Galax Pay for recurring payments",
6
6
  "main": "lib/galaxpay.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-google-analytics",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to send carts/orders events to GA Measurement Protocol",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-jadlog",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app for Jadlog shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-loyalty-points",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to handle simple loyalty points programs",
6
6
  "main": "lib/loyalty-points.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mandae",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mandaê shipping intermediator",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-melhor-envio",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Melhor Envio",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mercadopago",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mercado Pago",
6
6
  "main": "lib/mercadopago.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me",
6
6
  "main": "lib/pagarme.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme-v5",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me API v5 with recurring payments",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-paghiper",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate PagHiper",
6
6
  "main": "lib/paghiper.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pix",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pix API (Bacen)",
6
6
  "main": "lib/pix.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-tiny-erp",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app for Tiny ERP",
6
6
  "main": "lib/tiny-erp.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-webhooks",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app for general order webhooks",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -9,7 +9,7 @@ if [ $# -eq 0 ]; then
9
9
  exit 1
10
10
  fi
11
11
  if [ $# -eq 1 ]; then
12
- echo "Provide the domain as the first argument"
12
+ echo "Provide the domain as the second argument"
13
13
  exit 1
14
14
  fi
15
15
 
@@ -9,7 +9,7 @@ if [ $# -eq 0 ]; then
9
9
  exit 1
10
10
  fi
11
11
  if [ $# -eq 1 ]; then
12
- echo "Provide the domain as the first argument"
12
+ echo "Provide the domain as the second argument"
13
13
  exit 1
14
14
  fi
15
15
 
@@ -9,7 +9,7 @@ if [ $# -eq 0 ]; then
9
9
  exit 1
10
10
  fi
11
11
  if [ $# -eq 1 ]; then
12
- echo "Provide the domain as the first argument"
12
+ echo "Provide the domain as the second argument"
13
13
  exit 1
14
14
  fi
15
15
 
@@ -99,5 +99,5 @@ if [ -n "$domain" ]; then
99
99
  printf "\n\n> Added hostname \"$domain\" to pull zone"
100
100
 
101
101
  script_dir=$(dirname $0)
102
- bash $script_dir/bunny-config-base.sh $domain
102
+ bash $script_dir/bunny-config-base.sh $project_id $domain
103
103
  fi
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/config",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce base config",
6
6
  "main": "lib/config.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/emails",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce email sender",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/eslint",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce ESLint config",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/events",
3
3
  "type": "module",
4
- "version": "2.2.1",
4
+ "version": "2.2.2",
5
5
  "description": "E-Com Plus Cloud Commerce app events",
6
6
  "main": "lib/index.js",
7
7
  "exports": {