cloudcommerce 2.27.3 → 2.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.
- package/CHANGELOG.md +14 -0
- package/action.yml +4 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.28.0](https://github.com/ecomplus/cloud-commerce/compare/v2.27.3...v2.28.0) (2024-10-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **modules:** Add optional fields brands/categories to items param on apply discount ([e8950fb](https://github.com/ecomplus/cloud-commerce/commit/e8950fba09f143c37dc94aab3f396b866d8f6900))
|
|
11
|
+
* **storefront:** Also handle items, categories and coupon on apply discount within modules info ([253e8e1](https://github.com/ecomplus/cloud-commerce/commit/253e8e1a2a533846e65685f2d1d7cf840aa2b084))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **storefront:** Also persisting session `?referral` and `?coupon` from URL params ([c47558b](https://github.com/ecomplus/cloud-commerce/commit/c47558b9d34ac46f801b7de5b89666f2cdc73d4a))
|
|
17
|
+
* **storefront:** Prevent loosing `modulesInfo` object reactivity ([c7f129e](https://github.com/ecomplus/cloud-commerce/commit/c7f129e8df776f523950866f97e73d3644fba672))
|
|
18
|
+
|
|
5
19
|
## [2.27.3](https://github.com/ecomplus/cloud-commerce/compare/v2.27.2...v2.27.3) (2024-10-01)
|
|
6
20
|
|
|
7
21
|
|
package/action.yml
CHANGED
|
@@ -5,6 +5,8 @@ inputs:
|
|
|
5
5
|
github-token:
|
|
6
6
|
description: 'The `GITHUB_TOKEN` secret'
|
|
7
7
|
required: true
|
|
8
|
+
github-persistent-token:
|
|
9
|
+
description: 'Long life token for GitHub API'
|
|
8
10
|
firebase-service-account:
|
|
9
11
|
description: 'Firebase service account JSON'
|
|
10
12
|
required: true
|
|
@@ -204,7 +206,7 @@ runs:
|
|
|
204
206
|
uses: actions/cache@v4
|
|
205
207
|
with:
|
|
206
208
|
path: functions/ssr/.cache
|
|
207
|
-
key: ${{ runner.os }}-${{ env.year }}-storefront
|
|
209
|
+
key: ${{ runner.os }}-${{ env.year }}-storefront-${{ hashFiles('functions/ssr/public/**/*') }}
|
|
208
210
|
|
|
209
211
|
- if: env.deploy_codebase == '' || env.deploy_codebase == 'with-apps'
|
|
210
212
|
uses: actions/cache@v4
|
|
@@ -253,7 +255,7 @@ runs:
|
|
|
253
255
|
ECOM_STORE_ID: ${{ env.ecom_store_id }}
|
|
254
256
|
GIT_BRANCH: ${{ env.git_branch }}
|
|
255
257
|
DEPLOY_CODEBASE: ${{ env.deploy_codebase }}
|
|
256
|
-
GITHUB_TOKEN: ${{ inputs.github-token }}
|
|
258
|
+
GITHUB_TOKEN: ${{ inputs.github-persistent-token || inputs.github-token }}
|
|
257
259
|
FIREBASE_SERVICE_ACCOUNT: ${{ inputs.firebase-service-account }}
|
|
258
260
|
ECOM_AUTHENTICATION_ID: ${{ inputs.ecom-authentication-id }}
|
|
259
261
|
ECOM_API_KEY: ${{ inputs.ecom-api-key }}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcommerce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.28.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>",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"vite": "^5.4.8",
|
|
43
43
|
"vitest": "^2.1.1",
|
|
44
44
|
"zx": "^8.1.8",
|
|
45
|
-
"@cloudcommerce/eslint": "2.
|
|
45
|
+
"@cloudcommerce/eslint": "2.28.0"
|
|
46
46
|
},
|
|
47
47
|
"packageManager": "pnpm@8.15.7",
|
|
48
48
|
"scripts": {
|