Skip to content

Commit dc92c55

Browse files
committed
fix: merge with @ver0-project/deep-equal
1 parent d8da2fb commit dc92c55

25 files changed

+3525
-5674
lines changed

.editorconfig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
root = true
2-
31
[*]
42
indent_style = tab
53
tab_width = 2
64
end_of_line = lf
75
charset = utf-8
86
trim_trailing_whitespace = true
97
insert_final_newline = true
10-
max_line_length = 100
8+
max_line_length = 120
119

1210
[*.yml]
1311
indent_style = space

.github/workflows/CI.yml renamed to .github/workflows/ci.yml

Lines changed: 23 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,21 @@ on:
99
- master
1010
workflow_dispatch:
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
lint:
1417
name: "Lint"
1518
runs-on: ubuntu-latest
1619
steps:
1720
- name: "Checkout"
18-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
1922
with:
2023
fetch-depth: 0
2124
- name: 'Enable corepack'
2225
run: corepack enable
23-
- uses: actions/setup-node@v4
26+
- uses: actions/setup-node@v6
2427
with:
2528
node-version: 22
2629
cache: 'yarn'
@@ -29,19 +32,19 @@ jobs:
2932
run: yarn install --immutable
3033

3134
- name: "Lint"
32-
run: yarn lint -f @react-hookz/gha
35+
run: yarn lint -f @ver0/gha
3336

3437
build:
3538
name: "Build"
3639
runs-on: ubuntu-latest
3740
steps:
3841
- name: "Checkout"
39-
uses: actions/checkout@v4
42+
uses: actions/checkout@v5
4043
with:
4144
fetch-depth: 0
4245
- name: 'Enable corepack'
4346
run: corepack enable
44-
- uses: actions/setup-node@v4
47+
- uses: actions/setup-node@v6
4548
with:
4649
node-version: 22
4750
cache: 'yarn'
@@ -55,23 +58,26 @@ jobs:
5558
test:
5659
name: "Test"
5760
runs-on: ubuntu-latest
61+
strategy:
62+
matrix:
63+
node-version: [ 22, 24 ]
5864
steps:
5965
- name: "Checkout"
60-
uses: actions/checkout@v4
66+
uses: actions/checkout@v5
6167
with:
6268
fetch-depth: 0
6369
- name: 'Enable corepack'
6470
run: corepack enable
65-
- uses: actions/setup-node@v4
71+
- uses: actions/setup-node@v6
6672
with:
67-
node-version: 22
73+
node-version: ${{ matrix.node-version }}
6874
cache: 'yarn'
6975

7076
- name: "Install dependencies"
7177
run: yarn install --immutable
7278

7379
- name: "Test"
74-
run: yarn test:coverage --reporter='github-actions' --reporter='junit' --outputFile='./coverage/test-report.junit.xml' --reporter=default
80+
run: yarn test:coverage --reporter='github-actions' --reporter='junit' --outputFile='./coverage/test-report.junit.xml' --reporter=default
7581

7682
- name: "Upload coverage to Codecov"
7783
uses: codecov/codecov-action@v5
@@ -108,45 +114,31 @@ jobs:
108114
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
109115
outputs:
110116
new-release-published: ${{ steps.release.outputs.new-release-published }}
117+
permissions:
118+
contents: write
119+
issues: write
120+
pull-requests: write
121+
id-token: write
111122
steps:
112123
- name: "Checkout"
113-
uses: actions/checkout@v4
124+
uses: actions/checkout@v5
114125
with:
115126
ref: "master"
116127
- name: 'Enable corepack'
117128
run: corepack enable
118-
- uses: actions/setup-node@v4
129+
- uses: actions/setup-node@v6
119130
with:
120131
node-version: 22
121132
cache: 'yarn'
122133

123134
- name: Install dependencies
124135
run: yarn install --immutable
125136

126-
- name: "disable postinstall"
127-
run: yarn pinst --disable
128-
129137
- name: "Build"
130138
run: yarn build
131139

132140
- name: "Release"
133141
env:
134-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
142+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135143
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
136144
run: yarn semantic-release
137-
138-
gen-contributors:
139-
name: "Generate Contributors List"
140-
runs-on: ubuntu-latest
141-
needs: [ "test", "build", "lint", "semantic-release" ]
142-
if: github.event_name == 'push'
143-
permissions:
144-
contents: write
145-
steps:
146-
- name: Contribute List
147-
uses: akhilmhdh/[email protected]
148-
with:
149-
image_size: 100
150-
columns_per_row: 8
151-
env:
152-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/discord-release-notify.yml

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

.gitignore

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
.idea
2+
.vscode
3+
.DS_Store
4+
node_modules
5+
dist
6+
coverage
27

3-
yarn-error.log
8+
.pnp.*
49
.yarn/*
5-
!.yarn/cache
610
!.yarn/patches
711
!.yarn/plugins
812
!.yarn/releases
913
!.yarn/sdks
10-
!.yarn/versions
11-
12-
/coverage
13-
/node_modules
14-
/dist
14+
!.yarn/versions

.husky/commit-msg

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

.husky/pre-commit

Lines changed: 0 additions & 1 deletion
This file was deleted.

.lintstagedrc.json

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

.prettierrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import ver0Cfg from '@ver0/eslint-config/.prettierrc.js';
2+
3+
/**
4+
* @type {import("prettier").Config}
5+
*/
6+
export default {
7+
...ver0Cfg,
8+
};

.releaserc.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{
2-
"branches": [
3-
"master"
4-
],
5-
"plugins": [
2+
"branches": ["master"],
3+
"plugins": [
64
"@semantic-release/commit-analyzer",
75
"@semantic-release/release-notes-generator",
86
"@semantic-release/npm",
97
"@semantic-release/github"
10-
]
8+
]
119
}

0 commit comments

Comments
 (0)