cloudcommerce 2.20.4 → 2.20.6

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,24 @@
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.6](https://github.com/ecomplus/cloud-commerce/compare/v2.20.5...v2.20.6) (2024-06-03)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **api:** Fixing generics and updating default enumered fields for resource lists ([0aab37b](https://github.com/ecomplus/cloud-commerce/commit/0aab37b92b41ec440bd6d2306866b58a821456e1))
11
+ * **deps:** Update non-major dependencies ([#396](https://github.com/ecomplus/cloud-commerce/issues/396)) ([047b44e](https://github.com/ecomplus/cloud-commerce/commit/047b44ea3e51c7fc88d102212bb0a7397cde48d5))
12
+
13
+ ## [2.20.5](https://github.com/ecomplus/cloud-commerce/compare/v2.20.4...v2.20.5) (2024-05-31)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **pagarme:** Try bumping `pagarme` SDK to v4.35.2 ([0e37307](https://github.com/ecomplus/cloud-commerce/commit/0e37307690ce9e44f962dbbc830717ee4a8b0925))
19
+ * **pagarme:** Updating `pagarme-js` version and prevent failing with instable validate method ([63da080](https://github.com/ecomplus/cloud-commerce/commit/63da080b930c678096f93af48d94df9a0c7f5b6a))
20
+ * **storefront:** Reducing delayed scripts wait on desktop and disable loading for bots ([83cf262](https://github.com/ecomplus/cloud-commerce/commit/83cf262a94063904bf96047c66224aecbd42a982))
21
+ * **storefront:** Update beta checkout script supporting custom credit card error messages ([71d7fbe](https://github.com/ecomplus/cloud-commerce/commit/71d7fbe094a4766f86978889b52b477549ff077f))
22
+
5
23
  ## [2.20.4](https://github.com/ecomplus/cloud-commerce/compare/v2.20.3...v2.20.4) (2024-05-31)
6
24
 
7
25
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "2.20.4",
4
+ "version": "2.20.6",
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.4"
43
+ "zx": "^8.1.2",
44
+ "@cloudcommerce/eslint": "2.20.6"
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',