Skip to content

Commit d57c4c8

Browse files
authored
Merge branch 'main' into fix-slots-level
2 parents ea2e2a4 + 604c42d commit d57c4c8

File tree

373 files changed

+7228
-5056
lines changed

Some content is hidden

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

373 files changed

+7228
-5056
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github: yyx990803
1+
github: [yyx990803, sxzz]
22
open_collective: vuejs

.github/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Tests that test against source code are grouped under `nr test-unit`, while test
236236

237237
### `nr test-dts`
238238

239-
Runs `nr build-dts` first, then verify the type tests in `packages/dts-test` are working correctly against the actual built type declarations.
239+
Runs `nr build-dts` first, then verify the type tests in `packages-private/dts-test` are working correctly against the actual built type declarations.
240240

241241
## Project Structure
242242

@@ -335,7 +335,7 @@ Test coverage is continuously deployed at https://coverage.vuejs.org. PRs that i
335335

336336
### Testing Type Definition Correctness
337337

338-
Type tests are located in the `packages/dts-test` directory. To run the dts tests, run `nr test-dts`. Note that the type test requires all relevant `*.d.ts` files to be built first (and the script does it for you). Once the `d.ts` files are built and up-to-date, the tests can be re-run by running `nr test-dts-only`.
338+
Type tests are located in the `packages-private/dts-test` directory. To run the dts tests, run `nr test-dts`. Note that the type test requires all relevant `*.d.ts` files to be built first (and the script does it for you). Once the `d.ts` files are built and up-to-date, the tests can be re-run by running `nr test-dts-only`.
339339

340340
## Financial Contribution
341341

.github/renovate.json5

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
{
1818
groupName: 'playground',
1919
matchFileNames: [
20-
'packages/sfc-playground/package.json',
21-
'packages/template-explorer/package.json',
20+
'packages-private/sfc-playground/package.json',
21+
'packages-private/template-explorer/package.json',
2222
],
2323
},
2424
{
@@ -54,5 +54,13 @@
5454
// pinned
5555
// https://github.com/vuejs/core/commit/a012e39b373f1b6918e5c89856e8f902e1bfa14d
5656
'@rollup/plugin-replace',
57+
58+
// pinned
59+
// only used in example for e2e tests
60+
'marked',
61+
62+
// pinned, 5.0+ has exports issues
63+
// https://github.com/vuejs/core/issues/11603
64+
'entities',
5765
],
5866
}

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
branches:
55
- '**'
6+
tags:
7+
- '!**'
68
pull_request:
79
branches:
810
- main
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Auto close issues with "can't reproduce" label
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
permissions:
8+
issues: write
9+
10+
jobs:
11+
close-issues:
12+
if: github.repository == 'vuejs/core-vapor'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: can't reproduce
16+
uses: actions-cool/issues-helper@v3
17+
with:
18+
actions: 'close-issues'
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
labels: "can't reproduce"
21+
inactive-day: 3

.github/workflows/ecosystem-ci-trigger.yml

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

.github/workflows/lock-closed-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
action:
12-
if: github.repository == 'vuejs/core'
12+
if: github.repository == 'vuejs/core-vapor'
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: dessant/lock-threads@v5

.github/workflows/release.yml

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

.github/workflows/size-data.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818

1919
jobs:
2020
upload:
21+
if: github.repository == 'vuejs/core-vapor'
2122
runs-on: ubuntu-latest
2223

2324
steps:
@@ -48,22 +49,14 @@ jobs:
4849
path: temp/size-prev
4950
if_no_artifact_found: warn
5051

51-
- name: Upload Size Data
52-
uses: actions/upload-artifact@v4
53-
with:
54-
name: size-data
55-
path: temp/size
56-
5752
- name: Save PR number & base branch
5853
if: ${{github.event_name == 'pull_request'}}
5954
run: |
60-
echo ${{ github.event.number }} > ./number.txt
61-
echo ${{ github.base_ref }} > ./base.txt
55+
echo ${{ github.event.number }} > ./temp/size/number.txt
56+
echo ${{ github.base_ref }} > ./temp/size/base.txt
6257
63-
- uses: actions/upload-artifact@v4
64-
if: ${{github.event_name == 'pull_request'}}
58+
- name: Upload Size Data
59+
uses: actions/upload-artifact@v4
6560
with:
66-
name: pr-info
67-
path: |
68-
number.txt
69-
base.txt
61+
name: size-data
62+
path: temp/size

.github/workflows/size-report.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
size-report:
1919
runs-on: ubuntu-latest
2020
if: >
21+
github.repository == 'vuejs/core-vapor' &&
2122
github.event.workflow_run.event == 'pull_request' &&
2223
github.event.workflow_run.conclusion == 'success'
2324
steps:
@@ -35,31 +36,24 @@ jobs:
3536
- name: Install dependencies
3637
run: pnpm install
3738

38-
- name: Download PR info
39+
- name: Download Size Data
3940
uses: dawidd6/action-download-artifact@v6
4041
with:
41-
name: pr-info
42+
name: size-data
4243
run_id: ${{ github.event.workflow_run.id }}
43-
path: /tmp/pr-info
44+
path: temp/size
4445

4546
- name: Read PR Number
4647
id: pr-number
4748
uses: juliangruber/read-file-action@v1
4849
with:
49-
path: /tmp/pr-info/number.txt
50+
path: temp/size/number.txt
5051

51-
- name: Read PR base branch
52+
- name: Read base branch
5253
id: pr-base
5354
uses: juliangruber/read-file-action@v1
5455
with:
55-
path: /tmp/pr-info/base.txt
56-
57-
- name: Download Size Data
58-
uses: dawidd6/action-download-artifact@v6
59-
with:
60-
name: size-data
61-
run_id: ${{ github.event.workflow_run.id }}
62-
path: temp/size
56+
path: temp/size/base.txt
6357

6458
- name: Download Previous Size Data
6559
uses: dawidd6/action-download-artifact@v6
@@ -72,7 +66,7 @@ jobs:
7266
if_no_artifact_found: warn
7367

7468
- name: Prepare report
75-
run: pnpm tsx scripts/size-report.ts > size-report.md
69+
run: node scripts/size-report.js > size-report.md
7670

7771
- name: Read Size Report
7872
id: size-report

.github/workflows/test.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,19 @@ jobs:
5454
- name: Run type declaration tests
5555
run: pnpm run test-dts
5656

57-
release:
57+
continuous-release:
58+
if: github.repository == 'vuejs/core-vapor'
5859
runs-on: ubuntu-latest
5960
needs: [unit-test, lint-and-test-dts]
6061
permissions:
6162
contents: read
6263
id-token: write
6364
steps:
64-
- uses: actions/checkout@v4
65+
- name: Checkout
66+
uses: actions/checkout@v4
6567

6668
- name: Install pnpm
67-
uses: pnpm/action-setup@v4.0.0
69+
uses: pnpm/action-setup@v4
6870

6971
- name: Install Node.js
7072
uses: actions/setup-node@v4
@@ -73,10 +75,11 @@ jobs:
7375
registry-url: 'https://registry.npmjs.org'
7476
cache: 'pnpm'
7577

76-
- run: pnpm install
78+
- name: Install deps
79+
run: pnpm install
7780

7881
- name: Build
7982
run: pnpm build --withTypes
8083

81-
- name: Publish
82-
run: pnpm dlx pkg-pr-new@0.0 publish './packages/*' --template './playground' --pnpm
84+
- name: Release
85+
run: pnpx pkg-pr-new publish --pnpm './packages/*' --template './playground'

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["vitest.explorer"]
3+
}

0 commit comments

Comments
 (0)