@grasp-labs/ds-microfrontends-integration 0.13.0 → 0.13.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as o } from "./index-
|
|
1
|
+
import { c as o } from "./index-BkOG1KLE.js";
|
|
2
2
|
import { useState as J, useEffect as De, createContext as Zt, useRef as ce, useContext as Gt, useMemo as le, useCallback as Re } from "react";
|
|
3
3
|
const $e = (e, t, n, r, a) => {
|
|
4
4
|
if (!r) throw new Error(a ?? `Invalid property path: ${t}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, B as l, E as t, F as r, J as i, L as u, N as o, S as d, T as n, a as F, h as g, V as m, e as c, f as V, b as p, g as T, v as h, x as v, m as S, n as b, w as x, o as y, k as P, z as f, p as D, q as E, s as L, t as A, y as I, r as N, l as j, u as B, i as C, j as J, d as O } from "./index-
|
|
1
|
+
import { A as s, B as l, E as t, F as r, J as i, L as u, N as o, S as d, T as n, a as F, h as g, V as m, e as c, f as V, b as p, g as T, v as h, x as v, m as S, n as b, w as x, o as y, k as P, z as f, p as D, q as E, s as L, t as A, y as I, r as N, l as j, u as B, i as C, j as J, d as O } from "./index-BkOG1KLE.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ArrayField,
|
|
4
4
|
l as BooleanField,
|
package/dist/mf-common.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IconName } from '@grasp-labs/ds-react-components';
|
|
2
2
|
import { ModuleFederationOptions } from '@module-federation/vite/lib/utils/normalizeModuleFederationOptions';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use @grasp-labs/ds-web-microfrontends-common-lib instead
|
|
5
|
+
*/
|
|
3
6
|
export type RouteConfig = {
|
|
4
7
|
label: string;
|
|
5
8
|
path: string;
|
|
@@ -8,16 +11,29 @@ export type RouteConfig = {
|
|
|
8
11
|
};
|
|
9
12
|
/**
|
|
10
13
|
* INDEX is a mandatory route representing the root of the microfrontend, used as the parent navigation item in the sidebar
|
|
14
|
+
* @deprecated Use @grasp-labs/ds-web-microfrontends-common-lib instead
|
|
11
15
|
*/
|
|
12
16
|
export type IndexNavigationConfig = {
|
|
13
17
|
INDEX: RouteConfig;
|
|
14
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Use @grasp-labs/ds-web-microfrontends-common-lib instead
|
|
21
|
+
*/
|
|
15
22
|
export type NavigationConfig<TKeys extends string = string> = IndexNavigationConfig & Record<TKeys, RouteConfig>;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated Use @grasp-labs/ds-web-microfrontends-common-lib instead
|
|
25
|
+
*/
|
|
16
26
|
export type MicrofrontendExposes = {
|
|
17
27
|
".": string;
|
|
18
28
|
"./navigationConfig": string;
|
|
19
29
|
} & Record<string, string>;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Use @grasp-labs/ds-web-microfrontends-common-lib instead
|
|
32
|
+
*/
|
|
20
33
|
export declare const createModuleFederationConfig: (name: string, overrides?: Partial<ModuleFederationOptions>) => ModuleFederationOptions;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Use @grasp-labs/ds-web-microfrontends-common-lib instead
|
|
36
|
+
*/
|
|
21
37
|
export declare const COMMON_SHARED_DEPS: {
|
|
22
38
|
react: {
|
|
23
39
|
singleton: boolean;
|
|
@@ -40,5 +56,17 @@ export declare const COMMON_SHARED_DEPS: {
|
|
|
40
56
|
requiredVersion: string;
|
|
41
57
|
};
|
|
42
58
|
};
|
|
59
|
+
/**
|
|
60
|
+
* @deprecated Use @grasp-labs/ds-web-microfrontends-common-lib instead
|
|
61
|
+
*/
|
|
43
62
|
export declare const createMicrofrontendsBase: (name: string) => string;
|
|
63
|
+
/**
|
|
64
|
+
* @deprecated This file is deprecated and will be removed in a future release.
|
|
65
|
+
* Please use @grasp-labs/ds-web-microfrontends-common-lib package instead.
|
|
66
|
+
* All exports from this file are now available in the external package.
|
|
67
|
+
*
|
|
68
|
+
* Migration guide:
|
|
69
|
+
* - Replace imports from './mf-common' with '@grasp-labs/ds-web-microfrontends-common-lib'
|
|
70
|
+
* - Install the package: npm install @grasp-labs/ds-web-microfrontends-common-lib
|
|
71
|
+
*/
|
|
44
72
|
export declare const dsFederation: (name: string, overrides?: Partial<ModuleFederationOptions>) => import('vite').Plugin<any>[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grasp-labs/ds-microfrontends-integration",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -60,46 +60,46 @@
|
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@eslint/js": "^9.32.0",
|
|
63
|
-
"@grasp-labs/ds-react-components": "^0.
|
|
63
|
+
"@grasp-labs/ds-react-components": "^0.15.1",
|
|
64
64
|
"@hookform/resolvers": "^5.2.2",
|
|
65
65
|
"@module-federation/vite": "^1.9.0",
|
|
66
|
-
"@storybook/addon-a11y": "^
|
|
67
|
-
"@storybook/addon-themes": "^
|
|
68
|
-
"@storybook/react-vite": "^
|
|
66
|
+
"@storybook/addon-a11y": "^10.1.11",
|
|
67
|
+
"@storybook/addon-themes": "^10.1.11",
|
|
68
|
+
"@storybook/react-vite": "^10.1.11",
|
|
69
69
|
"@tailwindcss/vite": "^4.1.11",
|
|
70
70
|
"@testing-library/jest-dom": "^6.6.3",
|
|
71
71
|
"@testing-library/react": "^16.3.0",
|
|
72
72
|
"@testing-library/user-event": "^14.6.1",
|
|
73
73
|
"@types/express": "^5.0.5",
|
|
74
|
-
"@types/node": "^
|
|
74
|
+
"@types/node": "^24.0.5",
|
|
75
75
|
"@types/react": "^19.1.10",
|
|
76
76
|
"@types/react-dom": "^19.1.7",
|
|
77
|
-
"@vitejs/plugin-react": "^
|
|
78
|
-
"@vitest/coverage-v8": "^
|
|
77
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
78
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
79
79
|
"eslint": "^9.32.0",
|
|
80
80
|
"eslint-config-prettier": "^10.1.8",
|
|
81
81
|
"eslint-plugin-prettier": "^5.5.3",
|
|
82
|
-
"eslint-plugin-react-hooks": "^
|
|
83
|
-
"eslint-plugin-storybook": "^
|
|
82
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
83
|
+
"eslint-plugin-storybook": "^10.1.11",
|
|
84
84
|
"express": "^5.1.0",
|
|
85
|
-
"globals": "^
|
|
85
|
+
"globals": "^17.0.0",
|
|
86
86
|
"i18next": "^25.7.3",
|
|
87
|
-
"jsdom": "^
|
|
87
|
+
"jsdom": "^27.4.0",
|
|
88
88
|
"json-edit-react": "^1.29.0",
|
|
89
89
|
"prettier": "^3.6.2",
|
|
90
|
-
"prettier-plugin-tailwindcss": "^0.
|
|
90
|
+
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
91
91
|
"react": "19.2.3",
|
|
92
92
|
"react-dom": "19.2.3",
|
|
93
93
|
"react-hook-form": "^7.66.0",
|
|
94
|
-
"storybook": "^
|
|
94
|
+
"storybook": "^10.1.11",
|
|
95
95
|
"tailwind-merge": "^3.3.1",
|
|
96
96
|
"tailwindcss": "^4.1.11",
|
|
97
|
-
"typescript": "
|
|
97
|
+
"typescript": "^5.9.3",
|
|
98
98
|
"typescript-eslint": "^8.35.0",
|
|
99
99
|
"vite": "^7.0.6",
|
|
100
100
|
"vite-plugin-dts": "^4.5.4",
|
|
101
|
-
"vite-tsconfig-paths": "^
|
|
102
|
-
"vitest": "^
|
|
101
|
+
"vite-tsconfig-paths": "^6.0.3",
|
|
102
|
+
"vitest": "^4.0.16",
|
|
103
103
|
"zod": "4.2.1"
|
|
104
104
|
}
|
|
105
105
|
}
|