@openmrs/esm-react-utils 4.0.0-pre.1 → 4.0.1-pre.204
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/.turbo/turbo-build.log +16 -13
- package/__mocks__/openmrs-esm-state.mock.ts +1 -0
- package/dist/openmrs-esm-react-utils.js +1 -1
- package/dist/openmrs-esm-react-utils.js.LICENSE.txt +0 -9
- package/dist/openmrs-esm-react-utils.js.map +1 -1
- package/jest.config.js +3 -2
- package/package.json +7 -7
- package/src/ConfigurableLink.test.tsx +8 -4
- package/src/Extension.tsx +30 -6
- package/src/ExtensionSlot.tsx +108 -68
- package/src/UserHasAccess.tsx +1 -1
- package/src/extensions.test.tsx +276 -0
- package/src/public.ts +1 -2
- package/src/setup-tests.js +2 -0
- package/src/useAssignedExtensionIds.ts +1 -1
- package/src/useAssignedExtensions.ts +1 -1
- package/src/useConfig.test.tsx +8 -7
- package/src/useConfig.ts +1 -1
- package/.turbo/turbo-lint.log +0 -2
- package/.turbo/turbo-test.log +0 -45
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
[36m@openmrs/esm-react-utils:build
|
|
1
|
+
[36m@openmrs/esm-react-utils:build[0m: cache hit, replaying output [2mf736ada54cf5fffb[0m
|
|
2
2
|
[36m@openmrs/esm-react-utils:build: [0m$ webpack --mode=production
|
|
3
|
-
[36m@openmrs/esm-react-utils:build: [0masset
|
|
4
|
-
[36m@openmrs/esm-react-utils:build: [0morphan modules
|
|
3
|
+
[36m@openmrs/esm-react-utils:build: [0masset [1m[32mopenmrs-esm-react-utils.js[39m[22m 85.5 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (name: main) 2 related assets
|
|
4
|
+
[36m@openmrs/esm-react-utils:build: [0morphan modules 199 KiB [1m[33m[orphan][39m[22m 120 modules
|
|
5
5
|
[36m@openmrs/esm-react-utils:build: [0mruntime modules 2.14 KiB 8 modules
|
|
6
|
-
[36m@openmrs/esm-react-utils:build: [0mbuilt modules
|
|
7
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
8
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
9
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
10
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
11
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
12
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
13
|
-
[36m@openmrs/esm-react-utils:build: [0m external "@openmrs/esm-extensions" 42 bytes [built] [code generated]
|
|
6
|
+
[36m@openmrs/esm-react-utils:build: [0mbuilt modules 273 KiB [1m[33m[built][39m[22m
|
|
7
|
+
[36m@openmrs/esm-react-utils:build: [0m modules by path [1m../../../node_modules/lodash/*.js[39m[22m 61.2 KiB
|
|
8
|
+
[36m@openmrs/esm-react-utils:build: [0m [1m../../../node_modules/lodash/isEqual.js[39m[22m 986 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
9
|
+
[36m@openmrs/esm-react-utils:build: [0m + 88 modules
|
|
10
|
+
[36m@openmrs/esm-react-utils:build: [0m modules by path [1mexternal "@openmrs/[39m[22m 168 bytes
|
|
11
|
+
[36m@openmrs/esm-react-utils:build: [0m [1mexternal "@openmrs/esm-config"[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
12
|
+
[36m@openmrs/esm-react-utils:build: [0m [1mexternal "@openmrs/esm-extensions"[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
14
13
|
[36m@openmrs/esm-react-utils:build: [0m + 2 modules
|
|
15
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
16
|
-
[36m@openmrs/esm-react-utils:build: [
|
|
14
|
+
[36m@openmrs/esm-react-utils:build: [0m modules by path [1m../../../node_modules/systemjs-webpack-interop/[39m[22m 3.27 KiB
|
|
15
|
+
[36m@openmrs/esm-react-utils:build: [0m [1m../../../node_modules/systemjs-webpack-interop/auto-public-path/1.js[39m[22m 89 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
16
|
+
[36m@openmrs/esm-react-utils:build: [0m [1m../../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js[39m[22m 846 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
17
|
+
[36m@openmrs/esm-react-utils:build: [0m [1m../../../node_modules/systemjs-webpack-interop/public-path.js[39m[22m 2.36 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
18
|
+
[36m@openmrs/esm-react-utils:build: [0m + 8 modules
|
|
19
|
+
[36m@openmrs/esm-react-utils:build: [0mwebpack 5.74.0 compiled [1m[32msuccessfully[39m[22m in 6964 ms
|
|
@@ -64,6 +64,7 @@ export function getGlobalStore<TState = any>(
|
|
|
64
64
|
|
|
65
65
|
function instrumentedStore<T>(name: string, store: Store<T>) {
|
|
66
66
|
return {
|
|
67
|
+
action: jest.spyOn(store, "action"),
|
|
67
68
|
getState: jest.spyOn(store, "getState"),
|
|
68
69
|
setState: jest.spyOn(store, "setState"),
|
|
69
70
|
subscribe: jest.spyOn(store, "subscribe"),
|