cloudcommerce 2.18.0 → 2.18.2

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
@@ -1,6 +1,26 @@
1
1
  # Changelog
2
2
 
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.
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
+
5
+ ## [2.18.2](https://github.com/ecomplus/cloud-commerce/compare/v2.18.1...v2.18.2) (2024-05-18)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **custom-shipping:** Simple zip code validation with BR country code ([e7cbae7](https://github.com/ecomplus/cloud-commerce/commit/e7cbae7ee46fbdb8a57097377620c92620b57dce))
11
+ * **modules:** Minor fixes handling shipping services and failure debug ([df48085](https://github.com/ecomplus/cloud-commerce/commit/df48085e515c27894946b16ff2909e2f38d69d05))
12
+
13
+ ## [2.18.1](https://github.com/ecomplus/cloud-commerce/compare/v2.18.0...v2.18.1) (2024-05-17)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **mandae:** Simple zip code validation to prevent unecessary Mandae API calculations ([db82a84](https://github.com/ecomplus/cloud-commerce/commit/db82a84b13bfeb6937a2b74068ecdbae04169619))
19
+ * **modules:** Saving shipping address to new customers right on checkout ([24281d2](https://github.com/ecomplus/cloud-commerce/commit/24281d26b63894c47248e648f002bcb9927dbec6))
20
+ * **pagarme:** Basic check for (optional) buyer birth date on create transaction ([1693b38](https://github.com/ecomplus/cloud-commerce/commit/1693b38e70e0b43ce3cb57ca82fabfb2b07cb6c8))
21
+ * **passport:** Find customer by email case insensitive ([23ad6a8](https://github.com/ecomplus/cloud-commerce/commit/23ad6a824408a519befb63f5270b7c8194415a4f))
22
+ * **ssr:** Prevent infinite redirects with aditional CDN on static filepaths rewrites ([eefb03e](https://github.com/ecomplus/cloud-commerce/commit/eefb03ea328192ad149cdf0770c0a8bd0c26b2fc))
23
+ * **storefront:** Preset OAuth global sign functions while auth initializing on vbeta app ([85f9895](https://github.com/ecomplus/cloud-commerce/commit/85f9895b42fba6f4f3e786684797211fbf589190))
4
24
 
5
25
  ## [2.18.0](https://github.com/ecomplus/cloud-commerce/compare/v2.17.6...v2.18.0) (2024-05-17)
6
26
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "2.18.0",
4
+ "version": "2.18.2",
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>",
@@ -15,11 +15,6 @@
15
15
  "/CHANGELOG.md",
16
16
  "/scripts/*"
17
17
  ],
18
- "standard-version": {
19
- "scripts": {
20
- "precommit": "bash scripts/on-version.sh"
21
- }
22
- },
23
18
  "lint-staged": {
24
19
  "packages/storefront/**/*.{ts,vue,astro}": "eslint -c ./packages/eslint/storefront.staged.eslintrc.cjs --fix",
25
20
  "packages/!(storefront)/**/*.ts": "eslint --fix"
@@ -29,11 +24,11 @@
29
24
  "@commitlint/config-conventional": "^19.2.2",
30
25
  "@commitlint/rules": "^19.0.3",
31
26
  "@types/node": "^18.19.33",
27
+ "commit-and-tag-version": "^12.4.1",
32
28
  "dotenv": "^16.4.5",
33
29
  "eslint": "^8.57.0",
34
30
  "husky": "^9.0.11",
35
31
  "lint-staged": "^15.2.2",
36
- "standard-version": "^9.5.0",
37
32
  "ts-node": "^10.9.2",
38
33
  "turbo": "^1.13.3",
39
34
  "typescript": "~5.4.5",
@@ -41,7 +36,7 @@
41
36
  "vite": "^5.2.11",
42
37
  "vitest": "^1.6.0",
43
38
  "zx": "^7.2.3",
44
- "@cloudcommerce/eslint": "2.18.0"
39
+ "@cloudcommerce/eslint": "2.18.2"
45
40
  },
46
41
  "scripts": {
47
42
  "fix-install": "bash scripts/pre-install.sh && pnpm i",
@@ -9,7 +9,6 @@ const listFolders = async (parentPath) => {
9
9
  .map((dirent) => dirent.name);
10
10
  };
11
11
 
12
- // await $`npx standard-version`;
13
12
  const pwd = (await quiet($`pwd`)).stdout.trim();
14
13
  const { version } = JSON.parse(fs.readFileSync('package.json'));
15
14
  const packages = await globby([
@@ -86,10 +85,10 @@ if (argv.publish) {
86
85
  return cd(pwd);
87
86
  });
88
87
  await $`pnpm fix-install`;
89
- await $`git add pnpm-lock.yaml`;
88
+ await $`git add packages/**/package.json pnpm-lock.yaml`;
90
89
  for (let i = 0; i < storesDirs.length; i++) {
91
90
  await $`git add ${storesDirs[i].replace(`${pwd}/`, '')}`;
92
91
  }
93
- await $`git commit -m 'chore: Update store submodule post-release'`;
92
+ await $`git commit -m 'chore: Fix package versions and submodules post-release'`;
94
93
  await $`git push --follow-tags origin main`;
95
94
  }
@@ -5,8 +5,5 @@ pnpm test || exit 1
5
5
  pnpm run -r prerelease
6
6
  sleep 5
7
7
  rm -f .git/index.lock
8
- npx standard-version
9
- sleep 1
10
- (git add packages/**/package.json package.json pnpm-lock.yaml CHANGELOG.md \
11
- && git commit -m 'chore: Fixing package versions post-release') || true
8
+ npx commit-and-tag-version --commit-all
12
9
  npx zx scripts/release.mjs --publish
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
-
3
- npx zx scripts/release.mjs
4
- git add packages/*/package.json
5
- git add packages/*/*/package.json