@module-federation/bridge-shared 2.3.3 → 2.4.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/bridge-shared",
3
- "version": "2.3.3",
3
+ "version": "2.4.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -11,6 +11,10 @@
11
11
  "url": "git+https://github.com/module-federation/core.git",
12
12
  "directory": "packages/bridge/bridge-shared"
13
13
  },
14
+ "files": [
15
+ "dist/",
16
+ "README.md"
17
+ ],
14
18
  "type": "module",
15
19
  "main": "./dist/index.umd.js",
16
20
  "module": "./dist/index.es.js",
@@ -1,16 +0,0 @@
1
-
2
- > @module-federation/bridge-shared@2.3.3 build /home/runner/work/core/core/packages/bridge/bridge-shared
3
- > vite build
4
-
5
- vite v5.4.21 building for production...
6
- transforming...
7
- ✓ 2 modules transformed.
8
- rendering chunks...
9
- 
10
- [vite:dts] Start generate declaration files...
11
- computing gzip size...
12
- dist/index.es.js 0.16 kB │ gzip: 0.14 kB
13
- [vite:dts] Declaration files built in 3513ms.
14
- 
15
- dist/index.umd.js 0.42 kB │ gzip: 0.29 kB
16
- ✓ built in 3.67s
package/CHANGELOG.md DELETED
@@ -1,255 +0,0 @@
1
- # @module-federation/bridge-shared
2
-
3
- ## 2.3.3
4
-
5
- ## 2.3.2
6
-
7
- ## 2.3.1
8
-
9
- ## 2.3.0
10
-
11
- ## 2.2.3
12
-
13
- ## 2.2.2
14
-
15
- ## 2.2.1
16
-
17
- ## 2.2.0
18
-
19
- ## 2.1.0
20
-
21
- ## 2.0.1
22
-
23
- ## 2.0.0
24
-
25
- ## 0.24.1
26
-
27
- ## 0.24.0
28
-
29
- ## 0.23.0
30
-
31
- ## 0.22.1
32
-
33
- ## 0.22.0
34
-
35
- ## 0.21.6
36
-
37
- ## 0.21.5
38
-
39
- ## 0.21.4
40
-
41
- ## 0.21.3
42
-
43
- ## 0.21.2
44
-
45
- ## 0.21.1
46
-
47
- ## 0.21.0
48
-
49
- ## 0.20.0
50
-
51
- ## 0.19.1
52
-
53
- ## 0.19.0
54
-
55
- ## 0.18.4
56
-
57
- ## 0.18.3
58
-
59
- ## 0.18.2
60
-
61
- ## 0.18.1
62
-
63
- ## 0.18.0
64
-
65
- ## 0.17.1
66
-
67
- ### Patch Changes
68
-
69
- - a7cf276: chore: upgrade NX to 21.2.3, Storybook to 9.0.9, and TypeScript to 5.8.3
70
- - Upgraded NX from 21.0.3 to 21.2.3 with workspace configuration updates
71
- - Migrated Storybook from 8.3.5 to 9.0.9 with updated configurations and automigrations
72
- - Upgraded TypeScript from 5.7.3 to 5.8.3 with compatibility fixes
73
- - Fixed package exports and type declaration paths across all packages
74
- - Resolved module resolution issues and TypeScript compatibility problems
75
- - Updated build configurations and dependencies to support latest versions
76
-
77
- - d31a326: refactor: sink React packages from root to individual packages
78
- - Removed React dependencies from root package.json and moved them to packages that actually need them
79
- - Fixed rsbuild-plugin configuration to match workspace patterns
80
- - Updated tests to handle platform-specific files
81
- - This change improves dependency management by ensuring packages only have the dependencies they actually use
82
-
83
- ## 0.17.0
84
-
85
- ## 0.16.0
86
-
87
- ## 0.15.0
88
-
89
- ## 0.14.3
90
-
91
- ## 0.14.2
92
-
93
- ## 0.14.1
94
-
95
- ## 0.14.0
96
-
97
- ### Patch Changes
98
-
99
- - 677aac9: vue.js has router option added to the vue3-bridge
100
-
101
- ## 0.13.1
102
-
103
- ## 0.13.0
104
-
105
- ### Patch Changes
106
-
107
- - 38f324f: Disable live bindings on cjs builds of the runtime packages
108
-
109
- ## 0.12.0
110
-
111
- ## 0.11.4
112
-
113
- ## 0.11.3
114
-
115
- ## 0.11.2
116
-
117
- ## 0.11.1
118
-
119
- ## 0.11.0
120
-
121
- ## 0.10.0
122
-
123
- ## 0.9.1
124
-
125
- ## 0.9.0
126
-
127
- ## 0.8.12
128
-
129
- ## 0.8.11
130
-
131
- ## 0.8.10
132
-
133
- ## 0.8.9
134
-
135
- ## 0.8.8
136
-
137
- ## 0.8.7
138
-
139
- ## 0.8.6
140
-
141
- ## 0.8.5
142
-
143
- ## 0.8.4
144
-
145
- ## 0.8.3
146
-
147
- ## 0.8.2
148
-
149
- ## 0.8.1
150
-
151
- ## 0.8.0
152
-
153
- ## 0.7.7
154
-
155
- ## 0.7.6
156
-
157
- ## 0.7.5
158
-
159
- ## 0.7.4
160
-
161
- ## 0.7.3
162
-
163
- ## 0.7.2
164
-
165
- ## 0.7.1
166
-
167
- ## 0.7.0
168
-
169
- ### Minor Changes
170
-
171
- - 3942740: add license information
172
-
173
- ## 0.6.16
174
-
175
- ## 0.6.15
176
-
177
- ## 0.6.14
178
-
179
- ### Patch Changes
180
-
181
- - ad605d2: chore: unified logger
182
-
183
- ## 0.6.13
184
-
185
- ## 0.6.12
186
-
187
- ## 0.6.11
188
-
189
- ## 0.6.10
190
-
191
- ## 0.6.9
192
-
193
- ## 0.6.8
194
-
195
- ## 0.6.7
196
-
197
- ## 0.6.6
198
-
199
- ## 0.6.5
200
-
201
- ## 0.6.4
202
-
203
- ## 0.6.3
204
-
205
- ## 0.6.2
206
-
207
- ## 0.6.1
208
-
209
- ## 0.6.0
210
-
211
- ## 0.5.2
212
-
213
- ## 0.5.1
214
-
215
- ## 0.5.0
216
-
217
- ### Patch Changes
218
-
219
- - 49d6135: feat(@module-federation/bridge): enhance Bridge capabilities and fix some issues
220
-
221
- ## 0.4.0
222
-
223
- ## 0.3.5
224
-
225
- ## 0.3.4
226
-
227
- ## 0.3.3
228
-
229
- ## 0.3.2
230
-
231
- ## 0.3.1
232
-
233
- ## 0.3.0
234
-
235
- ## 0.2.8
236
-
237
- ## 0.2.7
238
-
239
- ## 0.2.6
240
-
241
- ## 0.2.5
242
-
243
- ## 0.2.4
244
-
245
- ## 0.2.3
246
-
247
- ## 0.2.2
248
-
249
- ## 0.2.1
250
-
251
- ## 0.2.0
252
-
253
- ### Minor Changes
254
-
255
- - d2ab821: feat(bridge): Supports exporting and loading of application-level modules (with routing), currently supports react and vue3
package/src/bridge.ts DELETED
File without changes
package/src/env.ts DELETED
@@ -1,4 +0,0 @@
1
- export function dispatchPopstateEnv() {
2
- const evt = new PopStateEvent('popstate', { state: window.history.state });
3
- window.dispatchEvent(evt);
4
- }
package/src/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export type { RenderFnParams, ProviderParams } from './type';
2
- export { dispatchPopstateEnv } from './env';
package/src/type.ts DELETED
@@ -1,12 +0,0 @@
1
- export interface ProviderParams {
2
- moduleName?: string;
3
- basename?: string;
4
- memoryRoute?: { entryPath: string };
5
- hashRoute?: boolean;
6
- style?: React.CSSProperties;
7
- className?: string;
8
- }
9
-
10
- export interface RenderFnParams extends ProviderParams {
11
- dom: HTMLElement;
12
- }
package/src/vite-env.d.ts DELETED
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
package/tsconfig.json DELETED
@@ -1,41 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "useDefineForClassFields": true,
4
-
5
- /* Bundler mode */
6
- "allowImportingTsExtensions": true,
7
- "resolveJsonModule": true,
8
- "isolatedModules": true,
9
- "jsxImportSource": "vue",
10
-
11
- /* Linting */
12
- "noUnusedLocals": true,
13
- "noUnusedParameters": true,
14
- "noFallthroughCasesInSwitch": true,
15
- "declaration": true,
16
- "emitDeclarationOnly": true,
17
- "outDir": "dist",
18
- "skipLibCheck": true,
19
- "strict": true,
20
- "moduleResolution": "node",
21
- "target": "esnext",
22
- "module": "esnext",
23
- "lib": ["esnext", "dom"],
24
- "jsx": "preserve",
25
- "esModuleInterop": true,
26
- "allowSyntheticDefaultImports": true,
27
- "sourceMap": true,
28
- "baseUrl": ".",
29
- "paths": {
30
- "@/*": ["src/*"]
31
- }
32
- },
33
- "include": [
34
- "src/**/*.ts",
35
- "src/**/*.tsx",
36
- "src/**/*.vue",
37
- "src/remoteApp.tsx",
38
- "src/create.ts"
39
- ],
40
- "references": [{ "path": "./tsconfig.node.json" }]
41
- }
@@ -1,11 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true,
4
- "skipLibCheck": true,
5
- "module": "ESNext",
6
- "moduleResolution": "bundler",
7
- "allowSyntheticDefaultImports": true,
8
- "strict": true
9
- },
10
- "include": ["vite.config.ts"]
11
- }
package/vite.config.ts DELETED
@@ -1,16 +0,0 @@
1
- import { defineConfig } from 'vite';
2
- import vue from '@vitejs/plugin-vue';
3
- import path from 'path';
4
- import dts from 'vite-plugin-dts';
5
- import vueJsx from '@vitejs/plugin-vue-jsx';
6
-
7
- export default defineConfig({
8
- plugins: [vue(), dts(), vueJsx()],
9
- build: {
10
- lib: {
11
- entry: path.resolve(__dirname, 'src/index.ts'),
12
- name: 'bridge-shared',
13
- fileName: (format) => `index.${format}.js`,
14
- },
15
- },
16
- });