Skip to content

Commit

Permalink
Merge branch 'main' into feat/node-runtime-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptedAlchemy committed Apr 24, 2024
2 parents 0a0f168 + 2646ef1 commit 0de55cd
Show file tree
Hide file tree
Showing 54 changed files with 276 additions and 280 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-cycles-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'website-new': patch
---

remove cn from url and let redirect handle
5 changes: 0 additions & 5 deletions .changeset/dry-buses-burn.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/mean-months-sparkle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/purple-apples-battle.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/rich-peaches-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'website-new': patch
---

fix imports for node plugin in docs
5 changes: 0 additions & 5 deletions .changeset/spotty-adults-report.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-grapes-tap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-shirts-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-parents-guess.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:

- name: E2E Test for Next.js Dev
run: |
pnpm run app:next:dev > /dev/null 2>&1 &
pnpm run app:next:dev &
sleep 1 &&
npx wait-on tcp:3001 &&
npx wait-on tcp:3002 &&
npx wait-on tcp:3000 &&
npx nx run-many --target=test:e2e --projects=3000-home,3001-shop,3002-checkout --parallel=3 &&
npx nx run-many --target=test:e2e --projects=3000-home,3001-shop,3002-checkout --parallel=2 &&
lsof -ti tcp:3000,3001,3002 | xargs kill
- name: E2E Test for Next.js Prod
Expand Down
4 changes: 2 additions & 2 deletions apps/3000-home/cypress/e2e/app.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('3000-home/', () => {
});

