Skip to content

Commit cb2a660

Browse files
fix(deps): pin dependencies, bump synckit (#558)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: JounQin <[email protected]>
1 parent 1155241 commit cb2a660

22 files changed

+2653
-2540
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"eslint-mdx": patch
3+
"eslint-plugin-mdx": patch
4+
---
5+
6+
fix(deps): pin dependencies, bump `synckit`

.env.yarn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SYNCKIT_TIMEOUT: 10000
2+
SYNCKIT_TS_RUNNER=oxc

.github/workflows/autofix.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: autofix.ci # For security reasons, the workflow in which the autofix.ci action is used must be named "autofix.ci".
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
autofix:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout Repo
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
20+
21+
- name: Setup Node.js LTS
22+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
23+
with:
24+
node-version: lts/*
25+
cache: yarn
26+
27+
- name: Install dependencies
28+
run: yarn --immutable
29+
30+
- name: Format Codes
31+
run: yarn format
32+
33+
- name: Apply autofix.ci
34+
uses: autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 # v1
35+
with:
36+
fail-fast: false

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,33 @@ jobs:
1818
- ubuntu-latest
1919
- windows-latest
2020
node:
21+
- 18
2122
- 20
2223
- 22
23-
- 22
24+
- 23
2425
eslint:
2526
- 8
2627
- 9
2728
fail-fast: false
2829
runs-on: ${{ matrix.os }}
2930
steps:
3031
- name: Checkout Repo
31-
uses: actions/checkout@v4
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3233

3334
- name: Setup Node.js ${{ matrix.node }}
34-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
3536
with:
3637
node-version: ${{ matrix.node }}
3738
cache: yarn
3839

3940
- name: Install Dependencies
4041
run: yarn --immutable
4142

42-
- name: Install ESLint 8
43-
if: ${{ matrix.eslint == 8 }}
43+
- name: Install ESLint ${{ matrix.eslint }}
44+
if: ${{ matrix.eslint < 9 }}
4445
run: |
4546
yarn add -D eslint@${{ matrix.eslint }} @types/eslint@9
46-
yarn set resolution eslint-plugin-unicorn@npm:^57.0.0 npm:^56
47+
yarn set resolution eslint-plugin-unicorn@npm:^58.0.0 npm:^56
4748
4849
- name: Build, Lint and Test
4950
run: |
@@ -54,6 +55,6 @@ jobs:
5455
PARSER_NO_WATCH: true
5556

5657
- name: Codecov
57-
uses: codecov/codecov-action@v5
58+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5
5859
with:
5960
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727

2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3131

3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@v3
33+
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
3434
with:
3535
languages: ${{ matrix.language }}
3636
queries: +security-and-quality
3737

3838
- name: Autobuild
39-
uses: github/codeql-action/autobuild@v3
39+
uses: github/codeql-action/autobuild@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
4040

4141
- name: Perform CodeQL Analysis
42-
uses: github/codeql-action/analyze@v3
42+
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
4343
with:
4444
category: '/language:${{ matrix.language }}'

.github/workflows/pkg-size.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2020

2121
- name: Setup Node.js LTS
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
2323
with:
2424
node-version: lts/*
2525
cache: yarn
@@ -28,6 +28,6 @@ jobs:
2828
SKIP_YARN_COREPACK_CHECK: 1
2929

3030
- name: Package Size Report
31-
uses: pkg-size/action@v1
31+
uses: pkg-size/action@a637fb0897b6f14f18e776d8c3dbccb34a1ad27b # v1
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,24 @@ concurrency:
99
group: ${{ github.workflow }}-${{ github.ref }}
1010
cancel-in-progress: true
1111

12+
permissions:
13+
contents: write
14+
id-token: write
15+
pull-requests: write
16+
1217
jobs:
1318
release:
1419
name: Release
1520
runs-on: ubuntu-latest
1621
steps:
1722
- name: Checkout Repo
18-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1924
with:
2025
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2126
fetch-depth: 0
2227

2328
- name: Setup Node.js LTS
24-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
2530
with:
2631
node-version: lts/*
2732
cache: yarn
@@ -43,4 +48,5 @@ jobs:
4348
publish: yarn release:only
4449
env:
4550
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
NPM_CONFIG_PROVENANCE: true
4652
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.yarn/releases/yarn-4.7.0.cjs renamed to .yarn/releases/yarn-4.8.1.cjs

Lines changed: 331 additions & 331 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ plugins:
77
path: .yarn/plugins/plugin-prepare-lifecycle.cjs
88
spec: 'https://github.com/un-es/yarn-plugin-prepare-lifecycle/releases/download/v0.0.1/index.js'
99

10-
yarnPath: .yarn/releases/yarn-4.7.0.cjs
10+
yarnPath: .yarn/releases/yarn-4.8.1.cjs

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,21 +235,21 @@ If you're using [remark-lint][] feature with [Prettier][] both together, you can
235235
}
236236
```
237237

238+
[![Sponsors](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)
239+
238240
## Sponsors
239241

240-
| 1stG | RxTS | UnTS |
241-
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
242-
| [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/organizations.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/organizations.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/organizations.svg)](https://opencollective.com/unts) |
242+
| 1stG | RxTS | UnTS |
243+
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
244+
| [![1stG Open Collective sponsors](https://opencollective.com/1stG/organizations.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective sponsors](https://opencollective.com/rxts/organizations.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective sponsors](https://opencollective.com/unts/organizations.svg)](https://opencollective.com/unts) |
243245

244246
[![unified Open Collective backers and sponsors](https://opencollective.com/unified/organizations.svg)](https://opencollective.com/unified)
245247

246248
## Backers
247249

248-
[![Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)
249-
250-
| 1stG | RxTS | UnTS |
251-
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
252-
| [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |
250+
| 1stG | RxTS | UnTS |
251+
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
252+
| [![1stG Open Collective backers](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |
253253

254254
[![unified Open Collective backers and sponsors](https://opencollective.com/unified/individuals.svg)](https://opencollective.com/unified)
255255

0 commit comments

Comments
 (0)