-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into bwsy/fix/vModel
- Loading branch information
Showing
201 changed files
with
2,660 additions
and
1,248 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: size data | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
upload: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
|
||
- name: Set node version to LTS | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: lts/* | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install | ||
|
||
- run: pnpm run size | ||
|
||
- name: Upload Size Data | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: size-data | ||
path: temp/size | ||
|
||
- name: Save PR number | ||
if: ${{github.event_name == 'pull_request'}} | ||
run: echo ${{ github.event.number }} > ./pr.txt | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: ${{github.event_name == 'pull_request'}} | ||
with: | ||
name: pr-number | ||
path: pr.txt |
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,81 @@ | ||
name: size report | ||
|
||
on: | ||
workflow_run: | ||
workflows: ['size data'] | ||
types: | ||
- completed | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
issues: write | ||
|
||
jobs: | ||
size-report: | ||
runs-on: ubuntu-latest | ||
if: > | ||
github.event.workflow_run.event == 'pull_request' && | ||
github.event.workflow_run.conclusion == 'success' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
|
||
- name: Set node version to LTS | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: lts/* | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install | ||
|
||
- name: Download PR number | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
name: pr-number | ||
run_id: ${{ github.event.workflow_run.id }} | ||
|
||
- name: Read PR Number | ||
id: pr-number | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./pr.txt | ||
|
||
- name: Download Size Data | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
name: size-data | ||
run_id: ${{ github.event.workflow_run.id }} | ||
path: temp/size | ||
|
||
- name: Download Previous Size Data | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
branch: main | ||
workflow: size-data.yml | ||
event: push | ||
name: size-data | ||
path: temp/size-prev | ||
if_no_artifact_found: warn | ||
|
||
- name: Compare size | ||
run: pnpm tsx scripts/size-report.ts > size-report.md | ||
|
||
- name: Read Size Report | ||
id: size-report | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./size-report.md | ||
|
||
- name: Create Comment | ||
uses: actions-cool/maintain-one-comment@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
number: ${{ steps.pr-number.outputs.content }} | ||
body: | | ||
${{ steps.size-report.outputs.content }} | ||
<!-- VUE_CORE_SIZE --> | ||
body-include: '<!-- VUE_CORE_SIZE -->' |
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
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
1 change: 0 additions & 1 deletion
1
packages/compiler-core/__tests__/transforms/transformElement.spec.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,4 +1,3 @@ | ||
import { vi } from 'vitest' | ||
import { | ||
CompilerOptions, | ||
baseParse as parse, | ||
|
1 change: 0 additions & 1 deletion
1
packages/compiler-core/__tests__/transforms/transformExpressions.spec.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,4 +1,3 @@ | ||
import { vi } from 'vitest' | ||
import { | ||
baseParse as parse, | ||
transform, | ||
|
1 change: 0 additions & 1 deletion
1
packages/compiler-core/__tests__/transforms/transformSlotOutlet.spec.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,4 +1,3 @@ | ||
import { vi } from 'vitest' | ||
import { | ||
CompilerOptions, | ||
baseParse as parse, | ||
|
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,4 +1,3 @@ | ||
import { vi } from 'vitest' | ||
import { | ||
baseParse as parse, | ||
transform, | ||
|
Oops, something went wrong.