cloudcommerce 2.20.5 → 2.20.7

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 CHANGED
@@ -2,6 +2,21 @@
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.20.7](https://github.com/ecomplus/cloud-commerce/compare/v2.20.6...v2.20.7) (2024-06-03)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **cli:** Set `$.verbose = true` for Firebase CLI executions ([7424074](https://github.com/ecomplus/cloud-commerce/commit/7424074f94e7304fe446e09ca0b0817b8740e2bc))
11
+
12
+ ## [2.20.6](https://github.com/ecomplus/cloud-commerce/compare/v2.20.5...v2.20.6) (2024-06-03)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **api:** Fixing generics and updating default enumered fields for resource lists ([0aab37b](https://github.com/ecomplus/cloud-commerce/commit/0aab37b92b41ec440bd6d2306866b58a821456e1))
18
+ * **deps:** Update non-major dependencies ([#396](https://github.com/ecomplus/cloud-commerce/issues/396)) ([047b44e](https://github.com/ecomplus/cloud-commerce/commit/047b44ea3e51c7fc88d102212bb0a7397cde48d5))
19
+
5
20
  ## [2.20.5](https://github.com/ecomplus/cloud-commerce/compare/v2.20.4...v2.20.5) (2024-05-31)
6
21
 
7
22
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "2.20.5",
4
+ "version": "2.20.7",
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>",
@@ -38,10 +38,10 @@
38
38
  "turbo": "^1.13.3",
39
39
  "typescript": "~5.4.5",
40
40
  "uglify-js": "^3.17.4",
41
- "vite": "^5.2.11",
41
+ "vite": "^5.2.12",
42
42
  "vitest": "^1.6.0",
43
- "zx": "^7.2.3",
44
- "@cloudcommerce/eslint": "2.20.5"
43
+ "zx": "^8.1.2",
44
+ "@cloudcommerce/eslint": "2.20.7"
45
45
  },
46
46
  "scripts": {
47
47
  "fix-install": "bash scripts/pre-install.sh && pnpm i",
@@ -1,7 +1,19 @@
1
1
  #!/usr/bin/env zx
2
- /* eslint-disable no-console, no-await-in-loop, import/no-unresolved */
3
- /* global $, quiet, fs, cd, globby, YAML, argv */
4
- import { retry, spinner } from 'zx/experimental';
2
+ /* eslint-disable no-console, no-await-in-loop, import/no-extraneous-dependencies */
3
+ import {
4
+ $,
5
+ fs,
6
+ cd,
7
+ globby,
8
+ YAML,
9
+ argv,
10
+ retry,
11
+ spinner,
12
+ syncProcessCwd,
13
+ } from 'zx';
14
+
15
+ $.verbose = true;
16
+ syncProcessCwd();
5
17
 
6
18
  const listFolders = async (parentPath) => {
7
19
  return (await fs.readdir(parentPath, { withFileTypes: true }))
@@ -9,7 +21,9 @@ const listFolders = async (parentPath) => {
9
21
  .map((dirent) => dirent.name);
10
22
  };
11
23
 
12
- const pwd = (await quiet($`pwd`)).stdout.trim();
24
+ $.quiet = true;
25
+ const pwd = (await $`pwd`).stdout.trim();
26
+ $.quiet = false;
13
27
  const { version } = JSON.parse(fs.readFileSync('package.json'));
14
28
  const packages = await globby([
15
29
  'packages/*/package.json',