@akinon/projectzero 2.0.0-beta.1 → 2.0.0-beta.11
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 +41 -0
- package/app-template/.env.example +5 -0
- package/app-template/.gitignore +2 -0
- package/app-template/CHANGELOG.md +251 -0
- package/app-template/README.md +6 -0
- package/app-template/config/prebuild-tests.json +5 -0
- package/app-template/docs/plugins.md +60 -25
- package/app-template/jest.config.ts +2 -2
- package/app-template/{next.config.mjs → next.config.ts} +6 -3
- package/app-template/package.json +30 -27
- package/app-template/postcss.config.mjs +8 -0
- package/app-template/public/locales/en/account.json +4 -0
- package/app-template/public/locales/en/common.json +10 -0
- package/app-template/public/locales/tr/account.json +4 -0
- package/app-template/public/locales/tr/common.json +10 -0
- package/app-template/src/__tests__/middleware-matcher.test.ts +135 -0
- package/app-template/src/app/[commerce]/[locale]/[currency]/account/orders/[id]/cancellation/page.tsx +99 -7
- package/app-template/src/app/[commerce]/[locale]/[currency]/account/orders/[id]/page.tsx +112 -47
- package/app-template/src/app/[commerce]/[locale]/[currency]/account/page.tsx +1 -1
- package/app-template/src/app/[commerce]/[locale]/[currency]/address/stores/page.tsx +2 -2
- package/app-template/src/app/[commerce]/[locale]/[currency]/auth/page.tsx +1 -1
- package/app-template/src/app/[commerce]/[locale]/[currency]/basket/page.tsx +2 -2
- package/app-template/src/app/[commerce]/[locale]/[currency]/error.tsx +12 -15
- package/app-template/src/app/[commerce]/[locale]/[currency]/forms/[pk]/generate/page.tsx +1 -1
- package/app-template/src/app/[commerce]/[locale]/[currency]/{pz-not-found/page.tsx → not-found.tsx} +2 -2
- package/app-template/src/app/[commerce]/[locale]/[currency]/orders/checkout/page.tsx +7 -4
- package/app-template/src/app/[commerce]/[locale]/[currency]/xml-sitemap/[node]/route.ts +47 -1
- package/app-template/src/assets/globals.scss +162 -34
- package/app-template/src/components/__tests__/badge.test.tsx +2 -2
- package/app-template/src/components/accordion.tsx +1 -1
- package/app-template/src/components/button.tsx +50 -35
- package/app-template/src/components/checkbox.tsx +1 -0
- package/app-template/src/components/file-input.tsx +44 -2
- package/app-template/src/components/input.tsx +3 -3
- package/app-template/src/components/modal.tsx +1 -1
- package/app-template/src/components/select.tsx +2 -2
- package/app-template/src/components/shimmer.tsx +1 -1
- package/app-template/src/components/tabs.tsx +2 -2
- package/app-template/src/components/types/index.ts +4 -1
- package/app-template/src/middleware.ts +1 -0
- package/app-template/src/plugins.js +2 -1
- package/app-template/src/redux/middlewares/category.ts +1 -1
- package/app-template/src/redux/reducers/category.ts +1 -1
- package/app-template/src/redux/store.ts +4 -3
- package/app-template/src/utils/convert-facet-search-params.ts +1 -1
- package/app-template/src/views/account/contact-form.tsx +3 -8
- package/app-template/src/views/account/content-header.tsx +2 -3
- package/app-template/src/views/account/order.tsx +11 -9
- package/app-template/src/views/account/orders/order-cancellation-item.tsx +5 -4
- package/app-template/src/views/anonymous-tracking/order-detail/index.tsx +45 -38
- package/app-template/src/views/basket/basket-item.tsx +1 -0
- package/app-template/src/views/category/category-active-filters.tsx +1 -1
- package/app-template/src/views/category/category-header.tsx +12 -6
- package/app-template/src/views/category/category-info.tsx +4 -4
- package/app-template/src/views/category/filters/index.tsx +2 -2
- package/app-template/src/views/checkout/auth.tsx +1 -1
- package/app-template/src/views/checkout/layout/header.tsx +1 -1
- package/app-template/src/views/checkout/steps/payment/index.tsx +1 -1
- package/app-template/src/views/checkout/steps/payment/options/credit-card/index.tsx +1 -1
- package/app-template/src/views/checkout/steps/payment/options/redirection.tsx +5 -1
- package/app-template/src/views/checkout/steps/payment/payment-option-buttons.tsx +4 -4
- package/app-template/src/views/checkout/steps/shipping/address-box.tsx +3 -3
- package/app-template/src/views/checkout/steps/shipping/addresses.tsx +1 -1
- package/app-template/src/views/checkout/summary.tsx +2 -2
- package/app-template/src/views/header/action-menu.tsx +11 -4
- package/app-template/src/views/header/band.tsx +2 -2
- package/app-template/src/views/header/mini-basket.tsx +15 -4
- package/app-template/src/views/header/mobile-menu.tsx +6 -6
- package/app-template/src/views/header/navbar.tsx +1 -1
- package/app-template/src/views/header/pwa-back-button.tsx +1 -1
- package/app-template/src/views/header/search/index.tsx +16 -4
- package/app-template/src/views/header/search/results.tsx +1 -1
- package/app-template/src/views/header/user-menu.tsx +3 -1
- package/app-template/src/views/installment-options/index.tsx +1 -1
- package/app-template/src/views/login/index.tsx +30 -6
- package/app-template/src/views/otp-login/index.tsx +12 -14
- package/app-template/src/views/product/price-wrapper.tsx +7 -2
- package/app-template/src/views/product/product-info.tsx +35 -5
- package/app-template/src/views/product/slider.tsx +1 -1
- package/app-template/src/views/product-pointer-banner-item.tsx +1 -1
- package/app-template/src/views/register/index.tsx +29 -4
- package/app-template/src/views/sales-contract-modal/index.tsx +17 -17
- package/app-template/src/widgets/footer-info.tsx +1 -1
- package/app-template/src/widgets/footer-menu.tsx +1 -1
- package/app-template/src/widgets/footer-subscription/index.tsx +1 -1
- package/app-template/src/widgets/home-stories-eng.tsx +1 -1
- package/app-template/tailwind.config.js +2 -134
- package/codemods/sentry-9/index.js +30 -0
- package/codemods/sentry-9/remove-sentry-configs.js +14 -0
- package/codemods/sentry-9/remove-sentry-dependency.js +25 -0
- package/codemods/sentry-9/replace-error-page.js +32 -0
- package/codemods/update-tailwind-config/index.js +30 -0
- package/codemods/update-tailwind-config/transform.js +102 -0
- package/commands/codemod.ts +17 -0
- package/commands/index.ts +3 -1
- package/commands/plugins.ts +24 -30
- package/dist/codemods/sentry-9/templates/error.js +14 -0
- package/dist/commands/codemod.js +15 -0
- package/dist/commands/index.js +3 -1
- package/dist/commands/plugins.js +23 -20
- package/package.json +3 -2
- package/app-template/postcss.config.js +0 -6
- package/app-template/sentry.client.config.ts +0 -16
- package/app-template/sentry.edge.config.ts +0 -3
- package/app-template/sentry.properties +0 -4
- package/app-template/sentry.server.config.ts +0 -3
- package/app-template/src/app/[commerce]/[locale]/[currency]/product/[pk]/loading.tsx +0 -67
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @akinon/projectzero
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.11
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ac783d6: ZERO-3482: Update tailwindcss to version 4.1.11 and enhance button cursor styles
|
|
8
|
+
|
|
9
|
+
## 2.0.0-beta.10
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 2806320: ZERO-3390: Update version tailwindcss, autoprefixer, tailwind-merge, postcss
|
|
14
|
+
|
|
15
|
+
## 2.0.0-beta.9
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 0fe7711: ZERO-3387: Upgrade nextjs, eslint-config-next
|
|
20
|
+
|
|
21
|
+
## 2.0.0-beta.8
|
|
22
|
+
|
|
23
|
+
## 2.0.0-beta.7
|
|
24
|
+
|
|
25
|
+
## 2.0.0-beta.6
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- 8f05f9b: ZERO-3250: Beta branch synchronized with Main branch
|
|
30
|
+
|
|
31
|
+
## 2.0.0-beta.5
|
|
32
|
+
|
|
33
|
+
## 2.0.0-beta.4
|
|
34
|
+
|
|
35
|
+
## 2.0.0-beta.3
|
|
36
|
+
|
|
37
|
+
## 2.0.0-beta.2
|
|
38
|
+
|
|
39
|
+
### Minor Changes
|
|
40
|
+
|
|
41
|
+
- a006015: ZERO-3116: Add not-found page and update default middleware.
|
|
42
|
+
- 1eeb3d8: ZERO-3116: Add not found page
|
|
43
|
+
|
|
3
44
|
## 2.0.0-beta.1
|
|
4
45
|
|
|
5
46
|
### Minor Changes
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
NEXTAUTH_SECRET=PDpBb/aSJESgBbPLHw1+jveHXqyvkC7GC1Z82jvE04s=
|
|
2
|
+
# When using dev-ssl command, NEXTAUTH_URL should be updated to https://localhost:3000
|
|
2
3
|
NEXTAUTH_URL=http://localhost:3000
|
|
3
4
|
NEXT_PUBLIC_MAP_API_KEY=YOUR_MAP_API_KEY
|
|
4
5
|
NEXT_PUBLIC_GTM_KEY=GTM_KEY
|
|
5
6
|
NEXT_PUBLIC_URL=http://localhost:3000
|
|
6
7
|
SERVICE_BACKEND_URL=https://02fde10fee4440269e695aa10707dfaf.lb.akinoncloud.com
|
|
8
|
+
SITEMAP_S3_BUCKET_NAME=0fb534
|
|
9
|
+
|
|
10
|
+
# LOG_LEVEL_DEV=debug # For more details, please refer to the Logging documentation.
|
|
11
|
+
|
|
7
12
|
# CACHE_SECRET=KhvhE1go3GDmYJ7PhZLmskqfhYNlPSm6
|
|
8
13
|
# CACHE_HOST=default:redispw@localhost
|
|
9
14
|
# CACHE_PORT=6379
|
package/app-template/.gitignore
CHANGED
|
@@ -1,5 +1,256 @@
|
|
|
1
1
|
# projectzeronext
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.11
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ac783d6: ZERO-3482: Update tailwindcss to version 4.1.11 and enhance button cursor styles
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [ac783d6]
|
|
12
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.11
|
|
13
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.11
|
|
14
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.11
|
|
15
|
+
- @akinon/pz-tamara-extension@2.0.0-beta.11
|
|
16
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.11
|
|
17
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.11
|
|
18
|
+
- @akinon/pz-credit-payment@2.0.0-beta.11
|
|
19
|
+
- @akinon/pz-click-collect@2.0.0-beta.11
|
|
20
|
+
- @akinon/pz-masterpass@2.0.0-beta.11
|
|
21
|
+
- @akinon/pz-saved-card@2.0.0-beta.11
|
|
22
|
+
- @akinon/next@2.0.0-beta.11
|
|
23
|
+
- @akinon/pz-akifast@2.0.0-beta.11
|
|
24
|
+
- @akinon/pz-gpay@2.0.0-beta.11
|
|
25
|
+
- @akinon/pz-b2b@2.0.0-beta.11
|
|
26
|
+
- @akinon/pz-bkm@2.0.0-beta.11
|
|
27
|
+
- @akinon/pz-otp@2.0.0-beta.11
|
|
28
|
+
|
|
29
|
+
## 2.0.0-beta.10
|
|
30
|
+
|
|
31
|
+
### Minor Changes
|
|
32
|
+
|
|
33
|
+
- 2806320: ZERO-3390: Update version tailwindcss, autoprefixer, tailwind-merge, postcss
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [2806320]
|
|
38
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.10
|
|
39
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.10
|
|
40
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.10
|
|
41
|
+
- @akinon/pz-tamara-extension@2.0.0-beta.10
|
|
42
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.10
|
|
43
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.10
|
|
44
|
+
- @akinon/pz-credit-payment@2.0.0-beta.10
|
|
45
|
+
- @akinon/pz-click-collect@2.0.0-beta.10
|
|
46
|
+
- @akinon/pz-masterpass@2.0.0-beta.10
|
|
47
|
+
- @akinon/pz-saved-card@2.0.0-beta.10
|
|
48
|
+
- @akinon/next@2.0.0-beta.10
|
|
49
|
+
- @akinon/pz-akifast@2.0.0-beta.10
|
|
50
|
+
- @akinon/pz-gpay@2.0.0-beta.10
|
|
51
|
+
- @akinon/pz-b2b@2.0.0-beta.10
|
|
52
|
+
- @akinon/pz-bkm@2.0.0-beta.10
|
|
53
|
+
- @akinon/pz-otp@2.0.0-beta.10
|
|
54
|
+
|
|
55
|
+
## 2.0.0-beta.9
|
|
56
|
+
|
|
57
|
+
### Minor Changes
|
|
58
|
+
|
|
59
|
+
- 0fe7711: ZERO-3387: Upgrade nextjs, eslint-config-next
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- Updated dependencies [0fe7711]
|
|
64
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.9
|
|
65
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.9
|
|
66
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.9
|
|
67
|
+
- @akinon/pz-tamara-extension@2.0.0-beta.9
|
|
68
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.9
|
|
69
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.9
|
|
70
|
+
- @akinon/pz-credit-payment@2.0.0-beta.9
|
|
71
|
+
- @akinon/pz-click-collect@2.0.0-beta.9
|
|
72
|
+
- @akinon/pz-masterpass@2.0.0-beta.9
|
|
73
|
+
- @akinon/pz-saved-card@2.0.0-beta.9
|
|
74
|
+
- @akinon/next@2.0.0-beta.9
|
|
75
|
+
- @akinon/pz-akifast@2.0.0-beta.9
|
|
76
|
+
- @akinon/pz-gpay@2.0.0-beta.9
|
|
77
|
+
- @akinon/pz-b2b@2.0.0-beta.9
|
|
78
|
+
- @akinon/pz-bkm@2.0.0-beta.9
|
|
79
|
+
- @akinon/pz-otp@2.0.0-beta.9
|
|
80
|
+
|
|
81
|
+
## 2.0.0-beta.8
|
|
82
|
+
|
|
83
|
+
### Minor Changes
|
|
84
|
+
|
|
85
|
+
- 071d0f5: ZERO-3352: Resolve Single item size exceeds maxSize error and upgrade dependencies
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- Updated dependencies [071d0f5]
|
|
90
|
+
- @akinon/next@2.0.0-beta.8
|
|
91
|
+
- @akinon/pz-akifast@2.0.0-beta.8
|
|
92
|
+
- @akinon/pz-b2b@2.0.0-beta.8
|
|
93
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.8
|
|
94
|
+
- @akinon/pz-bkm@2.0.0-beta.8
|
|
95
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.8
|
|
96
|
+
- @akinon/pz-click-collect@2.0.0-beta.8
|
|
97
|
+
- @akinon/pz-credit-payment@2.0.0-beta.8
|
|
98
|
+
- @akinon/pz-gpay@2.0.0-beta.8
|
|
99
|
+
- @akinon/pz-masterpass@2.0.0-beta.8
|
|
100
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.8
|
|
101
|
+
- @akinon/pz-otp@2.0.0-beta.8
|
|
102
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.8
|
|
103
|
+
- @akinon/pz-saved-card@2.0.0-beta.8
|
|
104
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.8
|
|
105
|
+
- @akinon/pz-tamara-extension@2.0.0-beta.8
|
|
106
|
+
|
|
107
|
+
## 2.0.0-beta.7
|
|
108
|
+
|
|
109
|
+
### Minor Changes
|
|
110
|
+
|
|
111
|
+
- 1bbba84: ZERO-3291: Update next.js and related dependencies to version 15.2.3
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- @akinon/next@2.0.0-beta.7
|
|
116
|
+
- @akinon/pz-akifast@2.0.0-beta.7
|
|
117
|
+
- @akinon/pz-b2b@2.0.0-beta.7
|
|
118
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.7
|
|
119
|
+
- @akinon/pz-bkm@2.0.0-beta.7
|
|
120
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.7
|
|
121
|
+
- @akinon/pz-click-collect@2.0.0-beta.7
|
|
122
|
+
- @akinon/pz-credit-payment@2.0.0-beta.7
|
|
123
|
+
- @akinon/pz-gpay@2.0.0-beta.7
|
|
124
|
+
- @akinon/pz-masterpass@2.0.0-beta.7
|
|
125
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.7
|
|
126
|
+
- @akinon/pz-otp@2.0.0-beta.7
|
|
127
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.7
|
|
128
|
+
- @akinon/pz-saved-card@2.0.0-beta.7
|
|
129
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.7
|
|
130
|
+
- @akinon/pz-tamara-extension@2.0.0-beta.7
|
|
131
|
+
|
|
132
|
+
## 2.0.0-beta.6
|
|
133
|
+
|
|
134
|
+
### Minor Changes
|
|
135
|
+
|
|
136
|
+
- 8f05f9b: ZERO-3250: Beta branch synchronized with Main branch
|
|
137
|
+
|
|
138
|
+
### Patch Changes
|
|
139
|
+
|
|
140
|
+
- Updated dependencies [8f05f9b]
|
|
141
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.6
|
|
142
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.6
|
|
143
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.6
|
|
144
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.6
|
|
145
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.6
|
|
146
|
+
- @akinon/pz-credit-payment@2.0.0-beta.6
|
|
147
|
+
- @akinon/pz-click-collect@2.0.0-beta.6
|
|
148
|
+
- @akinon/pz-masterpass@2.0.0-beta.6
|
|
149
|
+
- @akinon/pz-saved-card@2.0.0-beta.6
|
|
150
|
+
- @akinon/next@2.0.0-beta.6
|
|
151
|
+
- @akinon/pz-akifast@2.0.0-beta.6
|
|
152
|
+
- @akinon/pz-gpay@2.0.0-beta.6
|
|
153
|
+
- @akinon/pz-b2b@2.0.0-beta.6
|
|
154
|
+
- @akinon/pz-bkm@2.0.0-beta.6
|
|
155
|
+
- @akinon/pz-otp@2.0.0-beta.6
|
|
156
|
+
|
|
157
|
+
## 2.0.0-beta.5
|
|
158
|
+
|
|
159
|
+
### Patch Changes
|
|
160
|
+
|
|
161
|
+
- Updated dependencies [e791eab]
|
|
162
|
+
- @akinon/next@2.0.0-beta.5
|
|
163
|
+
- @akinon/pz-akifast@2.0.0-beta.5
|
|
164
|
+
- @akinon/pz-b2b@2.0.0-beta.5
|
|
165
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.5
|
|
166
|
+
- @akinon/pz-bkm@2.0.0-beta.5
|
|
167
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.5
|
|
168
|
+
- @akinon/pz-click-collect@2.0.0-beta.5
|
|
169
|
+
- @akinon/pz-credit-payment@2.0.0-beta.5
|
|
170
|
+
- @akinon/pz-gpay@2.0.0-beta.5
|
|
171
|
+
- @akinon/pz-masterpass@2.0.0-beta.5
|
|
172
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.5
|
|
173
|
+
- @akinon/pz-otp@2.0.0-beta.5
|
|
174
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.5
|
|
175
|
+
- @akinon/pz-saved-card@2.0.0-beta.5
|
|
176
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.5
|
|
177
|
+
|
|
178
|
+
## 2.0.0-beta.4
|
|
179
|
+
|
|
180
|
+
### Minor Changes
|
|
181
|
+
|
|
182
|
+
- 8b5509a: ZERO-3123: Upgrade Next.js to version 15.1.3 and rename configuration file to TypeScript
|
|
183
|
+
|
|
184
|
+
### Patch Changes
|
|
185
|
+
|
|
186
|
+
- @akinon/next@2.0.0-beta.4
|
|
187
|
+
- @akinon/pz-akifast@2.0.0-beta.4
|
|
188
|
+
- @akinon/pz-b2b@2.0.0-beta.4
|
|
189
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.4
|
|
190
|
+
- @akinon/pz-bkm@2.0.0-beta.4
|
|
191
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.4
|
|
192
|
+
- @akinon/pz-click-collect@2.0.0-beta.4
|
|
193
|
+
- @akinon/pz-credit-payment@2.0.0-beta.4
|
|
194
|
+
- @akinon/pz-gpay@2.0.0-beta.4
|
|
195
|
+
- @akinon/pz-masterpass@2.0.0-beta.4
|
|
196
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.4
|
|
197
|
+
- @akinon/pz-otp@2.0.0-beta.4
|
|
198
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.4
|
|
199
|
+
- @akinon/pz-saved-card@2.0.0-beta.4
|
|
200
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.4
|
|
201
|
+
|
|
202
|
+
## 2.0.0-beta.3
|
|
203
|
+
|
|
204
|
+
### Patch Changes
|
|
205
|
+
|
|
206
|
+
- Updated dependencies [5536b80]
|
|
207
|
+
- @akinon/next@2.0.0-beta.3
|
|
208
|
+
- @akinon/pz-akifast@2.0.0-beta.3
|
|
209
|
+
- @akinon/pz-b2b@2.0.0-beta.3
|
|
210
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.3
|
|
211
|
+
- @akinon/pz-bkm@2.0.0-beta.3
|
|
212
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.3
|
|
213
|
+
- @akinon/pz-click-collect@2.0.0-beta.3
|
|
214
|
+
- @akinon/pz-credit-payment@2.0.0-beta.3
|
|
215
|
+
- @akinon/pz-gpay@2.0.0-beta.3
|
|
216
|
+
- @akinon/pz-masterpass@2.0.0-beta.3
|
|
217
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.3
|
|
218
|
+
- @akinon/pz-otp@2.0.0-beta.3
|
|
219
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.3
|
|
220
|
+
- @akinon/pz-saved-card@2.0.0-beta.3
|
|
221
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.3
|
|
222
|
+
|
|
223
|
+
## 2.0.0-beta.2
|
|
224
|
+
|
|
225
|
+
### Minor Changes
|
|
226
|
+
|
|
227
|
+
- a006015: ZERO-3116: Add not-found page and update default middleware.
|
|
228
|
+
- 1eeb3d8: ZERO-3116: Add not found page
|
|
229
|
+
- dd69cc6: ZERO-3079: Modularize pre-order middleware
|
|
230
|
+
|
|
231
|
+
### Patch Changes
|
|
232
|
+
|
|
233
|
+
- Updated dependencies [a006015]
|
|
234
|
+
- Updated dependencies [999168d]
|
|
235
|
+
- Updated dependencies [1eeb3d8]
|
|
236
|
+
- Updated dependencies [86a5a62]
|
|
237
|
+
- Updated dependencies [dd69cc6]
|
|
238
|
+
- @akinon/pz-checkout-gift-pack@2.0.0-beta.2
|
|
239
|
+
- @akinon/pz-one-click-checkout@2.0.0-beta.2
|
|
240
|
+
- @akinon/pz-basket-gift-pack@2.0.0-beta.2
|
|
241
|
+
- @akinon/pz-pay-on-delivery@2.0.0-beta.2
|
|
242
|
+
- @akinon/pz-tabby-extension@2.0.0-beta.2
|
|
243
|
+
- @akinon/pz-credit-payment@2.0.0-beta.2
|
|
244
|
+
- @akinon/pz-click-collect@2.0.0-beta.2
|
|
245
|
+
- @akinon/pz-masterpass@2.0.0-beta.2
|
|
246
|
+
- @akinon/pz-saved-card@2.0.0-beta.2
|
|
247
|
+
- @akinon/next@2.0.0-beta.2
|
|
248
|
+
- @akinon/pz-akifast@2.0.0-beta.2
|
|
249
|
+
- @akinon/pz-gpay@2.0.0-beta.2
|
|
250
|
+
- @akinon/pz-b2b@2.0.0-beta.2
|
|
251
|
+
- @akinon/pz-bkm@2.0.0-beta.2
|
|
252
|
+
- @akinon/pz-otp@2.0.0-beta.2
|
|
253
|
+
|
|
3
254
|
## 2.0.0-beta.1
|
|
4
255
|
|
|
5
256
|
### Minor Changes
|
package/app-template/README.md
CHANGED
|
@@ -6,6 +6,12 @@ Headless Akinon Commerce Cloud Storefront.
|
|
|
6
6
|
|
|
7
7
|
Run `cp .env.example .env && yarn` command at project root and all dependencies should be installed.
|
|
8
8
|
|
|
9
|
+
## Environment Variables
|
|
10
|
+
|
|
11
|
+
### Required Environment Variables
|
|
12
|
+
|
|
13
|
+
- `SITEMAP_S3_BUCKET_NAME`: S3 bucket name for XML sitemaps (e.g., "0fb534"). This is required for the sitemap route to function correctly.
|
|
14
|
+
|
|
9
15
|
### Build
|
|
10
16
|
|
|
11
17
|
To build the app, run the following command:
|
|
@@ -15,13 +15,18 @@ The plugins selected from this list will be added to the project and ready for u
|
|
|
15
15
|
|
|
16
16
|
### Plugin List
|
|
17
17
|
|
|
18
|
-
1.
|
|
19
|
-
2.
|
|
18
|
+
1. Basket Gift Pack
|
|
19
|
+
2. Click & Collect
|
|
20
20
|
3. Checkout Gift Pack
|
|
21
|
-
4. Checkout
|
|
22
|
-
5.
|
|
23
|
-
6.
|
|
24
|
-
7.
|
|
21
|
+
4. One Click Checkout
|
|
22
|
+
5. Garanti Pay
|
|
23
|
+
6. Pay On Delivery
|
|
24
|
+
7. OTP
|
|
25
|
+
8. BKM Express
|
|
26
|
+
9. Credit Payment
|
|
27
|
+
10. Multi Basket
|
|
28
|
+
11. Tabby Payment Extension
|
|
29
|
+
12. Tamara Payment Extension
|
|
25
30
|
|
|
26
31
|
## Installation
|
|
27
32
|
|
|
@@ -33,44 +38,74 @@ The plugins selected from this list will be added to the project and ready for u
|
|
|
33
38
|
|
|
34
39
|
2. Select the plugins desire to install from the list provided.
|
|
35
40
|
|
|
36
|
-
###
|
|
41
|
+
### Basket Gift Pack
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
Adds a gift pack and/or a gift note to products in the basket. Enhances the gifting experience for customers.
|
|
39
44
|
|
|
40
|
-
[Click here for details](https://
|
|
45
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-basket-gift-pack)
|
|
41
46
|
|
|
42
|
-
###
|
|
47
|
+
### Click & Collect
|
|
43
48
|
|
|
44
|
-
|
|
49
|
+
Allows customers to place an order online and pick it up from a selected store. Reduces delivery costs and improves convenience for users.
|
|
45
50
|
|
|
46
|
-
[Click here for details](https://
|
|
51
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-click-collect)
|
|
47
52
|
|
|
48
53
|
### Checkout Gift Pack
|
|
49
54
|
|
|
50
|
-
|
|
55
|
+
Enables a gift pack option on the payment page. Customers can choose to wrap their purchases as gifts during checkout.
|
|
56
|
+
|
|
57
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-checkout-gift-pack)
|
|
58
|
+
|
|
59
|
+
### One Click Checkout
|
|
51
60
|
|
|
52
|
-
|
|
61
|
+
Simplifies the checkout process by adding one-click payment methods.
|
|
53
62
|
|
|
54
|
-
|
|
63
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-one-click-checkout)
|
|
55
64
|
|
|
56
|
-
|
|
65
|
+
### Garanti Pay
|
|
57
66
|
|
|
58
|
-
|
|
67
|
+
Allows Garanti Bank credit card users to make fast and secure payments without entering card details.
|
|
68
|
+
|
|
69
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-gpay)
|
|
70
|
+
|
|
71
|
+
### Pay On Delivery
|
|
72
|
+
|
|
73
|
+
Provides an option for customers to pay with cash or a credit card at the time of delivery.
|
|
74
|
+
|
|
75
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-pay-on-delivery)
|
|
59
76
|
|
|
60
77
|
### OTP
|
|
61
78
|
|
|
62
|
-
|
|
79
|
+
Adds SMS-based OTP (One-Time Password) verification for secure actions such as registration and updating profile information.
|
|
63
80
|
|
|
64
|
-
[Click here for details](https://
|
|
81
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-otp)
|
|
65
82
|
|
|
66
|
-
###
|
|
83
|
+
### BKM Express
|
|
67
84
|
|
|
68
|
-
|
|
85
|
+
Integrates the BKM Express payment method for users to make fast and secure payments without entering card details.
|
|
69
86
|
|
|
70
|
-
[Click here for details](https://
|
|
87
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-bkm)
|
|
71
88
|
|
|
72
|
-
###
|
|
89
|
+
### Credit Payment
|
|
90
|
+
|
|
91
|
+
Supports credit card payments with installment and non-installment options.
|
|
92
|
+
|
|
93
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-credit-payment)
|
|
94
|
+
|
|
95
|
+
### Multi Basket
|
|
96
|
+
|
|
97
|
+
Enables customers to create and manage multiple virtual baskets at the same time. Facilitates better basket organization.
|
|
98
|
+
|
|
99
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-multi-basket)
|
|
100
|
+
|
|
101
|
+
### Tabby Payment Extension
|
|
102
|
+
|
|
103
|
+
Integrates Tabby’s installment and deferred payment solutions into the checkout.
|
|
104
|
+
|
|
105
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-tabby-extension)
|
|
106
|
+
|
|
107
|
+
### Tamara Payment Extension
|
|
73
108
|
|
|
74
|
-
|
|
109
|
+
Adds Tamara’s "Buy Now, Pay Later" feature to the payment options. Customers can defer payments while ensuring a seamless checkout experience.
|
|
75
110
|
|
|
76
|
-
[Click here for details](https://
|
|
111
|
+
[Click here for details](https://www.npmjs.com/package/@akinon/pz-tamara-extension)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const nextJest = require('next/jest');
|
|
2
|
-
import type {
|
|
2
|
+
import type { JestConfigWithTsJest } from 'ts-jest';
|
|
3
3
|
|
|
4
4
|
const createJestConfig = nextJest({
|
|
5
5
|
dir: './'
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
const config:
|
|
8
|
+
const config: JestConfigWithTsJest = {
|
|
9
9
|
preset: 'ts-jest',
|
|
10
10
|
setupFilesAfterEnv: ['<rootDir>/setupTests.ts'],
|
|
11
11
|
transform: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type { NextConfig } from 'next';
|
|
1
2
|
import withPWA from 'next-pwa';
|
|
2
3
|
import { withSentryConfig } from '@sentry/nextjs';
|
|
3
4
|
import withPzConfig from '@akinon/next/with-pz-config.js';
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
const nextConfig = {
|
|
6
|
+
const nextConfig: NextConfig = {
|
|
7
7
|
// Your Next.js config to override defaults
|
|
8
8
|
rewrites: async () => {
|
|
9
9
|
return [
|
|
@@ -26,7 +26,10 @@ const withPwaConfig = withPWA({
|
|
|
26
26
|
|
|
27
27
|
const sentryConfig = {
|
|
28
28
|
silent: true,
|
|
29
|
-
dryRun: !process.env.SENTRY_DSN
|
|
29
|
+
dryRun: !process.env.SENTRY_DSN,
|
|
30
|
+
org: 'akinon'
|
|
31
|
+
// project: 'enter_your_project_name_here',
|
|
32
|
+
// authToken: 'enter_your_auth_token_here'
|
|
30
33
|
};
|
|
31
34
|
|
|
32
35
|
const enhancedConfig = withPzConfig(nextConfig);
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "projectzeronext",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.11",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"clean": "rm -rf node_modules && rm -rf .next",
|
|
8
8
|
"dev": "next dev",
|
|
9
|
+
"dev-ssl": "next dev --experimental-https",
|
|
9
10
|
"build": "next build",
|
|
10
11
|
"start": "next start -p 8008",
|
|
11
12
|
"type-check": "tsc",
|
|
@@ -19,35 +20,37 @@
|
|
|
19
20
|
"prebuild": "pz-prebuild",
|
|
20
21
|
"postbuild": "pz-postbuild",
|
|
21
22
|
"poststart": "pz-poststart",
|
|
22
|
-
"prestart": "pz-prestart"
|
|
23
|
+
"prestart": "pz-prestart",
|
|
24
|
+
"test:middleware": "jest middleware-matcher.test.ts --bail"
|
|
23
25
|
},
|
|
24
26
|
"dependencies": {
|
|
25
|
-
"@akinon/next": "2.0.0-beta.
|
|
26
|
-
"@akinon/pz-akifast": "2.0.0-beta.
|
|
27
|
-
"@akinon/pz-b2b": "2.0.0-beta.
|
|
28
|
-
"@akinon/pz-basket-gift-pack": "2.0.0-beta.
|
|
29
|
-
"@akinon/pz-bkm": "2.0.0-beta.
|
|
30
|
-
"@akinon/pz-checkout-gift-pack": "2.0.0-beta.
|
|
31
|
-
"@akinon/pz-click-collect": "2.0.0-beta.
|
|
32
|
-
"@akinon/pz-credit-payment": "2.0.0-beta.
|
|
33
|
-
"@akinon/pz-gpay": "2.0.0-beta.
|
|
34
|
-
"@akinon/pz-masterpass": "2.0.0-beta.
|
|
35
|
-
"@akinon/pz-one-click-checkout": "2.0.0-beta.
|
|
36
|
-
"@akinon/pz-otp": "2.0.0-beta.
|
|
37
|
-
"@akinon/pz-pay-on-delivery": "2.0.0-beta.
|
|
38
|
-
"@akinon/pz-saved-card": "2.0.0-beta.
|
|
39
|
-
"@akinon/pz-tabby-extension": "2.0.0-beta.
|
|
27
|
+
"@akinon/next": "2.0.0-beta.11",
|
|
28
|
+
"@akinon/pz-akifast": "2.0.0-beta.11",
|
|
29
|
+
"@akinon/pz-b2b": "2.0.0-beta.11",
|
|
30
|
+
"@akinon/pz-basket-gift-pack": "2.0.0-beta.11",
|
|
31
|
+
"@akinon/pz-bkm": "2.0.0-beta.11",
|
|
32
|
+
"@akinon/pz-checkout-gift-pack": "2.0.0-beta.11",
|
|
33
|
+
"@akinon/pz-click-collect": "2.0.0-beta.11",
|
|
34
|
+
"@akinon/pz-credit-payment": "2.0.0-beta.11",
|
|
35
|
+
"@akinon/pz-gpay": "2.0.0-beta.11",
|
|
36
|
+
"@akinon/pz-masterpass": "2.0.0-beta.11",
|
|
37
|
+
"@akinon/pz-one-click-checkout": "2.0.0-beta.11",
|
|
38
|
+
"@akinon/pz-otp": "2.0.0-beta.11",
|
|
39
|
+
"@akinon/pz-pay-on-delivery": "2.0.0-beta.11",
|
|
40
|
+
"@akinon/pz-saved-card": "2.0.0-beta.11",
|
|
41
|
+
"@akinon/pz-tabby-extension": "2.0.0-beta.11",
|
|
42
|
+
"@akinon/pz-tamara-extension": "2.0.0-beta.11",
|
|
40
43
|
"@hookform/resolvers": "2.9.0",
|
|
41
44
|
"@next/third-parties": "14.1.0",
|
|
42
45
|
"@react-google-maps/api": "2.17.1",
|
|
43
|
-
"@
|
|
46
|
+
"@tailwindcss/postcss": "4.0.0",
|
|
44
47
|
"dayjs": "1.11.5",
|
|
45
48
|
"lossless-json": "2.0.5",
|
|
46
|
-
"next": "15.
|
|
49
|
+
"next": "15.3.4",
|
|
47
50
|
"next-auth": "4.24.11",
|
|
48
51
|
"next-pwa": "5.6.0",
|
|
49
52
|
"pino": "8.11.0",
|
|
50
|
-
"postcss": "8.
|
|
53
|
+
"postcss": "8.5.3",
|
|
51
54
|
"react": "19.0.0",
|
|
52
55
|
"react-dom": "19.0.0",
|
|
53
56
|
"react-google-recaptcha": "2.1.0",
|
|
@@ -56,12 +59,11 @@
|
|
|
56
59
|
"react-multi-carousel": "2.8.4",
|
|
57
60
|
"react-string-replace": "1.1.0",
|
|
58
61
|
"start-server-and-test": "2.0.3",
|
|
59
|
-
"tailwind-merge": "
|
|
60
|
-
"tailwindcss": "3.4.17",
|
|
62
|
+
"tailwind-merge": "3.3.0",
|
|
61
63
|
"yup": "0.32.11"
|
|
62
64
|
},
|
|
63
65
|
"devDependencies": {
|
|
64
|
-
"@akinon/eslint-plugin-projectzero": "2.0.0-beta.
|
|
66
|
+
"@akinon/eslint-plugin-projectzero": "2.0.0-beta.11",
|
|
65
67
|
"@semantic-release/changelog": "6.0.2",
|
|
66
68
|
"@semantic-release/exec": "6.0.3",
|
|
67
69
|
"@semantic-release/git": "10.0.1",
|
|
@@ -76,16 +78,17 @@
|
|
|
76
78
|
"@types/react-dom": "19.0.2",
|
|
77
79
|
"@typescript-eslint/eslint-plugin": "8.18.2",
|
|
78
80
|
"@typescript-eslint/parser": "8.18.2",
|
|
79
|
-
"autoprefixer": "10.4.
|
|
81
|
+
"autoprefixer": "10.4.21",
|
|
80
82
|
"client-only": "0.0.1",
|
|
81
83
|
"clsx": "1.1.1",
|
|
82
84
|
"currency-symbol-map": "5.1.0",
|
|
83
85
|
"eslint": "9.17.0",
|
|
84
|
-
"eslint-config-next": "15.
|
|
86
|
+
"eslint-config-next": "15.3.2",
|
|
85
87
|
"eslint-config-prettier": "9.1.0",
|
|
86
88
|
"husky": "8.0.0",
|
|
87
89
|
"jest": "29.7.0",
|
|
88
90
|
"jest-css-modules-transform": "4.3.0",
|
|
91
|
+
"jest-environment-jsdom": "29.7.0",
|
|
89
92
|
"lint-staged": "13.1.0",
|
|
90
93
|
"prettier": "3.4.2",
|
|
91
94
|
"react-number-format": "5.4.2",
|
|
@@ -97,13 +100,13 @@
|
|
|
97
100
|
"stylelint-config-standard": "25.0.0",
|
|
98
101
|
"stylelint-scss": "4.2.0",
|
|
99
102
|
"stylelint-selector-bem-pattern": "2.1.1",
|
|
100
|
-
"tailwindcss": "
|
|
103
|
+
"tailwindcss": "4.1.11",
|
|
101
104
|
"ts-jest": "29.1.1",
|
|
102
105
|
"ts-node": "10.7.0",
|
|
103
106
|
"typescript": "5.7.2"
|
|
104
107
|
},
|
|
105
108
|
"resolutions": {
|
|
106
|
-
"**/postcss": "8.
|
|
109
|
+
"**/postcss": "8.5.1"
|
|
107
110
|
},
|
|
108
111
|
"packageManager": "yarn@1.22.22"
|
|
109
112
|
}
|
|
@@ -254,6 +254,10 @@
|
|
|
254
254
|
"cancelled": "Cancelled",
|
|
255
255
|
"cancellation_request_recieved": "Cancellation Request Recieved",
|
|
256
256
|
"close_button": "Close",
|
|
257
|
+
"return_status": "Return Status",
|
|
258
|
+
"rejected": "Return Rejected",
|
|
259
|
+
"completed": "Return Completed",
|
|
260
|
+
"explanation": "Explanation",
|
|
257
261
|
"success": {
|
|
258
262
|
"title": "Success",
|
|
259
263
|
"description": "Your request have been recieved and will be evaluated as soon as possible."
|
|
@@ -38,6 +38,12 @@
|
|
|
38
38
|
"description": "Please try again later.",
|
|
39
39
|
"link_text": "Return to home page"
|
|
40
40
|
},
|
|
41
|
+
"client_error": {
|
|
42
|
+
"title": "We encountered a problem with the page.",
|
|
43
|
+
"description": "This appears to be a client-side issue. Please try refreshing the page or clearing your browser cache.",
|
|
44
|
+
"link_text": "Return to home page"
|
|
45
|
+
},
|
|
46
|
+
"try_again": "Try Again",
|
|
41
47
|
"breadcrumb": {
|
|
42
48
|
"homepage": "Homepage"
|
|
43
49
|
},
|
|
@@ -61,5 +67,9 @@
|
|
|
61
67
|
"description": "The products in your cart will be deleted because the exchange rate has changed.",
|
|
62
68
|
"close": "Close",
|
|
63
69
|
"continue": "Continue"
|
|
70
|
+
},
|
|
71
|
+
"file_input": {
|
|
72
|
+
"select_file": "Select File",
|
|
73
|
+
"no_file": "No file selected"
|
|
64
74
|
}
|
|
65
75
|
}
|