@vtex/faststore-plugin-buyer-portal 1.3.1 → 1.3.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.
@@ -33,6 +33,9 @@ jobs:
33
33
  - name: Install dependencies
34
34
  run: yarn
35
35
 
36
+ - name: Generate CHANGELOG and update Version Const
37
+ run: yarn release
38
+
36
39
  - name: Update version to patch
37
40
  run: yarn version --patch
38
41
 
package/.husky/pre-commit CHANGED
@@ -1,4 +1 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
1
  npx lint-staged
@@ -0,0 +1,24 @@
1
+ {
2
+ "github": false,
3
+ "hooks": {
4
+ "after:release": "echo Successfully released ${name} ${version}"
5
+ },
6
+ "git": {
7
+ "tag": false,
8
+ "push": false,
9
+ "commitMessage": "Update CHANGELOG",
10
+ "commitArgs": ["--no-verify"]
11
+ },
12
+ "plugins": {
13
+ "@release-it/keep-a-changelog": {
14
+ "strictLatest": false,
15
+ "addUnreleased": true,
16
+ "addVersionUrl": true,
17
+ "filename": "CHANGELOG.md"
18
+ },
19
+ "@release-it/bumper": {
20
+ "in": "package.json",
21
+ "out": "./src/features/shared/utils/constants.ts"
22
+ }
23
+ }
24
+ }
package/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.3.2] - 2025-10-16
11
+
12
+ ### Added
13
+
14
+ - Setup KeepChangelog
15
+
16
+ ## [1.2.4] - 2025-10-16
17
+
10
18
  ### Added
11
19
 
12
20
  - Responsiviness adjustment to to Buying policies page
@@ -16,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
24
  - Responsiviness to Buying policies page
17
25
 
18
26
  ### Added
27
+
19
28
  - Credit card page responsiveness
20
29
  - Change for the store title based on the SEO
21
30
 
@@ -24,75 +33,83 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
33
  - Responsive design implementation for Addresses section
25
34
 
26
35
  ### Added
27
-
36
+
28
37
  - Standardization the sidebar menu throughout the navigation of the Organizational Account, regardless of the context.
29
38
 
30
39
  ### Added
31
- - Added responsiveness to the Payment Methods list.
32
- - Implemented responsiveness across all drawers in the Payment Methods flow.
33
- - Ensured responsive behavior for toasts and empty states.
40
+
41
+ - Added responsiveness to the Payment Methods list.
42
+ - Implemented responsiveness across all drawers in the Payment Methods flow.
43
+ - Ensured responsive behavior for toasts and empty states.
34
44
 
35
45
  ### Fixed
36
46
 
37
- - Allow creation of user with no roles
47
+ - Allow creation of user with no roles
38
48
 
39
49
  ### Added
40
50
 
41
- - Responsiviness to Buying policies page
51
+ - Responsiviness to Buying policies page
42
52
 
43
53
  ### Added
44
54
 
45
- - Credit card page responsiveness
46
- - Change for the store title based on the SEO
55
+ - Credit card page responsiveness
56
+ - Change for the store title based on the SEO
47
57
 
48
58
  ### Added
49
59
 
50
- - Standardization the sidebar menu throughout the navigation of the Organizational Account, regardless of the context.
60
+ - Standardization the sidebar menu throughout the navigation of the Organizational Account, regardless of the context.
51
61
 
52
62
  ### Fixed
53
63
 
54
- - Fix geoCordinate to be geoCoordinates
55
- - Adjusts in Credit Card's experience
56
- - Create a custom dropdown for Buying Policy criteria
64
+ - Fix geoCordinate to be geoCoordinates
65
+ - Adjusts in Credit Card's experience
66
+ - Create a custom dropdown for Buying Policy criteria
57
67
 
58
68
  ### Added
59
69
 
60
- - Send credentials
70
+ - Send credentials
61
71
 
62
72
  ### Added
63
73
 
64
- - Roles and Role Details Screen
65
- - Role Integration on Users
66
- - Setup lint
67
- - Add default values for Credit Cards
74
+ - Roles and Role Details Screen
75
+ - Role Integration on Users
76
+ - Setup lint
77
+ - Add default values for Credit Cards
68
78
 
69
79
  ### changed
70
80
 
71
- - BFF API URLs
81
+ - BFF API URLs
72
82
 
73
83
  ### added
74
84
 
75
- - Address Recipients Add & Delete Feature
76
- - Address Recipients Edit Feature
77
- - Add Buying Policy integration with BFF
78
- - Add default values for Address
85
+ - Address Recipients Add & Delete Feature
86
+ - Address Recipients Edit Feature
87
+ - Add Buying Policy integration with BFF
88
+ - Add default values for Address
79
89
 
80
90
  ### Fixed
81
91
 
82
- - UserData accepts undefined e-mail
83
- - Fix styles
84
- - Fix Address Recipients bff path
92
+ - UserData accepts undefined e-mail
93
+ - Fix styles
94
+ - Fix Address Recipients bff path
85
95
 
86
96
  ### Added
87
97
 
88
- - Add Buying Policies Page
89
- - Add Buying Policy Details Page
90
- - Add Buying Policy Drawers
91
- - Add Buying Policy Integrations
92
- - Add Pagination Tools
93
- - Add Address Pagination
98
+ - Add Buying Policies Page
99
+ - Add Buying Policy Details Page
100
+ - Add Buying Policy Drawers
101
+ - Add Buying Policy Integrations
102
+ - Add Pagination Tools
103
+ - Add Address Pagination
94
104
 
95
105
  ### Added
96
106
 
97
- - Add CHANGELOG file
98
- - Add README file
107
+ - Add CHANGELOG file
108
+ - Add README file
109
+
110
+ [unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/1.3.2...HEAD
111
+ [1.2.3]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.2.2...1.2.3
112
+ [1.2.3]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.2.3
113
+ [1.2.4]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.2.4
114
+
115
+ [1.3.2]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.3.2
package/package.json CHANGED
@@ -1,44 +1,49 @@
1
1
  {
2
- "name": "@vtex/faststore-plugin-buyer-portal",
3
- "version": "1.3.1",
4
- "description": "A plugin for faststore with buyer portal",
5
- "main": "index.js",
6
- "scripts": {
7
- "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
8
- "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
9
- "prepare": "husky"
10
- },
11
- "lint-staged": {
12
- "*.{js,jsx,ts,tsx}": [
13
- "eslint --fix"
14
- ]
15
- },
16
- "dependencies": {
17
- "@types/react-dom": "^19.0.3",
18
- "react-dom": "^19.0.0"
19
- },
20
- "devDependencies": {
21
- "@eslint/js": "^9.29.0",
22
- "@faststore/core": "^3.41.5",
23
- "@faststore/ui": "^3.41.5",
24
- "@types/react": "^18.2.42",
25
- "cypress": "13",
26
- "eslint": "^9.29.0",
27
- "eslint-config-prettier": "^10.1.5",
28
- "eslint-plugin-import": "^2.32.0",
29
- "eslint-plugin-prettier": "^5.5.1",
30
- "eslint-plugin-react": "^7.37.5",
31
- "globals": "^16.2.0",
32
- "husky": "^9.1.7",
33
- "lint-staged": "^16.1.2",
34
- "next": "13.5.7",
35
- "typescript": "4.7.3",
36
- "typescript-eslint": "^8.35.0"
37
- },
38
- "peerDependencies": {
39
- "react": "^18.2.0",
40
- "react-dom": "^18.2.0"
41
- },
42
- "license": "MIT",
43
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
2
+ "name": "@vtex/faststore-plugin-buyer-portal",
3
+ "version": "1.3.2",
4
+ "description": "A plugin for faststore with buyer portal",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
8
+ "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
9
+ "prepare": "husky",
10
+ "release": "yarn release:stable",
11
+ "release:stable": "yarn check --integrity && yarn release-it -c .release-it.json --ci --no-npm"
12
+ },
13
+ "lint-staged": {
14
+ "*.{js,jsx,ts,tsx}": [
15
+ "eslint --fix"
16
+ ]
17
+ },
18
+ "dependencies": {
19
+ "@types/react-dom": "^19.0.3",
20
+ "react-dom": "^19.0.0"
21
+ },
22
+ "devDependencies": {
23
+ "@eslint/js": "^9.29.0",
24
+ "@faststore/core": "^3.41.5",
25
+ "@faststore/ui": "^3.41.5",
26
+ "@release-it/bumper": "^4.0.0",
27
+ "@release-it/keep-a-changelog": "^3.0.0",
28
+ "@types/react": "^18.2.42",
29
+ "cypress": "13",
30
+ "eslint": "^9.29.0",
31
+ "eslint-config-prettier": "^10.1.5",
32
+ "eslint-plugin-import": "^2.32.0",
33
+ "eslint-plugin-prettier": "^5.5.1",
34
+ "eslint-plugin-react": "^7.37.5",
35
+ "globals": "^16.2.0",
36
+ "husky": "^9.1.7",
37
+ "lint-staged": "^16.1.2",
38
+ "next": "13.5.7",
39
+ "release-it": "^17.1.1",
40
+ "typescript": "4.7.3",
41
+ "typescript-eslint": "^8.35.0"
42
+ },
43
+ "peerDependencies": {
44
+ "react": "^18.2.0",
45
+ "react-dom": "^18.2.0"
46
+ },
47
+ "license": "MIT",
48
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
44
49
  }
@@ -537,4 +537,11 @@
537
537
  fill="currentColor"
538
538
  />
539
539
  </symbol>
540
+
541
+ <symbol id="CircleQuestionMark" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
542
+ <path
543
+ d="M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"
544
+ fill="currentColor"/>
545
+ </symbol>
540
546
  </svg>
547
+
@@ -12,3 +12,5 @@ export const LOCAL_STORAGE_LOCATION_EDIT_KEY = "bp_hide_edit_location_confirm";
12
12
 
13
13
  export const LOCAL_STORAGE_RECIPIENT_EDIT_KEY =
14
14
  "bp_hide_edit_recipient_confirm";
15
+
16
+ export const CURRENT_VERSION = "1.3.2";