cloudcommerce 0.0.105 → 0.0.107
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 +24 -0
- package/action.yml +5 -0
- package/package.json +1 -1
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/firebase/lib/config.js +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/firebase/src/config.ts +1 -1
- package/packages/i18n/CHANGELOG.md +1 -0
- package/packages/i18n/README.md +1 -0
- package/packages/i18n/lib/all.d.ts +8 -0
- package/packages/i18n/lib/all.js +10 -0
- package/packages/i18n/lib/all.js.map +1 -0
- package/packages/i18n/lib/en_us.d.ts +1133 -0
- package/packages/i18n/lib/en_us.js +1135 -0
- package/packages/i18n/lib/en_us.js.map +1 -0
- package/packages/i18n/lib/pt_br.d.ts +1133 -0
- package/packages/i18n/lib/pt_br.js +1135 -0
- package/packages/i18n/lib/pt_br.js.map +1 -0
- package/packages/i18n/package.json +27 -0
- package/packages/i18n/src/all.ts +9 -0
- package/packages/{storefront/src/lib/i18n/en-us.ts → i18n/src/en_us.ts} +5 -0
- package/packages/{storefront/src/lib/i18n/pt-br.ts → i18n/src/pt_br.ts} +6 -1
- package/packages/i18n/tsconfig.json +6 -0
- package/packages/modules/lib/firebase/functions-checkout/handle-order-transaction.js +12 -1
- package/packages/modules/lib/firebase/functions-checkout/handle-order-transaction.js.map +1 -1
- package/packages/modules/lib/firebase/functions-checkout/new-order.js +2 -2
- package/packages/modules/lib/firebase/functions-checkout/new-order.js.map +1 -1
- package/packages/modules/lib/firebase/handle-module.js +1 -1
- package/packages/modules/lib/firebase/handle-module.js.map +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/modules/src/firebase/functions-checkout/handle-order-transaction.ts +24 -1
- package/packages/modules/src/firebase/functions-checkout/new-order.ts +2 -2
- package/packages/modules/src/firebase/handle-module.ts +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/lib/firebase/serve-storefront.js +18 -23
- package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -1
- package/packages/ssr/lib/firebase.js +1 -1
- package/packages/ssr/lib/firebase.js.map +1 -1
- package/packages/ssr/package.json +1 -2
- package/packages/ssr/src/firebase/serve-storefront.ts +19 -24
- package/packages/ssr/src/firebase.ts +1 -1
- package/packages/storefront/astro.config.mjs +19 -13
- package/packages/storefront/dist/client/{LoginOffcanvas.3d5263f0.js → LoginOffcanvas.c2a47936.js} +1 -1
- package/packages/storefront/dist/client/assets/_...4826ec44.css +4 -0
- package/packages/storefront/dist/client/chunks/{LoginForm.407264cf.js → LoginForm.c86d05cc.js} +93 -93
- package/packages/storefront/dist/client/chunks/LoginOffcanvas.794b9840.js +1 -0
- package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.4b976197.js +1 -0
- package/packages/storefront/dist/client/{client.b552d86a.js → client.6db2fd63.js} +1 -1
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/server/avif/avif_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/avif/avif_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/entry.mjs +11529 -374
- package/packages/storefront/dist/server/mozjpeg/mozjpeg_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/mozjpeg/mozjpeg_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/png/squoosh_oxipng_bg.wasm +0 -0
- package/packages/storefront/dist/server/png/squoosh_png_bg.wasm +0 -0
- package/packages/storefront/dist/server/resize/squoosh_resize_bg.wasm +0 -0
- package/packages/storefront/dist/server/rotate/rotate.wasm +0 -0
- package/packages/storefront/dist/server/webp/webp_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/webp/webp_node_enc.wasm +0 -0
- package/packages/storefront/package.json +4 -2
- package/packages/storefront/src/assets/pico.css +1 -44
- package/packages/storefront/src/lib/components/LoginForm.vue +36 -10
- package/packages/storefront/src/lib/components/LoginOffcanvas.vue +1 -1
- package/packages/storefront/src/lib/components/TheHeader.vue +1 -1
- package/packages/storefront/src/lib/layouts/BaseBody.astro +2 -64
- package/packages/storefront/src/lib/layouts/PagesHeader.astro +5 -3
- package/packages/storefront/src/lib/ssr/image.ts +29 -16
- package/packages/storefront/src/lib/ssr-context.ts +1 -1
- package/packages/storefront/src/pages/[...slug].astro +6 -0
- package/packages/storefront/storefront.cms.mjs +36 -0
- package/packages/storefront/storefront.config.mjs +9 -28
- package/packages/storefront/tsconfig.json +1 -1
- package/packages/storefront/uno.config.ts +81 -2
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/assets/_...522e6bf2.css +0 -4
- package/packages/storefront/dist/client/assets/_...a48b75c7.css +0 -1
- package/packages/storefront/dist/client/chunks/LoginOffcanvas.111b9071.js +0 -1
- package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.738639ee.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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.0.107](https://github.com/ecomplus/cloud-commerce/compare/v0.0.106...v0.0.107) (2022-10-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **i18n:** Setup new `@cloudcommerce/i18n` pkg ([bd02d8b](https://github.com/ecomplus/cloud-commerce/commit/bd02d8beaff45597947da2efdfac96dcce878c1e))
|
|
11
|
+
* **storefront:** Basic `LoginForm` component interactions for sign in/up ([eb5b462](https://github.com/ecomplus/cloud-commerce/commit/eb5b462dbbf13840572e531295ab57f18022873e))
|
|
12
|
+
* **storefront:** Supporting SSG (for branch previews) with `BIULD_OUTPUT` env ([4330c0f](https://github.com/ecomplus/cloud-commerce/commit/4330c0f10ee5c8e6d44c970085d9e2a185ad1937))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **modules:** Properly adding order transaction on checkout ([#55](https://github.com/ecomplus/cloud-commerce/issues/55)) ([b27e83d](https://github.com/ecomplus/cloud-commerce/commit/b27e83d19e07c050e50db2fc083e362ae08e67a1))
|
|
18
|
+
* **ssr:** Remove CSL header at all (yet) ([6a68407](https://github.com/ecomplus/cloud-commerce/commit/6a684079803cdd3e2f5903b333696233d4bf7368))
|
|
19
|
+
* **ssr:** Setup feeds function with 512MiB by default ([a55de47](https://github.com/ecomplus/cloud-commerce/commit/a55de4781d92973a3c860ae6e69be43a5f08f5ff))
|
|
20
|
+
* **storefront:** Removing Tailwind incompatible .outline (button) classes from pico.css ([4598955](https://github.com/ecomplus/cloud-commerce/commit/4598955b23dfc2e6f7da1908576654b09771afe0))
|
|
21
|
+
|
|
22
|
+
### [0.0.106](https://github.com/ecomplus/cloud-commerce/compare/v0.0.105...v0.0.106) (2022-09-29)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **ssr:** Change `Content-Security-Policy` header to `script-src "none"` ([51b8536](https://github.com/ecomplus/cloud-commerce/commit/51b8536cee1a70143df959e2536dd0fe0a1ee985))
|
|
28
|
+
|
|
5
29
|
### [0.0.105](https://github.com/ecomplus/cloud-commerce/compare/v0.0.104...v0.0.105) (2022-09-29)
|
|
6
30
|
|
|
7
31
|
|
package/action.yml
CHANGED
|
@@ -67,6 +67,11 @@ runs:
|
|
|
67
67
|
DEPLOY_RAND=$RANDOM.$RANDOM
|
|
68
68
|
" > functions/.env
|
|
69
69
|
GOOGLE_APPLICATION_CREDENTIALS=$GAC_FILENAME npm run deploy
|
|
70
|
+
|
|
71
|
+
- if: github.event_name == 'pull_request'
|
|
72
|
+
shell: bash
|
|
73
|
+
working-directory: functions/ssr
|
|
74
|
+
run: npm run build:static
|
|
70
75
|
|
|
71
76
|
- if: github.event_name == 'pull_request'
|
|
72
77
|
name: Deploy Firebase Hosting PR preview
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcommerce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.107",
|
|
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>",
|
|
@@ -16,7 +16,7 @@ const mergeConfig = {
|
|
|
16
16
|
},
|
|
17
17
|
ssrFunctionOptions: {
|
|
18
18
|
region: SSR_DEPLOY_REGION || 'us-central1',
|
|
19
|
-
memory: SSR_DEPLOY_MEMORY || '
|
|
19
|
+
memory: SSR_DEPLOY_MEMORY || '256MiB',
|
|
20
20
|
timeoutSeconds: SSR_DEPLOY_TIMEOUT_SECONDS ? Number(SSR_DEPLOY_TIMEOUT_SECONDS) : 15,
|
|
21
21
|
minInstances: SSR_DEPLOY_MIN_INSTANCES ? Number(SSR_DEPLOY_MIN_INSTANCES) : 1,
|
|
22
22
|
},
|
|
@@ -23,7 +23,7 @@ const mergeConfig = {
|
|
|
23
23
|
},
|
|
24
24
|
ssrFunctionOptions: {
|
|
25
25
|
region: SSR_DEPLOY_REGION || 'us-central1',
|
|
26
|
-
memory: (SSR_DEPLOY_MEMORY as '128MiB' | '256MiB' | '512MiB' | '1GiB') || '
|
|
26
|
+
memory: (SSR_DEPLOY_MEMORY as '128MiB' | '256MiB' | '512MiB' | '1GiB') || '256MiB',
|
|
27
27
|
timeoutSeconds: SSR_DEPLOY_TIMEOUT_SECONDS ? Number(SSR_DEPLOY_TIMEOUT_SECONDS) : 15,
|
|
28
28
|
minInstances: SSR_DEPLOY_MIN_INSTANCES ? Number(SSR_DEPLOY_MIN_INSTANCES) : 1,
|
|
29
29
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Please refer to GitHub [repository releases](https://github.com/ecomplus/cloud-commerce/releases) or monorepo unified [CHANGELOG.md](https://github.com/ecomplus/cloud-commerce/blob/main/CHANGELOG.md).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# `@cloudcommerce/i18n`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all.js","sourceRoot":"","sources":["../src/all.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAEtB,eAAe;IACb,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,IAAI;CACZ,CAAC"}
|