@akinon/projectzero 2.0.0-beta.1 → 2.0.0-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 2.0.0-beta.3
4
+
5
+ ## 2.0.0-beta.2
6
+
7
+ ### Minor Changes
8
+
9
+ - a006015: ZERO-3116: Add not-found page and update default middleware.
10
+ - 1eeb3d8: ZERO-3116: Add not found page
11
+
3
12
  ## 2.0.0-beta.1
4
13
 
5
14
  ### Minor Changes
@@ -1,5 +1,57 @@
1
1
  # projectzeronext
2
2
 
3
+ ## 2.0.0-beta.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [5536b80]
8
+ - @akinon/next@2.0.0-beta.3
9
+ - @akinon/pz-akifast@2.0.0-beta.3
10
+ - @akinon/pz-b2b@2.0.0-beta.3
11
+ - @akinon/pz-basket-gift-pack@2.0.0-beta.3
12
+ - @akinon/pz-bkm@2.0.0-beta.3
13
+ - @akinon/pz-checkout-gift-pack@2.0.0-beta.3
14
+ - @akinon/pz-click-collect@2.0.0-beta.3
15
+ - @akinon/pz-credit-payment@2.0.0-beta.3
16
+ - @akinon/pz-gpay@2.0.0-beta.3
17
+ - @akinon/pz-masterpass@2.0.0-beta.3
18
+ - @akinon/pz-one-click-checkout@2.0.0-beta.3
19
+ - @akinon/pz-otp@2.0.0-beta.3
20
+ - @akinon/pz-pay-on-delivery@2.0.0-beta.3
21
+ - @akinon/pz-saved-card@2.0.0-beta.3
22
+ - @akinon/pz-tabby-extension@2.0.0-beta.3
23
+
24
+ ## 2.0.0-beta.2
25
+
26
+ ### Minor Changes
27
+
28
+ - a006015: ZERO-3116: Add not-found page and update default middleware.
29
+ - 1eeb3d8: ZERO-3116: Add not found page
30
+ - dd69cc6: ZERO-3079: Modularize pre-order middleware
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [a006015]
35
+ - Updated dependencies [999168d]
36
+ - Updated dependencies [1eeb3d8]
37
+ - Updated dependencies [86a5a62]
38
+ - Updated dependencies [dd69cc6]
39
+ - @akinon/pz-checkout-gift-pack@2.0.0-beta.2
40
+ - @akinon/pz-one-click-checkout@2.0.0-beta.2
41
+ - @akinon/pz-basket-gift-pack@2.0.0-beta.2
42
+ - @akinon/pz-pay-on-delivery@2.0.0-beta.2
43
+ - @akinon/pz-tabby-extension@2.0.0-beta.2
44
+ - @akinon/pz-credit-payment@2.0.0-beta.2
45
+ - @akinon/pz-click-collect@2.0.0-beta.2
46
+ - @akinon/pz-masterpass@2.0.0-beta.2
47
+ - @akinon/pz-saved-card@2.0.0-beta.2
48
+ - @akinon/next@2.0.0-beta.2
49
+ - @akinon/pz-akifast@2.0.0-beta.2
50
+ - @akinon/pz-gpay@2.0.0-beta.2
51
+ - @akinon/pz-b2b@2.0.0-beta.2
52
+ - @akinon/pz-bkm@2.0.0-beta.2
53
+ - @akinon/pz-otp@2.0.0-beta.2
54
+
3
55
  ## 2.0.0-beta.1
4
56
 
5
57
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.3",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -22,21 +22,21 @@
22
22
  "prestart": "pz-prestart"
23
23
  },
