cozy-harvest-lib 32.1.0 → 32.2.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/CHANGELOG.md +20 -0
- package/package.json +4 -3
- package/test/AppLike.jsx +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [32.2.1](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@32.2.0...cozy-harvest-lib@32.2.1) (2024-12-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package cozy-harvest-lib
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [32.2.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@32.1.0...cozy-harvest-lib@32.2.0) (2024-12-23)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **cozy-harvest:** Add missing react-redux dep ([27ee882](https://github.com/cozy/cozy-libs/commit/27ee8822365d51031a8b61ee4816005c2ea5dc33))
|
|
20
|
+
* **cozy-harvest:** Prefer use createMockClient for tests ([26a5e30](https://github.com/cozy/cozy-libs/commit/26a5e3076cb8a0928ca95bec1a9a75440ec7e7cb))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [32.1.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@32.0.0...cozy-harvest-lib@32.1.0) (2024-12-23)
|
|
7
27
|
|
|
8
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-harvest-lib",
|
|
3
|
-
"version": "32.1
|
|
3
|
+
"version": "32.2.1",
|
|
4
4
|
"description": "Provides logic, modules and components for Cozy's harvest applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"react-final-form": "^3.7.0",
|
|
43
43
|
"react-json-print": "^0.1.3",
|
|
44
44
|
"react-markdown": "^4.2.2",
|
|
45
|
+
"react-redux": "7.2.2",
|
|
45
46
|
"use-deep-compare-effect": "^1.8.1",
|
|
46
47
|
"uuid": "^3.3.2"
|
|
47
48
|
},
|
|
@@ -74,7 +75,7 @@
|
|
|
74
75
|
"cozy-realtime": "^5.6.2",
|
|
75
76
|
"cozy-tsconfig": "^1.8.1",
|
|
76
77
|
"cozy-ui": "^115.0.2",
|
|
77
|
-
"cozy-viewer": "^11.
|
|
78
|
+
"cozy-viewer": "^11.4.0",
|
|
78
79
|
"enzyme": "3.11.0",
|
|
79
80
|
"enzyme-adapter-react-16": "1.15.6",
|
|
80
81
|
"form-data": "4.0.0",
|
|
@@ -110,5 +111,5 @@
|
|
|
110
111
|
"react-router-dom": ">=6.14.2"
|
|
111
112
|
},
|
|
112
113
|
"sideEffects": false,
|
|
113
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "17cb5f8decd5d14d022086d45dc0d0e10542c8e6"
|
|
114
115
|
}
|
package/test/AppLike.jsx
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { Provider as ReduxProvider } from 'react-redux'
|
|
3
3
|
|
|
4
|
-
import
|
|
4
|
+
import {
|
|
5
|
+
CozyProvider as CozyClientProvider,
|
|
6
|
+
createMockClient
|
|
7
|
+
} from 'cozy-client'
|
|
5
8
|
import { useCozyDialog } from 'cozy-ui/transpiled/react/CozyDialogs'
|
|
6
9
|
import AlertProvider from 'cozy-ui/transpiled/react/providers/Alert'
|
|
7
10
|
import { BreakpointsProvider } from 'cozy-ui/transpiled/react/providers/Breakpoints'
|
|
@@ -11,8 +14,7 @@ import I18n from 'cozy-ui/transpiled/react/providers/I18n'
|
|
|
11
14
|
import DialogContext from '../src/components/DialogContext'
|
|
12
15
|
import enLocale from '../src/locales/en.json'
|
|
13
16
|
|
|
14
|
-
const defaultClient =
|
|
15
|
-
defaultClient.ensureStore()
|
|
17
|
+
const defaultClient = createMockClient({})
|
|
16
18
|
|
|
17
19
|
const AppLike = ({
|
|
18
20
|
client: clientOption,
|