Skip to content

Commit e9adb24

Browse files
committed
chore: housekeeping, bump all (dev) deps (#207)
1 parent 1276718 commit e9adb24

Some content is hidden

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

44 files changed

+16493
-12554
lines changed

.changeset/good-wolves-rhyme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"changesets-gitlab": minor
3+
---
4+
5+
chore: housekeeping, bump all (dev) deps, add `module-sync` entry
6+
7+
fix: `commonjs` types entry

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root=true
2+
3+
[*]
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

.eslintignore

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

.eslintrc

Lines changed: 0 additions & 8 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 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: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
node:
1313
- 18
1414
- 20
15+
- 22
1516
runs-on: ubuntu-latest
1617
steps:
1718
- name: Checkout Repo
@@ -24,13 +25,9 @@ jobs:
2425
cache: yarn
2526

2627
- name: Install Dependencies
27-
run: yarn --frozen-lockfile
28+
run: yarn --immutable
2829

2930
- name: Build, Lint and Test
30-
run: |
31-
yarn build
32-
yarn lint
33-
yarn test
31+
run: yarn run-s build lint test
3432
env:
35-
EFF_NO_LINK_RULES: true
3633
PARSER_NO_WATCH: true

.github/workflows/codeql.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
schedule:
11+
- cron: '28 7 * * 1'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
analyze:
19+
name: Analyze
20+
runs-on: ubuntu-latest
21+
permissions:
22+
actions: read
23+
contents: read
24+
security-events: write
25+
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
language:
30+
- javascript
31+
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
35+
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
38+
with:
39+
languages: ${{ matrix.language }}
40+
queries: +security-and-quality
41+
42+
- name: Autobuild
43+
uses: github/codeql-action/autobuild@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
44+
45+
- name: Perform CodeQL Analysis
46+
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
47+
with:
48+
category: '/language:${{ matrix.language }}'

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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@v4
17+
18+
- name: Setup Node.js LTS
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: lts/*
22+
cache: yarn
23+
24+
- name: Install dependencies
25+
run: yarn --immutable
26+
27+
- name: Build
28+
run: yarn build
29+
30+
- run: yarn dlx pkg-pr-new publish

.github/workflows/pkg-size.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Package Size Report
2+
3+
on:
4+
- pull_request
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
pkg-size-report:
12+
name: Package Size Report
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Package Size Report
20+
uses: pkg-size/action@v1
21+
continue-on-error: true
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ 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
@@ -23,7 +32,7 @@ jobs:
2332
cache: yarn
2433

2534
- name: Install Dependencies
26-
run: yarn --frozen-lockfile
35+
run: yarn --immutable
2736

2837
- name: Create Release Pull Request or Publish to npm
2938
id: changesets
@@ -35,4 +44,5 @@ jobs:
3544
title: 'chore: release package(s)'
3645
env:
3746
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
NPM_CONFIG_PROVENANCE: true
3848
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)