Skip to content

Commit 32a4f14

Browse files
Merge branch 'main' into share-filter
2 parents f0ae746 + 60e4df1 commit 32a4f14

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.changeset/tidy-foxes-fix.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@module-federation/runtime-tools": patch
3+
---
4+
5+
fix: add files property to package.json to exclude build config from npm publish
6+
7+
Fixes #3873 where .swcrc file was being published to npm causing Jest test failures.
8+
Only dist/ and README.md will now be included in the published package.

apps/website-new/docs/en/practice/frameworks/next/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Support for Next.js is ending [read more](https://github.com/module-federation/c
1818
<Badge text="SSR (Pages Router)" type="info" />
1919
</span>
2020
<Badge text="App Router" type="danger" />
21-
<Badge text="Not Reccomended" type="warning" />
21+
<Badge text="Not Recommended" type="warning" />
2222
#
2323

2424
:::tip Demo Reference

packages/runtime-tools/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
"url": "https://github.com/module-federation/core/",
1313
"directory": "packages/runtime-tools"
1414
},
15+
"files": [
16+
"dist/",
17+
"README.md"
18+
],
1519
"publishConfig": {
1620
"access": "public"
1721
},

0 commit comments

Comments
 (0)