-
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.
- Loading branch information
1 parent
6cf4d89
commit 0f4d872
Showing
35 changed files
with
156 additions
and
165 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
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 |
---|---|---|
|
@@ -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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,7 @@ | |
/coverage | ||
.cache | ||
examples | ||
|
||
.changeset/* | ||
pnpm-lock.yaml | ||
packages/sandbox/src/core/sandbox/globals.ts |
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,14 +1,15 @@ | ||
{ | ||
"editorconfig": true, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"proseWrap": "never", | ||
"overrides": [ | ||
{ | ||
"files": ["*.json", ".prettierrc"], | ||
"options": { | ||
"parser": "json" | ||
} | ||
"options": { "parser": "json" } | ||
}, | ||
{ | ||
"files": ["*.{yaml,yml}"], | ||
"options": { "singleQuote": false } | ||
} | ||
] | ||
} |
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
31 changes: 15 additions & 16 deletions
31
packages/loader/benchmarks/parser/huge-html/import-html-entry.html
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,19 +1,18 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>import html entry for huge html</title> | ||
</head> | ||
<body> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>import html entry for huge html</title> | ||
</head> | ||
<body> | ||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import processTpl from 'import-html-entry/esm/process-tpl.js'; | ||
import { hugeHtmlContent } from './huge-html.js'; | ||
|
||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import processTpl from 'import-html-entry/esm/process-tpl.js'; | ||
import { hugeHtmlContent } from './huge-html.js'; | ||
|
||
bench.start(); | ||
processTpl(hugeHtmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
bench.start(); | ||
processTpl(hugeHtmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
</html> |
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,19 +1,18 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>parser for huge html</title> | ||
</head> | ||
<body> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>parser for huge html</title> | ||
</head> | ||
<body> | ||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import { parseHTML } from '../../../es/parser.js'; | ||
import { hugeHtmlContent } from './huge-html.js'; | ||
|
||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import { parseHTML } from '../../../es/parser.js'; | ||
import { hugeHtmlContent } from './huge-html.js'; | ||
|
||
bench.start(); | ||
parseHTML(hugeHtmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
bench.start(); | ||
parseHTML(hugeHtmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
</html> |
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,19 +1,18 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>import html entry for normal html</title> | ||
</head> | ||
<body> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>import html entry for normal html</title> | ||
</head> | ||
<body> | ||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import processTpl from 'import-html-entry/esm/process-tpl.js'; | ||
import { htmlContent } from './html.js'; | ||
|
||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import processTpl from 'import-html-entry/esm/process-tpl.js'; | ||
import { htmlContent } from './html.js'; | ||
|
||
bench.start(); | ||
processTpl(htmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
bench.start(); | ||
processTpl(htmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
</html> |
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,19 +1,19 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>parser for normal html</title> | ||
</head> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>parser for normal html</title> | ||
</head> | ||
|
||
<body> | ||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import { parseHTML } from '../../es/parser.js'; | ||
import { htmlContent } from './html.js'; | ||
<body> | ||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import { parseHTML } from '../../es/parser.js'; | ||
import { htmlContent } from './html.js'; | ||
|
||
bench.start(); | ||
parseHTML(htmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
bench.start(); | ||
parseHTML(htmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
</html> |
31 changes: 15 additions & 16 deletions
31
packages/loader/benchmarks/parser/tern/import-html-entry.html
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,19 +1,18 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>import html entry for normal html</title> | ||
</head> | ||
<body> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>import html entry for normal html</title> | ||
</head> | ||
<body> | ||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import processTpl from 'import-html-entry/esm/process-tpl.js'; | ||
import { htmlContent } from './html.js'; | ||
|
||
<script type="module"> | ||
import * as bench from '/bench.js'; | ||
import processTpl from 'import-html-entry/esm/process-tpl.js'; | ||
import { htmlContent } from './html.js'; | ||
|
||
bench.start(); | ||
processTpl(htmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
bench.start(); | ||
processTpl(htmlContent, location.href); | ||
bench.stop(); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.