Skip to content

Commit db90c4c

Browse files
committed
merge main
2 parents 0060198 + d38504d commit db90c4c

File tree

883 files changed

+21838
-17433
lines changed

Some content is hidden

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

883 files changed

+21838
-17433
lines changed

.changeset/large-humans-report.md

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

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212

1313
jobs:
1414
Tests:
15+
permissions: {}
1516
runs-on: ${{ matrix.os }}
1617
timeout-minutes: 15
1718
strategy:
@@ -41,6 +42,7 @@ jobs:
4142
env:
4243
CI: true
4344
Lint:
45+
permissions: {}
4446
runs-on: ubuntu-latest
4547
timeout-minutes: 5
4648
steps:
@@ -59,8 +61,9 @@ jobs:
5961
run: pnpm lint
6062
- name: build and check generated types
6163
if: (${{ success() }} || ${{ failure() }}) # ensures this step runs even if previous steps fail
62-
run: pnpm build && { [ "`git status --porcelain=v1`" == "" ] || (echo "Generated types have changed — please regenerate types locally and commit the changes after you have reviewed them"; git diff; exit 1); }
64+
run: pnpm build && { [ "`git status --porcelain=v1`" == "" ] || (echo "Generated types have changed — please regenerate types locally with `cd packages/svelte && pnpm generate:types` and commit the changes after you have reviewed them"; git diff; exit 1); }
6365
Benchmarks:
66+
permissions: {}
6467
runs-on: ubuntu-latest
6568
timeout-minutes: 15
6669
steps:

.github/workflows/docs-preview-create-request.yml

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

.github/workflows/docs-preview-delete-request.yml

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: github.repository == 'sveltejs/svelte' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/ecosystem-ci run')
1111
steps:
12+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
1213
- uses: actions/github-script@v6
1314
with:
1415
script: |

.github/workflows/pkg.pr.new-comment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ on:
66
types:
77
- completed
88

9+
permissions:
10+
pull-requests: write
11+
912
jobs:
1013
build:
1114
name: 'Update comment'
1215
runs-on: ubuntu-latest
1316
steps:
17+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
1418
- name: Download artifact
1519
uses: actions/download-artifact@v4
1620
with:

.github/workflows/pkg.pr.new.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on: [push, pull_request]
33

44
jobs:
55
build:
6+
permissions: {}
7+
68
runs-on: ubuntu-latest
79

810
steps:
@@ -12,7 +14,7 @@ jobs:
1214
- run: corepack enable
1315
- uses: actions/setup-node@v4
1416
with:
15-
node-version: 18.x
17+
node-version: 22.x
1618
cache: pnpm
1719

1820
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
name: Release
1818
runs-on: ubuntu-latest
1919
steps:
20+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
2021
- name: Checkout Repo
2122
uses: actions/checkout@v4
2223
with:
@@ -33,7 +34,7 @@ jobs:
3334
run: pnpm install --frozen-lockfile
3435

3536
- name: Build
36-
run: pnpm build && { [ "`git status --porcelain=v1`" == "" ] || (echo "Generated types have changed — please regenerate types locally and commit the changes after you have reviewed them"; git diff; exit 1); }
37+
run: pnpm build && { [ "`git status --porcelain=v1`" == "" ] || (echo "Generated types have changed — please regenerate types locally with `cd packages/svelte && pnpm generate:types` and commit the changes after you have reviewed them"; git diff; exit 1); }
3738

3839
- name: Create Release Pull Request or Publish to npm
3940
id: changesets

.github/workflows/sync-request.yml

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

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ We use [GitHub issues](https://github.com/sveltejs/svelte/issues) for our public
5151

5252
If you have questions about using Svelte, contact us on Discord at [svelte.dev/chat](https://svelte.dev/chat), and we will do our best to answer your questions.
5353

54-
If you see anything you'd like to be implemented, create a [feature request issue](https://github.com/sveltejs/svelte/issues/new?template=feature_request.yml)
54+
If you see anything you'd like to be implemented, create a [feature request issue](https://github.com/sveltejs/svelte/issues/new?template=feature_request.yml).
5555

5656
### Reporting new issues
5757

@@ -62,8 +62,6 @@ When [opening a new issue](https://github.com/sveltejs/svelte/issues/new/choose)
6262

6363
## Pull requests
6464

65-
> HEADS UP: Svelte 5 will likely change a lot on the compiler. For that reason, please don't open PRs that are large in scope, touch more than a couple of files etc. In other words, bug fixes are fine, but big feature PRs will likely not be merged.
66-
6765
### Proposing a change
6866

6967
If you would like to request a new feature or enhancement but are not yet thinking about opening a pull request, you can also file an issue with [feature template](https://github.com/sveltejs/svelte/issues/new?template=feature_request.yml).

0 commit comments

Comments
 (0)