@akinon/projectzero 2.0.0-beta.1 → 2.0.0-beta.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,5 +1,7 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 2.0.0-beta.2
4
+
3
5
  ## 2.0.0-beta.1
4
6
 
5
7
  ### Minor Changes
@@ -1,5 +1,30 @@
1
1
  # projectzeronext
2
2
 
3
+ ## 2.0.0-beta.2
4
+
5
+ ### Minor Changes
6
+
7
+ - dd69cc6: ZERO-3079: Modularize pre-order middleware
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [dd69cc6]
12
+ - @akinon/next@2.0.0-beta.2
13
+ - @akinon/pz-akifast@2.0.0-beta.2
14
+ - @akinon/pz-b2b@2.0.0-beta.2
15
+ - @akinon/pz-basket-gift-pack@2.0.0-beta.2
16
+ - @akinon/pz-bkm@2.0.0-beta.2
17
+ - @akinon/pz-checkout-gift-pack@2.0.0-beta.2
18
+ - @akinon/pz-click-collect@2.0.0-beta.2
19
+ - @akinon/pz-credit-payment@2.0.0-beta.2
20
+ - @akinon/pz-gpay@2.0.0-beta.2
21
+ - @akinon/pz-masterpass@2.0.0-beta.2
22
+ - @akinon/pz-one-click-checkout@2.0.0-beta.2
23
+ - @akinon/pz-otp@2.0.0-beta.2
24
+ - @akinon/pz-pay-on-delivery@2.0.0-beta.2
25
+ - @akinon/pz-saved-card@2.0.0-beta.2
26
+ - @akinon/pz-tabby-extension@2.0.0-beta.2
27
+
3
28
  ## 2.0.0-beta.1
4
29
 
5
30
  ### 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.2",
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.2",
26
+ "@akinon/pz-akifast": "2.0.0-beta.2",
27
+ "@akinon/pz-b2b": "2.0.0-beta.2",
28
+ "@akinon/pz-basket-gift-pack": "2.0.0-beta.2",
29
+ "@akinon/pz-bkm": "2.0.0-beta.2",
30
+ "@akinon/pz-checkout-gift-pack": "2.0.0-beta.2",
31
+ "@akinon/pz-click-collect": "2.0.0-beta.2",
32
+ "@akinon/pz-credit-payment": "2.0.0-beta.2",
33
+ "@akinon/pz-gpay": "2.0.0-beta.2",
34
+ "@akinon/pz-masterpass": "2.0.0-beta.2",
35
+ "@akinon/pz-one-click-checkout": "2.0.0-beta.2",
36
+ "@akinon/pz-otp": "2.0.0-beta.2",
37
+ "@akinon/pz-pay-on-delivery": "2.0.0-beta.2",
38
+ "@akinon/pz-saved-card": "2.0.0-beta.2",
39
+ "@akinon/pz-tabby-extension": "2.0.0-beta.2",
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.2",
65
65
  "@semantic-release/changelog": "6.0.2",
66
66
  "@semantic-release/exec": "6.0.3",
67
67
  "@semantic-release/git": "10.0.1",
@@ -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>;
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.2",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {