Skip to content

Commit f0cc1a4

Browse files
Merge branch 'main' into docs/blog-plugin
2 parents 93f0ecc + 5dc7f12 commit f0cc1a4

191 files changed

Lines changed: 1448 additions & 254 deletions

File tree

Some content is hidden

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

.agents/PLUGINS.md

Lines changed: 26 additions & 4 deletions

.github/workflows/ci-bun.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ on:
99
tags:
1010
- '!**'
1111

12+
# Automatically cancel in-progress actions on the same branch
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
17+
permissions: {}
18+
1219
jobs:
1320
test:
1421
strategy:
@@ -19,6 +26,8 @@ jobs:
1926
- windows-latest
2027
runs-on: ${{ matrix.os }}
2128
name: ${{ matrix.os }}
29+
permissions:
30+
contents: read
2231
steps:
2332
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2433
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2

.github/workflows/ci-legacy-5.0.4.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ on:
1111
tags:
1212
- '!**'
1313

14+
# Automatically cancel in-progress actions on the same branch
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
17+
cancel-in-progress: true
18+
19+
permissions: {}
20+
1421
jobs:
1522
test:
1623
strategy:
@@ -25,6 +32,8 @@ jobs:
2532

2633
runs-on: ${{ matrix.os }}
2734
name: ${{ matrix.os }} (Node v${{ matrix.node }})
35+
permissions:
36+
contents: read
2837

2938
steps:
3039
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

.github/workflows/ci-legacy-latest.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,19 @@ on:
1111
tags:
1212
- '!**'
1313

14+
# Automatically cancel in-progress actions on the same branch
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
17+
cancel-in-progress: true
18+
19+
permissions: {}
20+
1421
jobs:
1522
test:
1623
runs-on: ubuntu-latest
1724
name: Ubuntu/Node v22
25+
permissions:
26+
contents: read
1827
steps:
1928
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2029
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,19 @@ on:
99
tags:
1010
- '!**'
1111

12+
# Automatically cancel in-progress actions on the same branch
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
17+
permissions: {}
18+
1219
jobs:
1320
test:
1421
runs-on: ubuntu-latest
1522
name: Ubuntu/Node v24
23+
permissions:
24+
contents: read
1625
steps:
1726
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
1827
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

.github/workflows/integration.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,21 @@ on:
1414
tags:
1515
- '!**'
1616

17-
permissions:
18-
issues: write
17+
# Automatically cancel in-progress actions on the same branch
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
20+
cancel-in-progress: true
21+
22+
permissions: {}
1923

2024
jobs:
2125
publish:
2226
name: Build and publish Knip
27+
if: ${{ github.repository_owner == 'webpro-nl' }}
2328
runs-on: ubuntu-latest
29+
permissions:
30+
contents: read
31+
issues: write # comment on referenced issues
2432
outputs:
2533
sha: ${{ steps.publish.outputs.sha }}
2634
steps:
@@ -64,6 +72,8 @@ jobs:
6472
name: Run Knip in ${{ matrix.project.name }}
6573
needs: publish
6674
runs-on: ubuntu-latest
75+
permissions:
76+
contents: read
6777
env:
6878
PKG_URL: https://pkg.pr.new/knip@${{ needs.publish.outputs.sha }}
6979
SNAP: ${{ github.workspace }}/.github/workflows/scripts/snap.sh
@@ -237,6 +247,8 @@ jobs:
237247
if: ${{ inputs.update_snapshots }}
238248
needs: integration
239249
runs-on: ubuntu-latest
250+
permissions:
251+
contents: read
240252
steps:
241253
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
242254
with:

.github/workflows/markdown-link-check.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,18 @@ on:
77
tags:
88
- '!**'
99

10+
# Automatically cancel in-progress actions on the same branch
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
15+
permissions: {}
16+
1017
jobs:
1118
markdown-link-check:
1219
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
1322
steps:
1423
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
1524

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Unlisted binaries (1)
2+
scripts/create-github-release.mjs: gh
13
Unused exported types (2)
24
packages/lit-query/src/createQueriesController.ts: CreateQueriesOptions
35
packages/preact-query/src/__tests__/ErrorBoundary/types.ts: ErrorBoundaryPropsWithComponent, ErrorBoundaryPropsWithRender, ErrorBoundaryPropsWithFallback

AGENTS.md

Lines changed: 3 additions & 0 deletions

knip.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"entry": ["{remark,scripts}/*.ts"]
1515
},
1616
"packages/vscode-knip": {
17-
"entry": ["src/index.js!", "scripts/*.js", "test/*.mjs"]
17+
"entry": ["src/index.js!", "scripts/*.js", "test/*.mjs"],
18+
"ignoreBinaries": ["vsce", "ovsx"]
1819
}
1920
}
2021
}

0 commit comments

Comments
 (0)