Skip to content

Commit 5e0d7e6

Browse files
chore(core): merge origin/main into gpt-alias-resolver-refactor (theirs)
2 parents 038ebe8 + 3fd26a7 commit 5e0d7e6

File tree

98 files changed

+1720
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1720
-72
lines changed

.changeset/beige-meals-wash.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/great-pandas-knock.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/enhanced': patch
3+
---
4+
5+
fix(enhanced): Populate `buildMeta` and `buildInfo` on `ConsumeSharedPlugin` using fallbacks

.changeset/hungry-countries-sleep.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,10 @@ jobs:
7171
7272
- name: Publish latest version
7373
if: github.event.inputs.version == 'latest'
74-
env:
75-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7674
run: |
7775
pnpm -r publish --tag ${{ github.event.inputs.version }} --publish-branch ${{ github.event.inputs.branch }}
7876
7977
- name: Publish preview version
8078
if: github.event.inputs.version == 'next'
81-
env:
82-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
83-
NPM_CONFIG_PROVENANCE: 'true'
8479
run: |
8580
pnpm -r publish --tag next --no-git-checks

.vscode/launch.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@
9090
"type": "node",
9191
"request": "launch",
9292
"preLaunchTask": "pnpm-build-enhanced",
93-
"runtimeExecutable": "/Users/bytedance/.nvm/versions/node/v18.20.8/bin/node",
9493
"runtimeArgs": [
9594
"${workspaceFolder}/node_modules/jest/bin/jest.js",
9695
"test/ConfigTestCases.basictest.js",

CONTRIBUTING.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,18 +128,25 @@ feat(plugin-swc): Add `xxx` config
128128
```
129129

130130

131-
## Release
131+
## Releasing
132132

133-
Module Federation uses GitHub Actions for automated versioning and publishing:
133+
Repository maintainers can publish a new version of changed packages to npm.
134134

135-
## Release test version
135+
1. Checkout a new release branch, for example `release-v0.19.0`.
136+
2. Run `pnpm changeset version` in the package directory to update the version of each package.
137+
3. Create a pull request, the title should be `release v0.19.1`.
138+
4. Run the [release action](https://github.com/module-federation/core/actions/workflows/release.yml) to publish packages to npm.
139+
5. Select `latest` as the release version.
140+
6. Wait reviewers to approve.
141+
7. Merge the release pull request to `main`.
142+
7. Generate the [release notes](https://github.com/module-federation/core/releases) via GitHub, see [Automatically generated release notes](https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes)
136143

137-
1. Make sure your branch has added changeset files before releasing the test version
138-
2. Make sure that both "use workflow from" and "release branch" are split for the test version you want to release
139-
3. Use the "next" TAB to release the test version
140-
141-
![image](https://github.com/module-federation/core/assets/27547179/f84fd796-d1d9-42f6-8bb2-95b07c6d7749)
144+
## Release preview version
142145

146+
1. Make sure your branch has added changeset files before releasing the preview version.
147+
2. Run the [release action](https://github.com/module-federation/core/actions/workflows/release.yml) to publish packages to npm.
148+
3. Select `next` as the release version.
149+
4. Wait reviewers to approve.
143150

144151

145152
## Release the official version

apps/modernjs/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @module-federation/modernjsapp
22

3+
## 0.1.109
4+
5+
### Patch Changes
6+
7+
- @module-federation/enhanced@0.19.1
8+
9+
## 0.1.108
10+
11+
### Patch Changes
12+
13+
- @module-federation/enhanced@0.19.0
14+
315
## 0.1.107
416

517
### Patch Changes

apps/modernjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@module-federation/modernjsapp",
33
"private": true,
4-
"version": "0.1.107",
4+
"version": "0.1.109",
55
"scripts": {
66
"reset": "npx rimraf ./**/node_modules",
77
"dev": "modern dev",

apps/router-demo/router-remote5-2005/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# remote5
22

3+
## 1.1.16
4+
5+
### Patch Changes
6+
7+
- @module-federation/bridge-react@0.19.1
8+
- @module-federation/rsbuild-plugin@0.19.1
9+
10+
## 1.1.15
11+
12+
### Patch Changes
13+
14+
- @module-federation/bridge-react@0.19.0
15+
- @module-federation/rsbuild-plugin@0.19.0
16+
317
## 1.1.14
418

519
### Patch Changes

apps/router-demo/router-remote5-2005/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "remote5",
33
"private": true,
4-
"version": "1.1.14",
4+
"version": "1.1.16",
55
"scripts": {
66
"dev": "rsbuild dev",
77
"build": "rsbuild build",

0 commit comments

Comments
 (0)