@module-federation/utilities 0.3.3 → 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 CHANGED
@@ -2,6 +2,15 @@
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
+
5
14
  ## [0.3.3](https://github.com/module-federation/nextjs-mf/compare/utils-0.3.2...utils-0.3.3) (2022-10-13)
6
15
 
7
16
 
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",
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",