cloudcommerce 0.7.0 → 0.8.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/.github/renovate.json +34 -2
- package/CHANGELOG.md +23 -0
- package/ecomplus-stores/monocard/functions/core/package.json +1 -1
- package/ecomplus-stores/monocard/functions/events/package.json +2 -2
- package/ecomplus-stores/monocard/functions/modules/package.json +2 -2
- package/ecomplus-stores/monocard/functions/passport/package.json +2 -2
- package/ecomplus-stores/monocard/functions/ssr/package.json +8 -9
- package/ecomplus-stores/monocard/package.json +1 -1
- package/package.json +1 -1
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +1 -1
- package/packages/apps/fb-conversions/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/galaxpay/package.json +1 -1
- package/packages/apps/google-analytics/package.json +1 -1
- package/packages/apps/infinitepay/package.json +1 -1
- package/packages/apps/jadlog/package.json +1 -1
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/melhor-envio/package.json +1 -1
- package/packages/apps/mercadopago/package.json +1 -1
- package/packages/apps/pagarme/package.json +1 -1
- package/packages/apps/paghiper/package.json +1 -1
- package/packages/apps/pix/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/apps/webhooks/package.json +1 -1
- package/packages/cli/config/firebase.json +10 -5
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +3 -5
- package/packages/storefront/astro.config.mjs +58 -44
- package/packages/storefront/dist/server/chunks/pages/{all.3a2f4354.mjs → all.d97031a1.mjs} +58 -172
- package/packages/storefront/dist/server/entry.mjs +6 -5
- package/packages/storefront/package.json +11 -7
- package/packages/storefront/scripts/build-prod.sh +14 -2
- package/packages/storefront/src/lib/components/Picture.astro +3 -8
- package/packages/storefront/src/serverless/Picture.runtime.astro +90 -0
- package/packages/storefront/src/serverless/get-image.ts +47 -0
- package/packages/storefront/{ssr-runtime → src/serverless}/get-picture.ts +9 -3
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/server/chunks/avif/avif_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/chunks/avif/avif_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/chunks/image-pool.c24d15b2.mjs +0 -10645
- package/packages/storefront/dist/server/chunks/mozjpeg/mozjpeg_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/chunks/mozjpeg/mozjpeg_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/chunks/png/squoosh_oxipng_bg.wasm +0 -0
- package/packages/storefront/dist/server/chunks/png/squoosh_png_bg.wasm +0 -0
- package/packages/storefront/dist/server/chunks/resize/squoosh_resize_bg.wasm +0 -0
- package/packages/storefront/dist/server/chunks/rotate/rotate.wasm +0 -0
- package/packages/storefront/dist/server/chunks/webp/webp_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/chunks/webp/webp_node_enc.wasm +0 -0
- package/packages/storefront/ssr-runtime/Picture.ssr.astro +0 -0
- package/packages/storefront/ssr-runtime/get-image.ts +0 -4
package/.github/renovate.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": [
|
|
3
3
|
"config:base",
|
|
4
|
-
"group:allNonMajor",
|
|
5
4
|
"schedule:earlyMondays"
|
|
6
5
|
],
|
|
7
6
|
"rangeStrategy": "bump",
|
|
@@ -9,5 +8,38 @@
|
|
|
9
8
|
"dependencies"
|
|
10
9
|
],
|
|
11
10
|
"dependencyDashboard": false,
|
|
12
|
-
"ignoreDeps": [
|
|
11
|
+
"ignoreDeps": [
|
|
12
|
+
"node",
|
|
13
|
+
"pnpm",
|
|
14
|
+
"turbo",
|
|
15
|
+
"@vueuse/core"
|
|
16
|
+
],
|
|
17
|
+
"packageRules": [
|
|
18
|
+
{
|
|
19
|
+
"groupName": "Non-major dependencies",
|
|
20
|
+
"groupSlug": "many-minor-patch",
|
|
21
|
+
"matchPackagePatterns": [
|
|
22
|
+
"*"
|
|
23
|
+
],
|
|
24
|
+
"excludePackageNames": [
|
|
25
|
+
"astro"
|
|
26
|
+
],
|
|
27
|
+
"excludePackagePrefixes": [
|
|
28
|
+
"@astrojs/"
|
|
29
|
+
],
|
|
30
|
+
"matchUpdateTypes": [
|
|
31
|
+
"minor",
|
|
32
|
+
"patch"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"groupName": "Astro",
|
|
37
|
+
"matchPackageNames": [
|
|
38
|
+
"astro"
|
|
39
|
+
],
|
|
40
|
+
"matchPackagePrefixes": [
|
|
41
|
+
"@astrojs/"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
13
45
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
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.8.0](https://github.com/ecomplus/cloud-commerce/compare/v0.7.1...v0.8.0) (2023-03-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
* **storefront:** Imported image assets cant be used with `@@sf/components/Picture.astro` anymore
|
|
11
|
+
|
|
12
|
+
Preparing to https://github.com/ecomplus/cloud-commerce/issues/129
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **storefront:** New `Picture.runtime.astro` dealing with pre-compiled images :tada: ([c77b910](https://github.com/ecomplus/cloud-commerce/commit/c77b91062d0ef10ac94a355f458b2f150e7d1958))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
* **storefront:** Custom <Picture> component should accept string src ("remote") only ([65c9539](https://github.com/ecomplus/cloud-commerce/commit/65c9539bbbccfe32653b56e56c4dc1b1f9c12323))
|
|
20
|
+
|
|
21
|
+
### [0.7.1](https://github.com/ecomplus/cloud-commerce/compare/v0.7.0...v0.7.1) (2023-03-17)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **cli:** Edit `firebase.json` to ignore `_astro` dir ([272b8e8](https://github.com/ecomplus/cloud-commerce/commit/272b8e84f6b6ec767f7f5914fd617bd102f8ea39))
|
|
27
|
+
|
|
5
28
|
## [0.7.0](https://github.com/ecomplus/cloud-commerce/compare/v0.6.13...v0.7.0) (2023-03-17)
|
|
6
29
|
|
|
7
30
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "astro dev --host",
|
|
7
|
-
"build": "
|
|
7
|
+
"build": "storefront build",
|
|
8
8
|
"build:static": "BUILD_OUTPUT=static astro build",
|
|
9
9
|
"serve": "firebase emulators:start --only functions",
|
|
10
10
|
"shell": "firebase functions:shell",
|
|
@@ -17,17 +17,16 @@
|
|
|
17
17
|
},
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@astrojs/
|
|
21
|
-
"@
|
|
22
|
-
"@cloudcommerce/
|
|
23
|
-
"@cloudcommerce/
|
|
24
|
-
"@cloudcommerce/ssr": "^0.6.13",
|
|
20
|
+
"@astrojs/node": "^5.1.0",
|
|
21
|
+
"@cloudcommerce/api": "^0.7.1",
|
|
22
|
+
"@cloudcommerce/firebase": "^0.7.1",
|
|
23
|
+
"@cloudcommerce/ssr": "^0.7.1",
|
|
25
24
|
"@vueuse/motion": "2.0.0-beta.22"
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
|
-
"@cloudcommerce/i18n": "^0.
|
|
29
|
-
"@cloudcommerce/storefront": "^0.
|
|
30
|
-
"@cloudcommerce/types": "^0.
|
|
27
|
+
"@cloudcommerce/i18n": "^0.7.1",
|
|
28
|
+
"@cloudcommerce/storefront": "^0.7.1",
|
|
29
|
+
"@cloudcommerce/types": "^0.7.1",
|
|
31
30
|
"@fontsource/inter": "^4.5.15",
|
|
32
31
|
"@iconify-json/ri": "^1.1.5",
|
|
33
32
|
"@iconify-json/wpf": "^1.1.4",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcommerce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
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>",
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"firestore": {
|
|
3
|
-
"rules": "firestore.rules",
|
|
4
|
-
"indexes": "firestore.indexes.json"
|
|
5
|
-
},
|
|
6
2
|
"functions": [
|
|
7
3
|
{
|
|
8
4
|
"predeploy": "npm run build -- --codebase core",
|
|
@@ -35,8 +31,13 @@
|
|
|
35
31
|
"firebase-debug.*.log",
|
|
36
32
|
"node_modules",
|
|
37
33
|
".turbo",
|
|
34
|
+
"_astro",
|
|
38
35
|
"dist/client",
|
|
39
|
-
"
|
|
36
|
+
"functions/ssr/dist/client",
|
|
37
|
+
"/public",
|
|
38
|
+
"functions/ssr/public",
|
|
39
|
+
"/src",
|
|
40
|
+
"functions/ssr/src"
|
|
40
41
|
]
|
|
41
42
|
}
|
|
42
43
|
],
|
|
@@ -139,6 +140,10 @@
|
|
|
139
140
|
],
|
|
140
141
|
"cleanUrls": true
|
|
141
142
|
},
|
|
143
|
+
"firestore": {
|
|
144
|
+
"rules": "firestore.rules",
|
|
145
|
+
"indexes": "firestore.indexes.json"
|
|
146
|
+
},
|
|
142
147
|
"storage": {
|
|
143
148
|
"rules": "storage.rules"
|
|
144
149
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/ssr",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce storefront SSR",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -23,18 +23,16 @@
|
|
|
23
23
|
"build": "sh ../../scripts/build-lib.sh"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@astrojs/
|
|
27
|
-
"@astrojs/node": "^5.1.0",
|
|
26
|
+
"@astrojs/node": "5.1.0",
|
|
28
27
|
"@cloudcommerce/api": "workspace:*",
|
|
29
28
|
"@cloudcommerce/firebase": "workspace:*",
|
|
30
29
|
"@cloudcommerce/i18n": "workspace:*",
|
|
31
30
|
"@ecomplus/utils": "1.5.0-rc.3",
|
|
32
31
|
"@headlessui/vue": "^1.7.12",
|
|
33
32
|
"@vueuse/core": "9.12.0",
|
|
34
|
-
"astro": "
|
|
33
|
+
"astro": "2.1.2",
|
|
35
34
|
"firebase-admin": "^11.5.0",
|
|
36
35
|
"firebase-functions": "^4.2.1",
|
|
37
|
-
"image-size": "^1.0.2",
|
|
38
36
|
"semver": "^7.3.8",
|
|
39
37
|
"vue": "^3.2.47"
|
|
40
38
|
},
|