@ebay/muse-lib-react 2.0.0 → 2.0.1

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "https://github.com/ebay/Muse",
6
6
  "directory": "ui-plugins/muse-lib-react"
7
7
  },
8
- "version": "2.0.0",
8
+ "version": "2.0.1",
9
9
  "type": "module",
10
10
  "muse": {
11
11
  "isAppEntry": true,
@@ -27,10 +27,8 @@
27
27
  "MUSE_README.md"
28
28
  ],
29
29
  "dependencies": {
30
- "@ebay/muse-typedoc-plugin": "^1.0.6",
31
30
  "@ebay/nice-modal-react": "1.2.13",
32
31
  "@tanstack/react-query": "5.100.9",
33
- "@testing-library/user-event": "^14.6.1",
34
32
  "babel-plugin-istanbul": "^8.0.0",
35
33
  "history": "5.3.0",
36
34
  "js-plugin": "1.1.0",
@@ -49,6 +47,8 @@
49
47
  "typescript": "6.0.3"
50
48
  },
51
49
  "devDependencies": {
50
+ "@testing-library/user-event": "^14.6.1",
51
+ "@ebay/muse-typedoc-plugin": "^1.0.6",
52
52
  "@changesets/cli": "^2.31.0",
53
53
  "@ebay/muse-core": "^1.0.45",
54
54
  "@ebay/muse-vite-plugin": "^2.0.0",
@@ -8,16 +8,17 @@ const middlewares = [thunk];
8
8
  let devToolsExtension = f => f;
9
9
 
10
10
  /* istanbul ignore if */
11
- // if (process.env.NODE_ENV === 'development') {
12
- // const { createLogger } = require('redux-logger');
11
+ if (process.env.NODE_ENV === 'development') {
12
+ console.log('Adding redux-logger middleware for development environment');
13
+ const { createLogger } = require('redux-logger');
13
14
 
14
- // const logger = createLogger({ collapsed: true });
15
- // middlewares.push(logger);
15
+ const logger = createLogger({ collapsed: true });
16
+ middlewares.push(logger);
16
17
 
17
- // if (window.__REDUX_DEVTOOLS_EXTENSION__) {
18
- // devToolsExtension = window.__REDUX_DEVTOOLS_EXTENSION__();
19
- // }
20
- // }
18
+ if (window.__REDUX_DEVTOOLS_EXTENSION__) {
19
+ devToolsExtension = window.__REDUX_DEVTOOLS_EXTENSION__();
20
+ }
21
+ }
21
22
 
22
23
  function configureStore(initialState) {
23
24
  const store = createStore(