@vtex/faststore-plugin-buyer-portal 1.2.1 → 1.2.3

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.
@@ -4,7 +4,7 @@ name: CD
4
4
  on:
5
5
  push:
6
6
  branches:
7
- - main
7
+ - feat/release-it
8
8
 
9
9
  jobs:
10
10
  build:
@@ -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
 
@@ -45,4 +48,4 @@ jobs:
45
48
  run: |
46
49
  git config user.email "vtexgithubbot@github.com"
47
50
  git config user.name "vtexgithubbot"
48
- git push --follow-tags
51
+ git push --folow-tags
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,22 @@
1
+ {
2
+ "github": false,
3
+ "hooks": {
4
+ "after:release": "echo Successfully released ${name} ${version}"
5
+ },
6
+ "git": {
7
+ "tag": false,
8
+ "commitArgs": ["--no-verify"]
9
+ },
10
+ "plugins": {
11
+ "@release-it/keep-a-changelog": {
12
+ "strictLatest": false,
13
+ "addUnreleased": true,
14
+ "addVersionUrl": true,
15
+ "filename": "CHANGELOG.md"
16
+ },
17
+ "@release-it/bumper": {
18
+ "in": "package.json",
19
+ "out": "./src/features/shared/utils/constants.ts"
20
+ }
21
+ }
22
+ }
package/CHANGELOG.md CHANGED
@@ -7,11 +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.2.3] - 2025-10-16
11
+
10
12
  ### Added
11
13
 
12
14
  - Responsiviness to Buying policies page
13
15
 
14
16
  ### Added
17
+
15
18
  - Credit card page responsiveness
16
19
  - Change for the store title based on the SEO
17
20
 
@@ -20,75 +23,81 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
20
23
  - Responsive design implementation for Addresses section
21
24
 
22
25
  ### Added
23
-
26
+
24
27
  - Standardization the sidebar menu throughout the navigation of the Organizational Account, regardless of the context.
25
28
 
26
29
  ### Added
27
- - Added responsiveness to the Payment Methods list.
28
- - Implemented responsiveness across all drawers in the Payment Methods flow.
29
- - Ensured responsive behavior for toasts and empty states.
30
+
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.
30
34
 
31
35
  ### Fixed
32
36
 
33
- - Allow creation of user with no roles
37
+ - Allow creation of user with no roles
34
38
 
35
39
  ### Added
36
40
 
37
- - Responsiviness to Buying policies page
41
+ - Responsiviness to Buying policies page
38
42
 
39
43
  ### Added
40
44
 
41
- - Credit card page responsiveness
42
- - Change for the store title based on the SEO
45
+ - Credit card page responsiveness
46
+ - Change for the store title based on the SEO
43
47
 
44
48
  ### Added
45
49
 
46
- - Standardization the sidebar menu throughout the navigation of the Organizational Account, regardless of the context.
50
+ - Standardization the sidebar menu throughout the navigation of the Organizational Account, regardless of the context.
47
51
 
48
52
  ### Fixed
49
53
 
50
- - Fix geoCordinate to be geoCoordinates
51
- - Adjusts in Credit Card's experience
52
- - Create a custom dropdown for Buying Policy criteria
54
+ - Fix geoCordinate to be geoCoordinates
55
+ - Adjusts in Credit Card's experience
56
+ - Create a custom dropdown for Buying Policy criteria
53
57
 
54
58
  ### Added
55
59
 
56
- - Send credentials
60
+ - Send credentials
57
61
 
58
62
  ### Added
59
63
 
60
- - Roles and Role Details Screen
61
- - Role Integration on Users
62
- - Setup lint
63
- - Add default values for Credit Cards
64
+ - Roles and Role Details Screen
65
+ - Role Integration on Users
66
+ - Setup lint
67
+ - Add default values for Credit Cards
64
68
 
65
69
  ### changed
66
70
 
67
- - BFF API URLs
71
+ - BFF API URLs
68
72
 
69
73
  ### added
70
74
 
71
- - Address Recipients Add & Delete Feature
72
- - Address Recipients Edit Feature
73
- - Add Buying Policy integration with BFF
74
- - Add default values for Address
75
+ - Address Recipients Add & Delete Feature
76
+ - Address Recipients Edit Feature
77
+ - Add Buying Policy integration with BFF
78
+ - Add default values for Address
75
79
 
76
80
  ### Fixed
77
81
 
78
- - UserData accepts undefined e-mail
79
- - Fix styles
80
- - Fix Address Recipients bff path
82
+ - UserData accepts undefined e-mail
83
+ - Fix styles
84
+ - Fix Address Recipients bff path
81
85
 
82
86
  ### Added
83
87
 
84
- - Add Buying Policies Page
85
- - Add Buying Policy Details Page
86
- - Add Buying Policy Drawers
87
- - Add Buying Policy Integrations
88
- - Add Pagination Tools
89
- - Add Address Pagination
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
90
94
 
91
95
  ### Added
92
96
 
93
- - Add CHANGELOG file
94
- - Add README file
97
+ - Add CHANGELOG file
98
+ - Add README file
99
+
100
+ [unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/1.2.3...HEAD
101
+ [1.2.3]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.2.2...1.2.3
102
+
103
+ [1.2.3]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.2.3
package/package.json CHANGED
@@ -1,44 +1,50 @@
1
1
  {
2
- "name": "@vtex/faststore-plugin-buyer-portal",
3
- "version": "1.2.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.2.3",
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
+ "release:beta": "yarn check --integrity && yarn release-it -c .release-it.beta.json --only-version --preRelease=beta"
13
+ },
14
+ "lint-staged": {
15
+ "*.{js,jsx,ts,tsx}": [
16
+ "eslint --fix"
17
+ ]
18
+ },
19
+ "dependencies": {
20
+ "@types/react-dom": "^19.0.3",
21
+ "react-dom": "^19.0.0"
22
+ },
23
+ "devDependencies": {
24
+ "@eslint/js": "^9.29.0",
25
+ "@faststore/core": "^3.41.5",
26
+ "@faststore/ui": "^3.41.5",
27
+ "@release-it/bumper": "^4.0.0",
28
+ "@release-it/keep-a-changelog": "^3.0.0",
29
+ "@types/react": "^18.2.42",
30
+ "cypress": "13",
31
+ "eslint": "^9.29.0",
32
+ "eslint-config-prettier": "^10.1.5",
33
+ "eslint-plugin-import": "^2.32.0",
34
+ "eslint-plugin-prettier": "^5.5.1",
35
+ "eslint-plugin-react": "^7.37.5",
36
+ "globals": "^16.2.0",
37
+ "husky": "^9.1.7",
38
+ "lint-staged": "^16.1.2",
39
+ "next": "13.5.7",
40
+ "release-it": "^17.1.1",
41
+ "typescript": "4.7.3",
42
+ "typescript-eslint": "^8.35.0"
43
+ },
44
+ "peerDependencies": {
45
+ "react": "^18.2.0",
46
+ "react-dom": "^18.2.0"
47
+ },
48
+ "license": "MIT",
49
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
44
50
  }
@@ -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.2.3";