cloudcommerce 2.0.9 → 2.2.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/CHANGELOG.md +29 -0
- package/LICENSE +21 -0
- package/README.md +3 -7
- package/action.yml +70 -6
- package/ecomplus-stores/barra-doce/.github/workflows/build-and-deploy.yml +4 -2
- package/ecomplus-stores/barra-doce/.vscode/settings.json +8 -1
- package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
- package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
- package/ecomplus-stores/barra-doce/functions/ssr/src/components/ShopHeader.vue +5 -9
- package/ecomplus-stores/barra-doce/functions/ssr/src/components/ShopHeaderMenu.vue +6 -3
- package/ecomplus-stores/barra-doce/functions/ssr/src/layouts/PageHeader.astro +2 -2
- package/ecomplus-stores/barra-doce/functions/ssr/src/pages/[...slug].astro +10 -2
- package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
- package/ecomplus-stores/barra-doce/package.json +2 -4
- package/ecomplus-stores/tia-sonia/.github/workflows/build-and-deploy.yml +4 -2
- package/ecomplus-stores/tia-sonia/.vscode/settings.json +7 -1
- package/ecomplus-stores/tia-sonia/package.json +0 -2
- package/package.json +8 -8
- package/packages/__skeleton/package.json +1 -1
- package/packages/api/lib/api.js +1 -1
- package/packages/api/lib/api.js.map +1 -1
- package/packages/api/package.json +2 -2
- package/packages/api/src/api.ts +1 -1
- package/packages/apps/affiliate-program/package.json +2 -2
- package/packages/apps/correios/package.json +2 -2
- package/packages/apps/custom-payment/package.json +2 -2
- package/packages/apps/custom-shipping/package.json +2 -2
- package/packages/apps/datafrete/package.json +2 -2
- package/packages/apps/discounts/package.json +2 -2
- package/packages/apps/emails/package.json +2 -2
- package/packages/apps/fb-conversions/package.json +2 -2
- package/packages/apps/flash-courier/package.json +2 -2
- package/packages/apps/frenet/package.json +2 -2
- package/packages/apps/galaxpay/package.json +2 -2
- package/packages/apps/google-analytics/package.json +2 -2
- package/packages/apps/jadlog/package.json +2 -2
- package/packages/apps/loyalty-points/package.json +2 -2
- package/packages/apps/mandae/package.json +2 -2
- package/packages/apps/melhor-envio/package.json +2 -2
- package/packages/apps/mercadopago/package.json +2 -2
- package/packages/apps/pagarme/package.json +2 -2
- package/packages/apps/pagarme-v5/package.json +2 -2
- package/packages/apps/paghiper/package.json +2 -2
- package/packages/apps/pix/package.json +2 -2
- package/packages/apps/tiny-erp/package.json +2 -2
- package/packages/apps/webhooks/package.json +2 -2
- package/packages/cli/ci/bunny-config-base.sh +225 -0
- package/packages/cli/ci/bunny-prepare-ab.sh +173 -0
- package/packages/cli/ci/bunny-remove-ab.sh +54 -0
- package/packages/cli/ci/bunny-setup.sh +103 -0
- package/packages/cli/lib/cli.js +6 -0
- package/packages/cli/package.json +3 -2
- package/packages/cli/src/cli.ts +6 -0
- package/packages/config/package.json +2 -2
- package/packages/emails/package.json +2 -2
- package/packages/eslint/base.eslintrc.cjs +2 -0
- package/packages/eslint/package.json +4 -4
- package/packages/eslint/storefront.eslintrc.cjs +0 -2
- package/packages/events/package.json +2 -2
- package/packages/feeds/package.json +2 -2
- package/packages/firebase/package.json +3 -3
- package/packages/i18n/package.json +2 -2
- package/packages/modules/package.json +2 -2
- package/packages/passport/package.json +2 -2
- package/packages/ssr/lib/lib/cron-ssr-save-views.js +76 -4
- package/packages/ssr/lib/lib/cron-ssr-save-views.js.map +1 -1
- package/packages/ssr/package.json +3 -3
- package/packages/ssr/src/lib/cron-ssr-save-views.ts +78 -4
- package/packages/storefront/client.d.ts +2 -0
- package/packages/storefront/dist/client/_astro/{AccountPage.9BlGHXT3.js → AccountPage.89hLh9p2.js} +1 -1
- package/packages/storefront/dist/client/_astro/{CartSidebar.55UgTcV0.js → CartSidebar.G25ZUnKP.js} +1 -1
- package/packages/storefront/dist/client/_astro/{ProductDetails.ENLKdSz_.js → ProductDetails.ntFWLjla.js} +1 -1
- package/packages/storefront/dist/client/_astro/{ProductShelf.lCBJky3e.js → ProductShelf.PPitdYxI.js} +1 -1
- package/packages/storefront/dist/client/_astro/{ProductShelf.CNf5JDrU.js → ProductShelf.xSxmHkTe.js} +1 -1
- package/packages/storefront/dist/client/_astro/{SearchModal.4osqtafp.js → SearchModal.R55jFaBZ.js} +1 -1
- package/packages/storefront/dist/client/_astro/{SearchShowcase.hg6TWrz3.js → SearchShowcase.I1PPFu_n.js} +1 -1
- package/packages/storefront/dist/client/_astro/{ShopHeader.xLMeJpqV.js → ShopHeader.OLf0l4Ot.js} +2 -2
- package/packages/storefront/dist/client/_astro/{_slug_.r344YGqG.css → _slug_.Hc-dqhcW.css} +1 -1
- package/packages/storefront/dist/client/_astro/customer-session.AcETMuhI.js +7 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_12falx.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_15pqnO.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_t3guw.png +0 -0
- package/packages/storefront/dist/client/_astro/{firebase-app.cPMfoOsn.js → firebase-app.VduCDgof.js} +1 -1
- package/packages/storefront/dist/client/_astro/headphone_T2Jjc.avif +0 -0
- package/packages/storefront/dist/client/_astro/headphone_Z1CG18r.webp +0 -0
- package/packages/storefront/dist/client/_astro/{hoisted.J15ErMtK.js → hoisted.PxLuJZKI.js} +1 -1
- package/packages/storefront/dist/client/_astro/{hoisted.KYhwGfsv.js → hoisted.WBjTfX6e.js} +1 -1
- package/packages/storefront/dist/client/_astro/{hoisted.HGTzAuTI.js → hoisted.Wi6YpdWJ.js} +1 -1
- package/packages/storefront/dist/client/_astro/{index-dd468b12.D5s8VdAL.js → index-dd468b12.fl8bpn8l.js} +3 -3
- package/packages/storefront/dist/client/_astro/logo_1UBsBq.webp +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1K5PE9.png +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1KIIl1.avif +0 -0
- package/packages/storefront/dist/client/_astro/passion_LHbe9.webp +0 -0
- package/packages/storefront/dist/client/_astro/passion_Z23MeUb.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1TtOHY.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1f5opX.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_IUskt.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Uxfdf.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z15uApA.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z1Ap1Im.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z1JT1HB.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_ZY9mtN.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_tMFW0.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_1TgQXS.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_2Nm1z.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_DIqwR.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z1IKDb2.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z29FI4V.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z2kFHGk.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_ZkpPFI.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_jXzBi.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_x1l16.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect89_1TSfW7.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect89_Z1re32x.webp +0 -0
- package/packages/storefront/dist/client/_astro/{shopping-cart.ZdSCrjS6.js → shopping-cart.dJsZkyuD.js} +1 -1
- package/packages/storefront/dist/client/_astro/use-analytics.uqK_2k_k.js +1 -0
- package/packages/storefront/dist/client/_astro/{use-product-card.-9TsgDDW.js → use-product-card.WRVLjenR.js} +1 -1
- package/packages/storefront/dist/client/~fallback.html +98 -0
- package/packages/storefront/dist/client/~index.html +128 -0
- package/packages/storefront/dist/server/chunks/{CartSidebar_7UWmGIF6.mjs → CartSidebar_yYIzwp_R.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{SearchModal_MNdcYMws.mjs → SearchModal_GvRUZ6ce.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{_.._h5R83hoK.mjs → _.._Lq3r7hpv.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{_page__lWVlZyRe.mjs → _page__LqbeNfr1.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{account_jmelxnlw.mjs → account_4n4rpirV.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/astro/{assets-service_xNulQtBO.mjs → assets-service_yXRChsFH.mjs} +11 -66
- package/packages/storefront/dist/server/chunks/{astro_tggR3S_9.mjs → astro_F4pl3toV.mjs} +1 -7
- package/packages/storefront/dist/server/chunks/{index_e3ytAL8v.mjs → index_SwXtE1IM.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{node_kUJIRL0c.mjs → node_Nzz44v5l.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/pages/{__wihn0dYD.mjs → __z8Igc_-f.mjs} +102 -298
- package/packages/storefront/dist/server/chunks/pages/{_page__Sb1eYhpz.mjs → _page__-V1Q-Ymk.mjs} +3 -17
- package/packages/storefront/dist/server/chunks/pages/account_frSUn7gD.mjs +22 -0
- package/packages/storefront/dist/server/chunks/pages/{index_mQXYNYRg.mjs → index_QqJiJpFy.mjs} +4 -15
- package/packages/storefront/dist/server/chunks/pages/node_FoDIj_f7.mjs +257 -0
- package/packages/storefront/dist/server/chunks/pages/~fallback_t0lNhRm9.mjs +33 -0
- package/packages/storefront/dist/server/chunks/~fallback_EWqi0UyU.mjs +6 -0
- package/packages/storefront/dist/server/entry.mjs +8 -8
- package/packages/storefront/dist/server/images.dist.csv +30 -0
- package/packages/storefront/dist/server/images.src.csv +11 -0
- package/packages/storefront/dist/server/manifest_ZHJUD8_m.mjs +196 -0
- package/packages/storefront/dist/server/renderers.mjs +1 -1
- package/packages/storefront/dist/server/static-builds.csv +71 -0
- package/packages/storefront/package.json +4 -4
- package/packages/storefront/src/lib/layouts/BaseHead.astro +1 -0
- package/packages/storefront/src/lib/state/use-analytics.ts +24 -6
- package/packages/test-base/package.json +2 -2
- package/packages/types/package.json +2 -2
- package/LICENSE.md +0 -230
- package/ecomplus-stores/barra-doce/LICENSE.md +0 -230
- package/ecomplus-stores/tia-sonia/LICENSE.md +0 -230
- package/packages/storefront/dist/client/_astro/customer-session.hXdZh5Ii.js +0 -7
- package/packages/storefront/dist/client/_astro/use-analytics.tCrQbW8O.js +0 -1
- package/packages/storefront/dist/server/chunks/pages/account_-mULVQUB.mjs +0 -32
- package/packages/storefront/dist/server/chunks/pages/node_-qe5LuQh.mjs +0 -112
- package/packages/storefront/dist/server/chunks/pages/~fallback_ad_xyGHU.mjs +0 -58
- package/packages/storefront/dist/server/chunks/~fallback_EZqiEAFE.mjs +0 -6
- package/packages/storefront/dist/server/manifest_RrmXPEuL.mjs +0 -196
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-custom-payment",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app for simple custom payment methods",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/custom-payment"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-custom-shipping",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app for custom shipping methods",
|
|
6
6
|
"main": "lib/custom-shipping.js",
|
|
7
7
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/apps/custom-shipping"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-datafrete",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app to integrate Datafrete shipping gateway ",
|
|
6
6
|
"main": "lib/datafrete.js",
|
|
7
7
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/datafrete"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-discounts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app for complex discount rules",
|
|
6
6
|
"main": "lib/discounts.js",
|
|
7
7
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/apps/discounts"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-emails",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce default transactional email app",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/apps/send-transactional-emails"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-fb-conversions",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
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": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/apps/fb-conversions"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-flash-courier",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app to integrate Flash Courier",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/app-flash-courier"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-frenet",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app for Frenet shipping calculation",
|
|
6
6
|
"main": "lib/frenet.js",
|
|
7
7
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/frenet"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-galaxpay",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
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": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/galaxpay"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-google-analytics",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
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": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/apps/google-analytics"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-jadlog",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app for Jadlog shipping calculation",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/jadlog"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-loyalty-points",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
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": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/loyalty-points"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-mandae",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app to integrate Mandaê shipping intermediator",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/apps/mandae"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-melhor-envio",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app to integrate Melhor Envio",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/melhor-envio"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-mercadopago",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app to integrate Mercado Pago",
|
|
6
6
|
"main": "lib/mercadopago.js",
|
|
7
7
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/mercadopago"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-pagarme",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app to integrate Pagar.me",
|
|
6
6
|
"main": "lib/pagarme.js",
|
|
7
7
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/pagar-me"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-pagarme-v5",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
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": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/pagarme-v5"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-paghiper",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app to integrate PagHiper",
|
|
6
6
|
"main": "lib/paghiper.js",
|
|
7
7
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/paghiper"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-pix",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app to integrate Pix API (Bacen)",
|
|
6
6
|
"main": "lib/pix.js",
|
|
7
7
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "packages/apps/pix"
|
|
15
15
|
},
|
|
16
16
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
17
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-tiny-erp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app for Tiny ERP",
|
|
6
6
|
"main": "lib/tiny-erp.js",
|
|
7
7
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/apps/tiny-erp"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-webhooks",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app for general order webhooks",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/apps/webhooks"
|
|
11
11
|
},
|
|
12
12
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
16
16
|
},
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
if [ -z "$BUNNYNET_API_KEY" ]; then
|
|
4
|
+
echo "BUNNYNET_API_KEY env var must be set"
|
|
5
|
+
exit 1
|
|
6
|
+
fi
|
|
7
|
+
if [ $# -eq 0 ]; then
|
|
8
|
+
echo "Provide the Firebase project ID as the first argument"
|
|
9
|
+
exit 1
|
|
10
|
+
fi
|
|
11
|
+
if [ $# -eq 1 ]; then
|
|
12
|
+
echo "Provide the domain as the first argument"
|
|
13
|
+
exit 1
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
project_id=$1
|
|
17
|
+
domain=$2
|
|
18
|
+
|
|
19
|
+
response=$(curl --silent --request GET \
|
|
20
|
+
--url https://api.bunny.net/pullzone \
|
|
21
|
+
--header "AccessKey: $BUNNYNET_API_KEY" \
|
|
22
|
+
--header 'accept: application/json')
|
|
23
|
+
|
|
24
|
+
pull_zone_id=$(echo $response | jq --arg domain "$domain" '[.[] | select(.Hostnames[].Value | contains($domain)).Id][0]')
|
|
25
|
+
if [ -z "$pull_zone_id" ]; then
|
|
26
|
+
echo "bunny.net pull zone not found for domain $domain"
|
|
27
|
+
exit 1
|
|
28
|
+
fi
|
|
29
|
+
|
|
30
|
+
edge_rules=$(echo $response | jq --arg id "$pull_zone_id" '.[] | select(.Id == ($id | tonumber)).EdgeRules')
|
|
31
|
+
|
|
32
|
+
curl --silent --request POST \
|
|
33
|
+
--url "https://api.bunny.net/pullzone/$pull_zone_id" \
|
|
34
|
+
--header "AccessKey: $BUNNYNET_API_KEY" \
|
|
35
|
+
--header 'accept: application/json' \
|
|
36
|
+
--header 'content-type: application/json' \
|
|
37
|
+
--data '
|
|
38
|
+
{
|
|
39
|
+
"EnableGeoZoneUS": true,
|
|
40
|
+
"EnableGeoZoneEU": true,
|
|
41
|
+
"EnableGeoZoneASIA": false,
|
|
42
|
+
"EnableGeoZoneSA": true,
|
|
43
|
+
"EnableGeoZoneAF": false,
|
|
44
|
+
"ZoneSecurityEnabled": false,
|
|
45
|
+
"ZoneSecurityIncludeHashRemoteIP": false,
|
|
46
|
+
"IgnoreQueryStrings": true,
|
|
47
|
+
"MonthlyBandwidthLimit": 0,
|
|
48
|
+
"AddHostHeader": false,
|
|
49
|
+
"OriginHostHeader": "",
|
|
50
|
+
"Type": 0,
|
|
51
|
+
"AccessControlOriginHeaderExtensions": [
|
|
52
|
+
"eot",
|
|
53
|
+
"ttf",
|
|
54
|
+
"woff",
|
|
55
|
+
"woff2",
|
|
56
|
+
"css"
|
|
57
|
+
],
|
|
58
|
+
"EnableAccessControlOriginHeader": true,
|
|
59
|
+
"DisableCookies": true,
|
|
60
|
+
"CacheControlPublicMaxAgeOverride": -1,
|
|
61
|
+
"BurstSize": 0,
|
|
62
|
+
"RequestLimit": 0,
|
|
63
|
+
"BlockRootPathAccess": false,
|
|
64
|
+
"BlockPostRequests": false,
|
|
65
|
+
"LimitRatePerSecond": 0,
|
|
66
|
+
"LimitRateAfter": 0,
|
|
67
|
+
"ConnectionLimitPerIPCount": 0,
|
|
68
|
+
"AddCanonicalHeader": false,
|
|
69
|
+
"EnableLogging": true,
|
|
70
|
+
"EnableCacheSlice": false,
|
|
71
|
+
"EnableSmartCache": false,
|
|
72
|
+
"EnableWebPVary": false,
|
|
73
|
+
"EnableAvifVary": false,
|
|
74
|
+
"EnableCountryCodeVary": false,
|
|
75
|
+
"EnableMobileVary": false,
|
|
76
|
+
"EnableCookieVary": false,
|
|
77
|
+
"CookieVaryParameters": [],
|
|
78
|
+
"EnableHostnameVary": false,
|
|
79
|
+
"LoggingIPAnonymizationEnabled": true,
|
|
80
|
+
"EnableTLS1": true,
|
|
81
|
+
"EnableTLS1_1": true,
|
|
82
|
+
"VerifyOriginSSL": false,
|
|
83
|
+
"ErrorPageEnableCustomCode": false,
|
|
84
|
+
"ErrorPageEnableStatuspageWidget": false,
|
|
85
|
+
"ErrorPageWhitelabel": false,
|
|
86
|
+
"OriginShieldZoneCode": "IL",
|
|
87
|
+
"LogForwardingEnabled": false,
|
|
88
|
+
"LoggingSaveToStorage": false,
|
|
89
|
+
"FollowRedirects": false,
|
|
90
|
+
"OriginRetries": 0,
|
|
91
|
+
"OriginConnectTimeout": 5,
|
|
92
|
+
"OriginResponseTimeout": 15,
|
|
93
|
+
"UseStaleWhileUpdating": true,
|
|
94
|
+
"UseStaleWhileOffline": true,
|
|
95
|
+
"OriginRetry5XXResponses": false,
|
|
96
|
+
"OriginRetryConnectionTimeout": true,
|
|
97
|
+
"OriginRetryResponseTimeout": true,
|
|
98
|
+
"OriginRetryDelay": 0,
|
|
99
|
+
"QueryStringVaryParameters": [],
|
|
100
|
+
"OriginShieldEnableConcurrencyLimit": false,
|
|
101
|
+
"OriginShieldMaxConcurrentRequests": 200,
|
|
102
|
+
"EnableSafeHop": false,
|
|
103
|
+
"CacheErrorResponses": false,
|
|
104
|
+
"OriginShieldQueueMaxWaitTime": 30,
|
|
105
|
+
"OriginShieldMaxQueuedRequests": 5000,
|
|
106
|
+
"UseBackgroundUpdate": true,
|
|
107
|
+
"EnableAutoSSL": false,
|
|
108
|
+
"EnableQueryStringOrdering": true,
|
|
109
|
+
"LogAnonymizationType": 0,
|
|
110
|
+
"LogFormat": 1,
|
|
111
|
+
"LogForwardingFormat": 1,
|
|
112
|
+
"ShieldDDosProtectionType": 1,
|
|
113
|
+
"ShieldDDosProtectionEnabled": false,
|
|
114
|
+
"EnableRequestCoalescing": false,
|
|
115
|
+
"RequestCoalescingTimeout": 30,
|
|
116
|
+
"DisableLetsEncrypt": false,
|
|
117
|
+
"EnableBunnyImageAi": false,
|
|
118
|
+
"PreloadingScreenEnabled": false,
|
|
119
|
+
"RoutingFilters": [
|
|
120
|
+
"all"
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
'
|
|
124
|
+
printf "\n\n> Configured pull zone \"$pull_zone_id\"\n"
|
|
125
|
+
|
|
126
|
+
configure_edge_rule() {
|
|
127
|
+
printf "\n"
|
|
128
|
+
local description=$1
|
|
129
|
+
local rule_data=$2
|
|
130
|
+
local found_rule=$(echo $edge_rules | jq --arg description "$description" '.[] | select(.Description == $description)')
|
|
131
|
+
local guid=$(echo $found_rule | jq -r '.Guid // empty')
|
|
132
|
+
|
|
133
|
+
local json_data="$rule_data"
|
|
134
|
+
if [ -n "$guid" ]; then
|
|
135
|
+
json_data=$(echo $json_data | jq --arg guid "$guid" '. + {Guid: $guid}')
|
|
136
|
+
fi
|
|
137
|
+
|
|
138
|
+
curl --silent --request POST \
|
|
139
|
+
--url "https://api.bunny.net/pullzone/$pull_zone_id/edgerules/addOrUpdate" \
|
|
140
|
+
--header "AccessKey: $BUNNYNET_API_KEY" \
|
|
141
|
+
--header 'content-type: application/json' \
|
|
142
|
+
--data "$json_data"
|
|
143
|
+
printf "\n\n> Configured edge rule \"$description\"\n"
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
configure_edge_rule "APIs bypass CDN cache" '
|
|
147
|
+
{
|
|
148
|
+
"ActionType": 3,
|
|
149
|
+
"ActionParameter1": "0",
|
|
150
|
+
"ActionParameter2": "",
|
|
151
|
+
"Triggers": [
|
|
152
|
+
{
|
|
153
|
+
"Type": 0,
|
|
154
|
+
"PatternMatches": [
|
|
155
|
+
"*/_api/*",
|
|
156
|
+
"*/_feeds/*",
|
|
157
|
+
"*/.*/git/*",
|
|
158
|
+
"*/_analytics"
|
|
159
|
+
],
|
|
160
|
+
"PatternMatchingType": 0,
|
|
161
|
+
"Parameter1": ""
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"TriggerMatchingType": 1,
|
|
165
|
+
"Description": "APIs bypass CDN cache",
|
|
166
|
+
"Enabled": true
|
|
167
|
+
}
|
|
168
|
+
'
|
|
169
|
+
|
|
170
|
+
configure_edge_rule "APIs bypass perma-cache" '
|
|
171
|
+
{
|
|
172
|
+
"ActionType": 15,
|
|
173
|
+
"ActionParameter1": null,
|
|
174
|
+
"ActionParameter2": null,
|
|
175
|
+
"Triggers": [
|
|
176
|
+
{
|
|
177
|
+
"Type": 0,
|
|
178
|
+
"PatternMatches": [
|
|
179
|
+
"*/_api/*",
|
|
180
|
+
"*/_feeds/*",
|
|
181
|
+
"*/.*/git/*",
|
|
182
|
+
"*/_analytics"
|
|
183
|
+
],
|
|
184
|
+
"PatternMatchingType": 0,
|
|
185
|
+
"Parameter1": ""
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"TriggerMatchingType": 1,
|
|
189
|
+
"Description": "APIs bypass perma-cache",
|
|
190
|
+
"Enabled": true
|
|
191
|
+
}
|
|
192
|
+
'
|
|
193
|
+
|
|
194
|
+
configure_edge_rule "SSR browser cache" '
|
|
195
|
+
{
|
|
196
|
+
"ActionType": 16,
|
|
197
|
+
"ActionParameter1": "120",
|
|
198
|
+
"ActionParameter2": null,
|
|
199
|
+
"Triggers": [
|
|
200
|
+
{
|
|
201
|
+
"Type": 0,
|
|
202
|
+
"PatternMatches": [
|
|
203
|
+
"*/_astro/*"
|
|
204
|
+
],
|
|
205
|
+
"PatternMatchingType": 2,
|
|
206
|
+
"Parameter1": ""
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"Type": 3,
|
|
210
|
+
"PatternMatches": [
|
|
211
|
+
"webp",
|
|
212
|
+
"png",
|
|
213
|
+
"jpg",
|
|
214
|
+
"woff2",
|
|
215
|
+
"mp4"
|
|
216
|
+
],
|
|
217
|
+
"PatternMatchingType": 2,
|
|
218
|
+
"Parameter1": ""
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"TriggerMatchingType": 1,
|
|
222
|
+
"Description": "SSR browser cache",
|
|
223
|
+
"Enabled": true
|
|
224
|
+
}
|
|
225
|
+
'
|