@module-federation/utilities 0.3.2 → 0.3.4
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/CHANGELOG.md +18 -0
- package/README.md +2 -2
- package/package.json +1 -7
- package/src/types/index.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.3.4](https://github.com/module-federation/nextjs-mf/compare/utils-0.3.3...utils-0.3.4) (2022-10-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* remove exports field from package.json ([#318](https://github.com/module-federation/nextjs-mf/issues/318)) ([a9148ae](https://github.com/module-federation/nextjs-mf/commit/a9148ae27f1c05fe4c1586ed5769c79054a7033e))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.3.3](https://github.com/module-federation/nextjs-mf/compare/utils-0.3.2...utils-0.3.3) (2022-10-13)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **typescript:** fix exposePages type ([#309](https://github.com/module-federation/nextjs-mf/issues/309)) ([c0be839](https://github.com/module-federation/nextjs-mf/commit/c0be839787f97c5e23cea3d7cf501caaa469972f))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
5
23
|
## [0.3.2](https://github.com/module-federation/nextjs-mf/compare/utils-0.3.1...utils-0.3.2) (2022-10-12)
|
|
6
24
|
|
|
7
25
|
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Any extra props will be passed directly to the imported module.
|
|
|
22
22
|
|
|
23
23
|
Usage looks something like this:
|
|
24
24
|
```js
|
|
25
|
-
import { FederationBoundary } from "@module-federation/utilities/react";
|
|
25
|
+
import { FederationBoundary } from "@module-federation/utilities/src/react";
|
|
26
26
|
|
|
27
27
|
const MyPage = () => {
|
|
28
28
|
return (
|
|
@@ -33,4 +33,4 @@ const MyPage = () => {
|
|
|
33
33
|
/>
|
|
34
34
|
)
|
|
35
35
|
}
|
|
36
|
-
```
|
|
36
|
+
```
|
package/package.json
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/utilities",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"registry": "https://registry.npmjs.org/"
|
|
9
9
|
},
|
|
10
|
-
"exports": {
|
|
11
|
-
".": "./src/index.js",
|
|
12
|
-
"./package.json": "./package.json",
|
|
13
|
-
"./react": "./src/utils/react.js",
|
|
14
|
-
"./src/": "./src/"
|
|
15
|
-
},
|
|
16
10
|
"repository": "https://github.com/module-federation/nextjs-mf/tree/main/packages/utilities",
|
|
17
11
|
"peerDependencies": {
|
|
18
12
|
"react": "^12 || ^18",
|
package/src/types/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare const __webpack_share_scopes__: Record<string, Record<string, {
|
|
|
10
10
|
export interface NextFederationPluginExtraOptions {
|
|
11
11
|
enableImageLoaderFix?: boolean;
|
|
12
12
|
enableUrlLoaderFix?: boolean;
|
|
13
|
-
exposePages?:
|
|
13
|
+
exposePages?: boolean;
|
|
14
14
|
skipSharingNextInternals?: boolean;
|
|
15
15
|
automaticPageStitching?: boolean;
|
|
16
16
|
}
|