-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into feat/webpack_plugin
- Loading branch information
Showing
101 changed files
with
6,405 additions
and
5,615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@qiankunjs/shared": patch | ||
--- | ||
|
||
🐛fix findDependency logic while peerDeps is undefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@qiankunjs/shared": patch | ||
--- | ||
|
||
🐛fix preload is invalid while reused dependency is working |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@qiankunjs/sandbox": patch | ||
--- | ||
|
||
🔀 merge master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@qiankunjs/sandbox": patch | ||
--- | ||
|
||
feat: set proxy appendChild/insertBefore method for every sandbox rather than modify prototype on HTMLElement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@qiankunjs/sandbox": patch | ||
--- | ||
|
||
🐛parallel sandbox should use different compartment id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@qiankunjs/loader": patch | ||
"qiankun": patch | ||
--- | ||
|
||
feat: add transformer options for app loader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@qiankunjs/sandbox": patch | ||
"@qiankunjs/react": patch | ||
--- | ||
|
||
feat: not rebind non-native global properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@qiankunjs/loader": patch | ||
"qiankun": patch | ||
"@qiankunjs/sandbox": patch | ||
"@qiankunjs/shared": patch | ||
--- | ||
|
||
🐛 compatible with webpack chunk cache logic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"qiankun": patch | ||
--- | ||
|
||
✨ set data-name on micro app container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import { defineConfig } from 'dumi'; | ||
|
||
export default defineConfig({ | ||
publicPath: process.env.NOW_DEPLOY ? '/' : '/qiankun/', | ||
base: process.env.NOW_DEPLOY ? '/' : '/qiankun', | ||
resolve: { | ||
docDirs: ['docs'], | ||
codeBlockMode: 'passive', | ||
}, | ||
locales: [ | ||
{ id: 'en-US', name: 'English' }, | ||
{ id: 'zh-CN', name: '中文' }, | ||
], | ||
themeConfig: { | ||
name: 'qiankun', | ||
logo: 'https://gw.alipayobjects.com/zos/bmw-prod/8a74c1d3-16f3-4719-be63-15e467a68a24/km0cv8vn_w500_h500.png', | ||
nav: { | ||
mode: 'append', | ||
value: { | ||
'zh-CN': [ | ||
{ | ||
title: '版本公告', | ||
children: [ | ||
{ title: '发布日志', link: 'https://github.com/umijs/qiankun/releases' }, | ||
{ title: '升级指南', link: '/zh/cookbook#从-1x-版本升级到-2x-版本' }, | ||
{ title: '1.x 版本', link: 'https://v1.qiankun.umijs.org/zh/' }, | ||
], | ||
}, | ||
], | ||
'en-US': [ | ||
{ | ||
title: 'Version Notice', | ||
children: [ | ||
{ title: 'Changelog', link: 'https://github.com/umijs/qiankun/releases' }, | ||
{ title: 'Upgrade Guide', link: '/cookbook#upgrade-from-1x-version-to-2x-version' }, | ||
{ title: '1.x Version', link: 'https://v1.qiankun.umijs.org/' }, | ||
], | ||
}, | ||
], | ||
}, | ||
}, | ||
socialLinks: { | ||
github: 'https://github.com/umijs/dumi', | ||
}, | ||
}, | ||
metas: [ | ||
{ | ||
name: 'keywords', | ||
content: | ||
'microfrontend, micro frontend, micro frontends, micro-frontend, micro-frontends, microservice, javascript', | ||
}, | ||
], | ||
analytics: { | ||
ga: 'UA-157295698-1', | ||
baidu: '0f738d9b0ac90574c09183ea85bcfa2e', | ||
}, | ||
favicons: ['https://gw.alipayobjects.com/mdn/rms_655822/afts/img/A*4sIUQpcos_gAAAAAAAAAAAAAARQnAQ'], | ||
theme: { | ||
'@c-primary': '#6451AB', | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
examples | ||
dist | ||
writable-dom | ||
|
||
# TODO not linting test files temporary | ||
__tests__/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,27 +14,21 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
node-version: [14.x, 16.x] | ||
node-version: [lts/*, latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: "pnpm" | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- uses: actions/cache@v2 | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn | ||
- run: yarn ci | ||
- run: yarn docs:build | ||
- run: corepack enable # https://nodejs.org/api/corepack.html | ||
- run: pnpm install | ||
- run: pnpm run ci | ||
# - run: pnpm run docs:build #执行报错,暂时关闭 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ jobs: | |
steps: | ||
- uses: actions-cool/[email protected] | ||
with: | ||
type: 'release' | ||
emoji: '+1, laugh, heart, hooray, rocket, eyes' | ||
type: "release" | ||
emoji: "+1, laugh, heart, hooray, rocket, eyes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ jobs: | |
- name: close inactive issue without reprodction | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
labels: 'Need Reproduction' | ||
actions: "close-issues" | ||
labels: "Need Reproduction" | ||
inactive-day: 30 | ||
body: | | ||
Since the issue was labeled with `Need Reproduction`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply. | ||
|
@@ -21,8 +21,8 @@ jobs: | |
- name: close inactive issue not use template | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
labels: 'pls use issue template' | ||
actions: "close-issues" | ||
labels: "pls use issue template" | ||
inactive-day: 30 | ||
body: | | ||
Since the issue was labeled with `pls use issue template`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply. | ||
|
@@ -31,8 +31,8 @@ jobs: | |
- name: close inactive issue out of scope | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
labels: 'out-of-scope' | ||
actions: "close-issues" | ||
labels: "out-of-scope" | ||
inactive-day: 30 | ||
body: | | ||
Since the issue was labeled with `out-of-scope`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply. | ||
|
@@ -41,8 +41,8 @@ jobs: | |
- name: close inactive issue | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
labels: 'inactive' | ||
actions: "close-issues" | ||
labels: "inactive" | ||
inactive-day: 7 | ||
body: | | ||
Since the issue was labeled with `inactive`, but no response in 7 days. This issue will be close. If you have any questions, you can comment and reply. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
if: github.event.label.name == 'pr welcome' || github.event.label.name == 'help wanted' | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'create-comment' | ||
actions: "create-comment" | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please be sure to fill in the default template in the Pull Request, provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution! | ||
|
@@ -23,7 +23,7 @@ jobs: | |
if: github.event.label.name == 'pls use issue template' | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'create-comment, close-issue' | ||
actions: "create-comment, close-issue" | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. To save both time, please use the issue template to report. This issue will be closed. | ||
|
@@ -34,7 +34,7 @@ jobs: | |
if: github.event.label.name == 'Need Reproduction' | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'create-comment' | ||
actions: "create-comment" | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. In order to facilitate location and troubleshooting, we need you to provide a realistic example. Please forking these link [codesandbox](https://codesandbox.io/) or clone [qiankun examples](https://github.com/umijs/qiankun/tree/master/examples) to your GitHub repository. | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.