@module-federation/devtools 0.8.6 → 0.8.8

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,6 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import { GlobalModuleInfo } from '@module-federation/sdk';
3
+ import type { Federation } from '@module-federation/runtime';
3
4
  import { RootComponentProps } from '../../utils';
5
+ declare global {
6
+ interface Window {
7
+ __FEDERATION__: Federation & {
8
+ originModuleInfo: GlobalModuleInfo;
9
+ moduleInfo: GlobalModuleInfo;
10
+ };
11
+ }
12
+ }
4
13
  declare const Layout: (props: {
5
14
  moduleInfo: GlobalModuleInfo;
6
15
  } & RootComponentProps) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/devtools",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,7 +44,7 @@
44
44
  "react": "~18.3.1",
45
45
  "react-dom": "~18.3.1",
46
46
  "reactflow": "11.11.4",
47
- "@module-federation/sdk": "0.8.6"
47
+ "@module-federation/sdk": "0.8.8"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@modern-js-app/eslint-config": "2.54.6",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "~3.0.2",
68
68
  "typescript": "~5.0.4",
69
69
  "vitest": "1.2.2",
70
- "@module-federation/runtime": "0.8.6"
70
+ "@module-federation/runtime": "0.8.8"
71
71
  },
72
72
  "scripts": {
73
73
  "build:storybook": "storybook build",
@@ -80,7 +80,7 @@
80
80
  "release": "npm publish --tag canary",
81
81
  "test": "vitest run",
82
82
  "test:e2e": "E2ETEST=true pnpm build && playwright test",
83
- "test:e2e:ui": "E2ETEST=true pnpm build && playwright test --ui",
83
+ "test:e2e:ui": "E2ETEST=true pnpm build && playwright test --ui",
84
84
  "start": "modern start",
85
85
  "serve": "modern serve",
86
86
  "new": "modern new",