24
24
  "dependencies": {
25
- "@akinon/next": "2.0.0-beta.1",
26
- "@akinon/pz-akifast": "2.0.0-beta.1",
27
- "@akinon/pz-b2b": "2.0.0-beta.1",
28
- "@akinon/pz-basket-gift-pack": "2.0.0-beta.1",
29
- "@akinon/pz-bkm": "2.0.0-beta.1",
30
- "@akinon/pz-checkout-gift-pack": "2.0.0-beta.1",
31
- "@akinon/pz-click-collect": "2.0.0-beta.1",
32
- "@akinon/pz-credit-payment": "2.0.0-beta.1",
33
- "@akinon/pz-gpay": "2.0.0-beta.1",
34
- "@akinon/pz-masterpass": "2.0.0-beta.1",
35
- "@akinon/pz-one-click-checkout": "2.0.0-beta.1",
36
- "@akinon/pz-otp": "2.0.0-beta.1",
37
- "@akinon/pz-pay-on-delivery": "2.0.0-beta.1",
38
- "@akinon/pz-saved-card": "2.0.0-beta.1",
39
- "@akinon/pz-tabby-extension": "2.0.0-beta.1",
25
+ "@akinon/next": "2.0.0-beta.3",
26
+ "@akinon/pz-akifast": "2.0.0-beta.3",
27
+ "@akinon/pz-b2b": "2.0.0-beta.3",
28
+ "@akinon/pz-basket-gift-pack": "2.0.0-beta.3",
29
+ "@akinon/pz-bkm": "2.0.0-beta.3",
30
+ "@akinon/pz-checkout-gift-pack": "2.0.0-beta.3",
31
+ "@akinon/pz-click-collect": "2.0.0-beta.3",
32
+ "@akinon/pz-credit-payment": "2.0.0-beta.3",
33
+ "@akinon/pz-gpay": "2.0.0-beta.3",
34
+ "@akinon/pz-masterpass": "2.0.0-beta.3",
35
+ "@akinon/pz-one-click-checkout": "2.0.0-beta.3",
36
+ "@akinon/pz-otp": "2.0.0-beta.3",
37
+ "@akinon/pz-pay-on-delivery": "2.0.0-beta.3",
38
+ "@akinon/pz-saved-card": "2.0.0-beta.3",
39
+ "@akinon/pz-tabby-extension": "2.0.0-beta.3",
40
40
  "@hookform/resolvers": "2.9.0",
41
41
  "@next/third-parties": "14.1.0",
42
42
  "@react-google-maps/api": "2.17.1",
@@ -61,7 +61,7 @@
61
61
  "yup": "0.32.11"
62
62
  },
63
63
  "devDependencies": {
64
- "@akinon/eslint-plugin-projectzero": "2.0.0-beta.1",
64
+ "@akinon/eslint-plugin-projectzero": "2.0.0-beta.3",
65
65
  "@semantic-release/changelog": "6.0.2",
66
66
  "@semantic-release/exec": "6.0.3",
67
67
  "@semantic-release/git": "10.0.1",
@@ -8,10 +8,10 @@ const NotFound = () => {
8
8
  const { t } = useLocalization();
9
9
 
10
10
  return (
11
- <div className="py-6 flex flex-col items-center justify-center">
11
+ <div className="py-10 lg:py-8 flex flex-col items-center justify-center px-4 lg:px-0">
12
12
  <div className="text-8xl font-bold">404</div>
13
13
  <h1 className="text-4xl font-bold mb-4">{t('not_found.title')}</h1>
14
- <p className="text-lg mb-6">{t('not_found.sub_title')}</p>
14
+ <p className="text-lg mb-6 text-center">{t('not_found.sub_title')}</p>
15
15
  <Link href={'/'}>
16
16
  <Button className="h-auto mt-4 text-base py-3 px-6">
17
17
  {t('not_found.button')}
@@ -6,6 +6,7 @@ import {
6
6
  Action,
7
7
  AnyAction,
8
8
  configureStore,
9
+ Middleware,
9
10
  Store,
10
11
  ThunkAction,
11
12
  ThunkDispatch
@@ -13,20 +14,20 @@ import {
13
14
  import categoryReducer from '@theme/redux/reducers/category';
14
15
  import categoryMiddleware from '@theme/redux/middlewares/category';
15
16
 
17
+ const _middlewares: Middleware[] = [...middlewares, categoryMiddleware];
18
+
16
19
  const _reducers = {
17
20
  ...reducers,
18
21
  category: categoryReducer
19
22
  };
20
23
 
21
- const _middlewares = [...middlewares, categoryMiddleware];
22
-
23
24
  export const makeStore = (): Store<{
24
25
  [key in keyof typeof _reducers]: ReturnType<typeof _reducers[key]>;
25
26
  }> =>
26
27
  configureStore({
27
28
  reducer: _reducers,
28
29
  middleware: (getDefaultMiddleware) =>
29
- getDefaultMiddleware().concat([..._middlewares])
30
+ getDefaultMiddleware().concat(_middlewares)
30
31
  });
31
32
 
32
33
  export type AppStore = ReturnType<typeof makeStore>;
@@ -61,6 +61,5 @@ module.exports = {
61
61
  ],
62
62
  redis: {
63
63
  defaultExpirationTime: 900 // 15 min
64
- },
65
- customNotFoundEnabled: false
64
+ }
66
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/projectzero",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.3",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {