Skip to content

Commit 6697cd8

Browse files
committed
chore: housekeeping, bump all (dev) deps
1 parent 9dc6c0b commit 6697cd8

49 files changed

Lines changed: 9306 additions & 13259 deletions

Some content is hidden

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

.editorconfig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
root = true
1+
root=true
22

33
[*]
4-
indent_style = space
5-
indent_size = 2
6-
tab_width = 2
7-
end_of_line = lf
8-
charset = utf-8
9-
trim_trailing_whitespace = true
10-
insert_final_newline = true
4+
indent_style=space
5+
indent_size=2
6+
tab_width=2
7+
end_of_line=lf
8+
charset=utf-8
9+
trim_trailing_whitespace=true
10+
insert_final_newline=true

.github/FUNDING.yml

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

.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 run-s build 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: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
- push
55
- pull_request
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
ci:
913
name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
@@ -12,31 +16,25 @@ jobs:
1216
node:
1317
- 18
1418
- 20
19+
- 22
1520
os:
1621
- macos-latest
17-
- windows-latest
1822
- ubuntu-latest
23+
- windows-latest
24+
fail-fast: false
1925
runs-on: ${{ matrix.os }}
2026
steps:
2127
- name: Checkout Repo
22-
uses: actions/checkout@v4
23-
24-
- name: Enable Corepack
25-
run: corepack enable
28+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2629

2730
- name: Setup Node.js ${{ matrix.node }}
28-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
2932
with:
3033
node-version: ${{ matrix.node }}
3134
cache: yarn
32-
env:
33-
# https://github.com/actions/setup-node/issues/531#issuecomment-1819151412
34-
SKIP_YARN_COREPACK_CHECK: 1
3535

3636
- name: Install Dependencies
3737
run: yarn --immutable
38-
env:
39-
SKIP_YARN_COREPACK_CHECK: 1
4038

4139
- name: Build, Lint and Test
4240
run: |
@@ -45,9 +43,14 @@ jobs:
4543
yarn test
4644
yarn typecov
4745
env:
48-
EFF_NO_LINK_RULES: true
4946
PARSER_NO_WATCH: true
50-
SKIP_YARN_COREPACK_CHECK: 1
5147

5248
- name: Codecov
53-
uses: codecov/codecov-action@v3
49+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5
50+
with:
51+
token: ${{ secrets.CODECOV_TOKEN }}
52+
53+
- name: Run codacy-coverage-reporter
54+
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
55+
with:
56+
api-token: ${{ secrets.CODACY_API_TOKEN }}

.github/workflows/codeql.yml

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

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish Any Commit
2+
on:
3+
- push
4+
- pull_request
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17+
18+
- name: Setup Node.js LTS
19+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
20+
with:
21+
node-version: lts/*
22+
cache: yarn
23+
24+
- name: Install dependencies
25+
run: yarn --immutable
26+
27+
- name: Publish
28+
run: yarn dlx pkg-pr-new publish --compact './packages/*'

.github/workflows/pkg-size.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,26 @@ on:
55
branches:
66
- main
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
pkg-size-report:
1014
name: Package Size Report
1115
runs-on: ubuntu-latest
1216

1317
steps:
1418
- name: Checkout
15-
uses: actions/checkout@v4
16-
17-
- name: Enable Corepack
18-
run: corepack enable
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1920

2021
- name: Setup Node.js LTS
21-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
2223
with:
2324
node-version: lts/*
25+
cache: yarn
2426

2527
- name: Package Size Report
26-
uses: pkg-size/action@v1
28+
uses: pkg-size/action@a637fb0897b6f14f18e776d8c3dbccb34a1ad27b # v1
2729
env:
2830
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,49 @@ on:
55
branches:
66
- main
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
permissions:
13+
contents: write
14+
id-token: write
15+
pull-requests: write
16+
817
jobs:
918
release:
1019
name: Release
1120
runs-on: ubuntu-latest
1221
steps:
1322
- name: Checkout Repo
14-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1524
with:
1625
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1726
fetch-depth: 0
1827

19-
- name: Enable Corepack
20-
run: corepack enable
21-
2228
- name: Setup Node.js LTS
23-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
2430
with:
2531
node-version: lts/*
2632
cache: yarn
2733

2834
- name: Install Dependencies
2935
run: yarn --immutable
3036

37+
# `@pkgr/core` is used by `@1stg/lint-staged`
38+
- name: Build
39+
run: yarn build
40+
3141
- name: Create Release Pull Request or Publish to npm
3242
id: changesets
3343
uses: changesets/action@v1
3444
with:
3545
commit: 'chore: release package(s)'
3646
title: 'chore: release package(s)'
37-
version: yarn run version
47+
# This expects you to have a script called release which does a build for your packages and calls changeset publish
3848
publish: yarn release
49+
version: yarn run version
3950
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
52+
NPM_CONFIG_PROVENANCE: true
4153
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/vercel.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,29 @@ name: Vercel Deploy
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request_target: null
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
deploy:
1115
runs-on: ubuntu-latest
1216
steps:
13-
- uses: actions/checkout@v4
17+
- name: Checkout Repo
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1419

1520
- name: Check Branch
1621
id: branch
17-
if: ${{ github.ref == 'refs/heads/main' }}
22+
if: ${{ github.ref == 'refs/heads/master' }}
1823
run: |
1924
echo "args=--prod" >> $GITHUB_OUTPUT
2025
echo "comment=false" >> $GITHUB_OUTPUT
2126
2227
- name: Deploy
23-
uses: amondnet/vercel-action@v25
28+
uses: amondnet/vercel-action@16e87c0a08142b0d0d33b76aeaf20823c381b9b9 # v25
2429
with:
2530
vercel-args: ${{ steps.branch.outputs.args }}
2631
vercel-token: ${{ secrets.VERCEL_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
.yarn/*
66
!.yarn/patches
77
!.yarn/plugins
8+
!.yarn/releases
89
coverage
10+
dist
911
lib
1012
node_modules

0 commit comments

Comments
 (0)