@module-federation/bridge-shared 2.3.2 → 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.2",
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.2 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 6248ms.
14
- 
15
- dist/index.umd.js 0.42 kB │ gzip: 0.29 kB
16
- ✓ built in 6.44s
package/CHANGELOG.md DELETED
@@ -1,253 +0,0 @@
1
- # @module-federation/bridge-shared
2
-
3
- ## 2.3.2
4
-
5
- ## 2.3.1
6
-
7
- ## 2.3.0
8
-
9
- ## 2.2.3
10
-
11
- ## 2.2.2
12
-
13
- ## 2.2.1
14
-
15
- ## 2.2.0
16
-
17
- ## 2.1.0
18
-
19
- ## 2.0.1
20
-
21
- ## 2.0.0
22
-
23
- ## 0.24.1
24
-
25
- ## 0.24.0
26
-
27
- ## 0.23.0
28
-
29
- ## 0.22.1
30
-
31
- ## 0.22.0
32
-
33
- ## 0.21.6
34
-
35
- ## 0.21.5
36
-
37
- ## 0.21.4
38
-
39
- ## 0.21.3
40
-
41
- ## 0.21.2
42
-
43
- ## 0.21.1
44
-
45
- ## 0.21.0
46
-
47
- ## 0.20.0
48
-
49
- ## 0.19.1
50
-
51
- ## 0.19.0
52
-
53
- ## 0.18.4
54
-
55
- ## 0.18.3
56
-
57
- ## 0.18.2
58
-
59
- ## 0.18.1
60
-
61
- ## 0.18.0
62
-
63
- ## 0.17.1
64
-
65
- ### Patch Changes
66
-
67
- - a7cf276: chore: upgrade NX to 21.2.3, Storybook to 9.0.9, and TypeScript to 5.8.3
68
- - Upgraded NX from 21.0.3 to 21.2.3 with workspace configuration updates
69
- - Migrated Storybook from 8.3.5 to 9.0.9 with updated configurations and automigrations
70
- - Upgraded TypeScript from 5.7.3 to 5.8.3 with compatibility fixes
71
- - Fixed package exports and type declaration paths across all packages
72
- - Resolved module resolution issues and TypeScript compatibility problems
73
- - Updated build configurations and dependencies to support latest versions
74
-
75
- - d31a326: refactor: sink React packages from root to individual packages
76
- - Removed React dependencies from root package.json and moved them to packages that actually need them
77
- - Fixed rsbuild-plugin configuration to match workspace patterns
78
- - Updated tests to handle platform-specific files
79
- - This change improves dependency management by ensuring packages only have the dependencies they actually use
80
-
81
- ## 0.17.0
82
-
83
- ## 0.16.0
84
-
85
- ## 0.15.0
86
-
87
- ## 0.14.3
88
-
89
- ## 0.14.2
90
-
91
- ## 0.14.1
92
-
93
- ## 0.14.0
94
-
95
- ### Patch Changes
96
-
97
- - 677aac9: vue.js has router option added to the vue3-bridge
98
-
99
- ## 0.13.1
100
-
101
- ## 0.13.0
102
-
103
- ### Patch Changes
104
-
105
- - 38f324f: Disable live bindings on cjs builds of the runtime packages
106
-
107
- ## 0.12.0
108
-
109
- ## 0.11.4
110
-
111
- ## 0.11.3
112
-
113
- ## 0.11.2
114
-
115
- ## 0.11.1
116
-
117
- ## 0.11.0
118
-
119
- ## 0.10.0
120
-
121
- ## 0.9.1
122
-
123
- ## 0.9.0
124
-
125
- ## 0.8.12
126
-
127
- ## 0.8.11
128
-
129
- ## 0.8.10
130
-
131
- ## 0.8.9
132
-
133
- ## 0.8.8
134
-
135
- ## 0.8.7
136
-
137
- ## 0.8.6
138
-
139
- ## 0.8.5
140
-
141
- ## 0.8.4
142
-
143
- ## 0.8.3
144
-
145
- ## 0.8.2
146
-
147
- ## 0.8.1
148
-
149
- ## 0.8.0
150
-
151
- ## 0.7.7
152
-
153
- ## 0.7.6
154
-
155
- ## 0.7.5
156
-
157
- ## 0.7.4
158
-
159
- ## 0.7.3
160
-
161
- ## 0.7.2
162
-
163
- ## 0.7.1
164
-
165
- ## 0.7.0
166
-
167
- ### Minor Changes
168
-
169
- - 3942740: add license information
170
-
171
- ## 0.6.16
172
-
173
- ## 0.6.15
174
-
175
- ## 0.6.14
176
-
177
- ### Patch Changes
178
-
179
- - ad605d2: chore: unified logger
180
-
181
- ## 0.6.13
182
-
183
- ## 0.6.12
184
-
185
- ## 0.6.11
186
-
187
- ## 0.6.10
188
-
189
- ## 0.6.9
190
-
191
- ## 0.6.8
192
-
193
- ## 0.6.7
194
-
195
- ## 0.6.6
196
-
197
- ## 0.6.5
198
-
199
- ## 0.6.4
200
-
201
- ## 0.6.3
202
-
203
- ## 0.6.2
204
-
205
- ## 0.6.1
206
-
207
- ## 0.6.0
208
-
209
- ## 0.5.2
210
-
211
- ## 0.5.1
212
-
213
- ## 0.5.0
214
-
215
- ### Patch Changes
216
-
217
- - 49d6135: feat(@module-federation/bridge): enhance Bridge capabilities and fix some issues
218
-
219
- ## 0.4.0
220
-
221
- ## 0.3.5
222
-
223
- ## 0.3.4
224
-
225
- ## 0.3.3
226
-
227
- ## 0.3.2
228
-
229
- ## 0.3.1
230
-
231
- ## 0.3.0
232
-
233
- ## 0.2.8
234
-
235
- ## 0.2.7
236
-
237
- ## 0.2.6
238
-
239
- ## 0.2.5
240
-
241
- ## 0.2.4
242
-
243
- ## 0.2.3
244
-
245
- ## 0.2.2
246
-
247
- ## 0.2.1
248
-
249
- ## 0.2.0
250
-
251
- ### Minor Changes
252
-
253
- - 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
- });