describe('Image checks', () => {
it('should check that the home-webpack-png and shop-webpack-png images are not 404', () => {
xit('should check that the home-webpack-png and shop-webpack-png images are not 404', () => {
// Get the src attribute of the home-webpack-png image
cy.debug()
.get('img.home-webpack-png')
Expand Down Expand Up @@ -109,7 +109,7 @@ describe('3000-home/', () => {
});

describe('Image checks', () => {
it('should check that shop-webpack-png images are not 404', () => {
xit('should check that shop-webpack-png images are not 404', () => {
// Get the src attribute of the shop-webpack-png image
cy.get('img.shop-webpack-png')
.invoke('attr', 'src')
Expand Down
2 changes: 1 addition & 1 deletion apps/3001-shop/cypress/e2e/app.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('3001-shop/', () => {
});

describe('Image checks', () => {
it('should check that shop-webpack-png images are not 404', () => {
xit('should check that shop-webpack-png images are not 404', () => {
// Get the src attribute of the shop-webpack-png image
cy.get('img.shop-webpack-png')
.invoke('attr', 'src')
Expand Down
2 changes: 1 addition & 1 deletion apps/3002-checkout/cypress/e2e/app.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('3002-checkout/', () => {
});

describe('Image checks', () => {
it('should check that shop-webpack-png images are not 404', () => {
xit('should check that shop-webpack-png images are not 404', () => {
// Get the src attribute of the shop-webpack-png image
cy.get('img.shop-webpack-png')
.invoke('attr', 'src')
Expand Down
7 changes: 7 additions & 0 deletions apps/modernjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @module-federation/modernjs

## 0.1.14

### Patch Changes

- Updated dependencies [fcbae83]
- @module-federation/enhanced@0.1.9

## 0.1.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/modernjs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@module-federation/modernjs",
"private": true,
"version": "0.1.13",
"version": "0.1.14",
"scripts": {
"reset": "npx rimraf ./**/node_modules",
"dev": "modern dev",
Expand Down
6 changes: 6 additions & 0 deletions apps/website-new/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# website-new

## 1.0.2

### Patch Changes

- f3b764a: Node Runtime Plugin

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/website-new/docs/en/guide/basic/chrome-devtool.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Development and production environments:

## How to Install

1. Open the [Module Federation plugin detail page](https://chromewebstore.google.com/detail/module-federation/aeoilchhomapofiopejjlecddfldpeom?hl=zh-CN&utm_source=ext_sidebar), and click the `Add to Chrome` button.
1. Open the [Module Federation plugin detail page](https://chromewebstore.google.com/detail/module-federation/aeoilchhomapofiopejjlecddfldpeom), and click the `Add to Chrome` button.

![](@public/guide/chrome-devtools/chrome-store-add-devtool.png)

Expand Down
4 changes: 2 additions & 2 deletions apps/website-new/docs/en/plugin/plugins/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The runtime plugin can be applied at compile-time or runtime
<Tabs>
<Tab label="Rspack">
```typescript title="rspack.config.js"
const {ModuleFederationPlugin} = require('@module-federation/enhanced/webpack');
const {ModuleFederationPlugin} = require('@module-federation/enhanced/rspack');

new ModuleFederationPlugin({
// other options
Expand All @@ -37,7 +37,7 @@ The runtime plugin can be applied at compile-time or runtime
</Tab>
<Tab label="Webpack">
```typescript title="webpack.config.js"
const {ModuleFederationPlugin} = require('@module-federation/enhanced/rspack');
const {ModuleFederationPlugin} = require('@module-federation/enhanced/webpack');

new ModuleFederationPlugin({
// other options
Expand Down
2 changes: 1 addition & 1 deletion apps/website-new/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "website-new",
"version": "1.0.1",
"version": "1.0.2",
"private": true,
"scripts": {
"dev": "rspress dev",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@builder.io/qwik": "1.3.1",
"@builder.io/qwik-city": "1.3.2",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^17.7.2",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "17.8.1",
"@commitlint/config-nx-scopes": "^17.6.4",
"@commitlint/cz-commitlint": "^17.7.2",
Expand Down
6 changes: 6 additions & 0 deletions packages/chrome-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @module-federation/devtools

## 0.0.25

### Patch Changes

- @module-federation/sdk@0.1.9

## 0.0.24

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/chrome-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/devtools",
"version": "0.0.24",
"version": "0.0.25",
"private": true,
"scripts": {
"reset": "npx rimraf ./**/node_modules",
Expand Down
8 changes: 8 additions & 0 deletions packages/dts-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @module-federation/dts-plugin

## 0.1.9

### Patch Changes

- @module-federation/sdk@0.1.9
- @module-federation/managers@0.1.9
- @module-federation/third-party-dts-extractor@0.1.9

## 0.1.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dts-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/dts-plugin",
"version": "0.1.8",
"version": "0.1.9",
"author": "hanric <hanric.zhang@gmail.com>",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
13 changes: 13 additions & 0 deletions packages/enhanced/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# [0.2.0-canary.5](https://github.com/module-federation/universe/compare/enhanced-0.2.0-canary.4...enhanced-0.2.0-canary.5) (2023-11-20)

## 0.1.9

### Patch Changes

- fcbae83: patch chunk split of "\_partial" container chunks
- Updated dependencies [fcbae83]
- @module-federation/rspack@0.1.9
- @module-federation/runtime-tools@0.1.9
- @module-federation/sdk@0.1.9
- @module-federation/managers@0.1.9
- @module-federation/manifest@0.1.9
- @module-federation/dts-plugin@0.1.9

## 0.1.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/enhanced/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/enhanced",
"version": "0.1.8",
"version": "0.1.9",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"files": [
Expand Down
6 changes: 6 additions & 0 deletions packages/managers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @module-federation/managers

## 0.1.9

### Patch Changes

- @module-federation/sdk@0.1.9

## 0.1.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/managers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/managers",
"version": "0.1.8",
"version": "0.1.9",
"license": "MIT",
"description": "Provide managers for helping handle mf data .",
"keywords": [
Expand Down
8 changes: 8 additions & 0 deletions packages/manifest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @module-federation/manifest

## 0.1.9

### Patch Changes

- @module-federation/sdk@0.1.9
- @module-federation/managers@0.1.9
- @module-federation/dts-plugin@0.1.9

## 0.1.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/manifest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/manifest",
"version": "0.1.8",
"version": "0.1.9",
"license": "MIT",
"description": "Provide manifest/stats for webpack/rspack MF project .",
"keywords": [
Expand Down
6 changes: 6 additions & 0 deletions packages/native-federation-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# [1.0.0-canary.1](https://github.com/module-federation/universe/compare/native-federation-tests-0.2.1...native-federation-tests-1.0.0-canary.1) (2023-11-06)

## 0.4.2

### Patch Changes

- 671f64b: download retrieves count per file

## 0.4.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/native-federation-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/native-federation-tests",
"version": "0.4.1",
"version": "0.4.2",
"description": "Bundler agnostic unplugin to share federated tests",
"publishConfig": {
"access": "public"
Expand Down
7 changes: 7 additions & 0 deletions packages/native-federation-typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# [1.0.0-canary.1](https://github.com/module-federation/universe/compare/native-federation-typescript-0.2.6...native-federation-typescript-1.0.0-canary.1) (2023-11-06)

## 0.4.2

### Patch Changes

- 671f64b: download retrieves count per file
- bc5c2e0: chore: using piscina, which wraps worker threads, can help us achieving the same result with a more concise code.

## 0.4.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/native-federation-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/native-federation-typescript",
"version": "0.4.1",
"version": "0.4.2",
"description": "Bundler agnostic unplugin to share federated types",
"keywords": [
"module federation",
Expand Down
13 changes: 13 additions & 0 deletions packages/nextjs-mf/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# [8.1.0-canary.7](https://github.com/module-federation/universe/compare/nextjs-mf-8.1.0-canary.6...nextjs-mf-8.1.0-canary.7) (2023-11-21)

## 8.3.10

### Patch Changes

- Updated dependencies [f3b764a]
- Updated dependencies [fcbae83]
- Updated dependencies [5ef0150]
- @module-federation/node@2.2.0
- @module-federation/enhanced@0.1.9
- @module-federation/runtime@0.1.9
- @module-federation/sdk@0.1.9
- @module-federation/utilities@3.0.14

## 8.3.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs-mf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/nextjs-mf",
"version": "8.3.9",
"version": "8.3.10",
"license": "MIT",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
15 changes: 15 additions & 0 deletions packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# [2.1.0-canary.6](https://github.com/module-federation/universe/compare/node-2.1.0-canary.5...node-2.1.0-canary.6) (2023-11-21)

## 2.2.0

### Minor Changes

- f3b764a: Node Runtime Plugin implementation and options

### Patch Changes

- Updated dependencies [fcbae83]
- Updated dependencies [5ef0150]
- @module-federation/enhanced@0.1.9
- @module-federation/runtime@0.1.9
- @module-federation/sdk@0.1.9
- @module-federation/utilities@3.0.14

## 2.1.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"public": true,
"name": "@module-federation/node",
"version": "2.1.8",
"version": "2.2.0",
"type": "commonjs",
"main": "./dist/src/index.js",
"exports": {
Expand Down
Loading

0 comments on commit 0de55cd

Please sign in to comment.