cloudcommerce 2.37.2 → 2.37.4
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 +12 -0
- package/action.yml +14 -4
- package/package.json +5 -5
- package/scripts/release.mjs +6 -9
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 [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.37.4](https://github.com/ecomplus/cloud-commerce/compare/v2.37.3...v2.37.4) (2025-03-06)
|
|
6
|
+
|
|
7
|
+
## [2.37.3](https://github.com/ecomplus/cloud-commerce/compare/v2.37.2...v2.37.3) (2025-03-06)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **api:** Updating Customers and Orders interfaces with new customer `group` field ([fd2456a](https://github.com/ecomplus/cloud-commerce/commit/fd2456a7968a59f38a54c8cbf76bc575ce44afd9))
|
|
13
|
+
* **deps:** Update non-major dependencies ([#545](https://github.com/ecomplus/cloud-commerce/issues/545)) ([1d68517](https://github.com/ecomplus/cloud-commerce/commit/1d685178dfd7d8b260dd35f294658c4906e31830))
|
|
14
|
+
* **storefront:** Fallback to `store?.repository` on installations list for CMS SSO ([7a5314e](https://github.com/ecomplus/cloud-commerce/commit/7a5314e40a0bb010fb67a4ea2ec228db28870d1e))
|
|
15
|
+
* **storefront:** Fix filtering featured slugs on `filterMainCategories` from shop header composable ([3de7e42](https://github.com/ecomplus/cloud-commerce/commit/3de7e426fcbb6f202404aaaa4d46e4a3dc6bc500))
|
|
16
|
+
|
|
5
17
|
## [2.37.2](https://github.com/ecomplus/cloud-commerce/compare/v2.37.1...v2.37.2) (2025-02-28)
|
|
6
18
|
|
|
7
19
|
|
package/action.yml
CHANGED
|
@@ -139,18 +139,28 @@ runs:
|
|
|
139
139
|
echo "LIB_PATH=$lib_path" >> $GITHUB_OUTPUT
|
|
140
140
|
echo "BIN_PATH=${lib_path/\/lib//bin}" >> $GITHUB_OUTPUT
|
|
141
141
|
|
|
142
|
-
-
|
|
142
|
+
- if: github.event_name == 'push'
|
|
143
|
+
uses: actions/cache@v4
|
|
143
144
|
id: npm-g-cache
|
|
144
145
|
with:
|
|
145
146
|
path: |
|
|
146
147
|
${{ steps.npm-paths.outputs.LIB_PATH }}
|
|
147
148
|
${{ steps.npm-paths.outputs.BIN_PATH }}
|
|
148
149
|
~/.npm-global/bin
|
|
149
|
-
key: ${{ runner.os }}-npm-g-firebase-tools-13.
|
|
150
|
+
key: ${{ runner.os }}-npm-g-firebase-tools-13.32.0-2
|
|
150
151
|
|
|
151
|
-
- if: github.event_name == 'push'
|
|
152
|
+
- if: github.event_name == 'push'
|
|
153
|
+
name: Ensure firebase-tools is installed
|
|
152
154
|
shell: bash
|
|
153
|
-
run:
|
|
155
|
+
run: |
|
|
156
|
+
if ! command -v firebase &> /dev/null; then
|
|
157
|
+
npm i --location=global firebase-tools@13.32.0
|
|
158
|
+
else
|
|
159
|
+
INSTALLED_VERSION=$(firebase --version)
|
|
160
|
+
if [[ "$INSTALLED_VERSION" != "13.32.0" ]]; then
|
|
161
|
+
npm i --location=global firebase-tools@13.32.0
|
|
162
|
+
fi
|
|
163
|
+
fi
|
|
154
164
|
|
|
155
165
|
- if: github.event_name == 'push'
|
|
156
166
|
uses: dorny/paths-filter@v3.0.2
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcommerce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.37.
|
|
4
|
+
"version": "2.37.4",
|
|
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>",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@commitlint/cli": "^19.7.1",
|
|
29
29
|
"@commitlint/config-conventional": "^19.7.1",
|
|
30
30
|
"@commitlint/rules": "^19.6.0",
|
|
31
|
-
"@types/node": "^20.17.
|
|
31
|
+
"@types/node": "^20.17.22",
|
|
32
32
|
"commit-and-tag-version": "^12.5.0",
|
|
33
33
|
"dotenv": "^16.4.7",
|
|
34
34
|
"eslint": "^8.57.1",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"lint-staged": "^15.4.3",
|
|
37
37
|
"tailwindcss": "^3.4.17",
|
|
38
38
|
"ts-node": "^10.9.2",
|
|
39
|
-
"turbo": "^2.4.
|
|
40
|
-
"typescript": "~5.
|
|
39
|
+
"turbo": "^2.4.4",
|
|
40
|
+
"typescript": "~5.8.2",
|
|
41
41
|
"uglify-js": "^3.19.3",
|
|
42
42
|
"vite": "^5.4.14",
|
|
43
43
|
"vitest": "^2.1.9",
|
|
44
44
|
"zx": "^8.3.2",
|
|
45
|
-
"@cloudcommerce/eslint": "2.37.
|
|
45
|
+
"@cloudcommerce/eslint": "2.37.4"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"fix-install": "bash scripts/pre-install.sh && pnpm i",
|
package/scripts/release.mjs
CHANGED
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
fs,
|
|
6
6
|
cd,
|
|
7
7
|
globby,
|
|
8
|
-
YAML,
|
|
9
8
|
argv,
|
|
10
9
|
retry,
|
|
11
10
|
spinner,
|
|
@@ -55,14 +54,12 @@ if (argv.publish) {
|
|
|
55
54
|
await spinner('give npm registry a time...', () => $`sleep 9`);
|
|
56
55
|
const functions = await listFolders(`${pwd}/store/functions`);
|
|
57
56
|
if (canUpdateStores) {
|
|
58
|
-
|
|
59
|
-
.
|
|
60
|
-
if (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
storesDirs.push(storeDir);
|
|
65
|
-
}
|
|
57
|
+
fs.readdirSync(`${pwd}/ecomplus-stores`)
|
|
58
|
+
.forEach((store) => {
|
|
59
|
+
if (store.startsWith('.')) return;
|
|
60
|
+
const storeDir = `${pwd}/ecomplus-stores/${store}`;
|
|
61
|
+
if (!storesDirs.includes(storeDir) && fs.statSync(storeDir).isDirectory()) {
|
|
62
|
+
storesDirs.push(storeDir);
|
|
66
63
|
}
|
|
67
64
|
});
|
|
68
65
|
}
|