Skip to content

Commit 99a4fe1

Browse files
committed
chore: merge main
2 parents 85d2c8d + a9ba017 commit 99a4fe1

Some content is hidden

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

55 files changed

+1470
-1057
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Checkout
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v5
4343
with:
4444
# Assume PRs are less than 50 commits
4545
fetch-depth: 50
@@ -75,7 +75,7 @@ jobs:
7575
name: "Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}"
7676
steps:
7777
- name: Checkout
78-
uses: actions/checkout@v4
78+
uses: actions/checkout@v5
7979

8080
- name: Install pnpm
8181
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
@@ -220,7 +220,7 @@ jobs:
220220
runs-on: ubuntu-latest
221221
name: "Lint: node-22, ubuntu-latest"
222222
steps:
223-
- uses: actions/checkout@v4
223+
- uses: actions/checkout@v5
224224

225225
- name: Install pnpm
226226
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
contents: write
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818

1919
- name: Install pnpm
2020
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ jobs:
195195
}
196196
197197
- name: Checkout
198-
uses: actions/checkout@v4
198+
uses: actions/checkout@v5
199199
with:
200200
ref: refs/pull/${{ fromJSON(steps.get-pr-data.outputs.result).num }}/head
201201
fetch-depth: 0

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
if: github.repository == 'vitejs/vite'
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5
15+
- uses: actions-cool/issues-helper@50068f49b7b2b3857270ead65e2d02e4459b022c # v3
1616
with:
17-
github-token: ${{ secrets.GITHUB_TOKEN }}
18-
issue-inactive-days: "14"
19-
#issue-comment: |
17+
actions: "lock-issues"
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
#body: |
2020
# This issue has been locked since it has been closed for more than 14 days.
2121
#
2222
# If you have found a concrete bug or regression related to it, please open a new [bug report](https://github.com/vitejs/vite/issues/new/choose) with a reproduction against the latest Vite version. If you have any other comments you should join the chat at [Vite Land](https://chat.vite.dev) or create a new [discussion](https://github.com/vitejs/vite/discussions).
23-
issue-lock-reason: ""
24-
process-only: "issues"
23+
issue-state: closed
24+
inactive-day: 14

.github/workflows/preview-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2727

2828
- name: Install pnpm
2929
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
environment: Release
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222

2323
- name: Install pnpm
2424
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

.github/workflows/release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
permissions:
1717
contents: write # for yyx990803/release-tag to create a release tag
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020

2121
- name: Get pkgName for tag
2222
id: tag

.github/workflows/semantic-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
pull-requests: read
1717
steps:
1818
- name: Validate PR title
19-
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5
19+
uses: amannn/action-semantic-pull-request@fdd4d3ddf614fbcd8c29e4b106d3bbe0cb2c605d # v6
2020
with:
2121
subjectPattern: ^(?![A-Z]).+$
2222
subjectPatternError: |

docs/guide/backend-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If you need a custom integration, you can follow the steps in this guide to conf
6262
</script>
6363
```
6464

65-
3. For production: after running `vite build`, a `.vite/manifest.json` file will be generated alongside other asset files. An example manifest file looks like this:
65+
3. For production, after running `vite build`, a `.vite/manifest.json` file will be generated alongside other asset files. An example manifest file looks like this:
6666

6767
```json [.vite/manifest.json]
6868
{

docs/guide/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ window.addEventListener('vite:preloadError', (event) => {
7878
})
7979
```
8080

81-
When a new deployment occurs, the hosting service may delete the assets from previous deployments. As a result, a user who visited your site before the new deployment might encounter an import error. This error happens because the assets running on that user's device are outdated and it tries to import the corresponding old chunk, which is deleted. This event is useful for addressing this situation.
81+
When a new deployment occurs, the hosting service may delete the assets from previous deployments. As a result, a user who visited your site before the new deployment might encounter an import error. This error happens because the assets running on that user's device are outdated and it tries to import the corresponding old chunk, which is deleted. This event is useful for addressing this situation. In this case, make sure to set `Cache-Control: no-cache` on the HTML file, otherwise the old assets will be still referenced.
8282

8383
## Rebuild on Files Changes
8484

0 commit comments

Comments
 (0)