Skip to content

Commit eb7d044

Browse files
authored
chore(deps): update dependencies (#10)
1 parent 25d38d5 commit eb7d044

Some content is hidden

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

41 files changed

+7203
-8961
lines changed

.dependency-cruiser.js .dependency-cruiser.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = {
6161
"from.pathNot re of the not-to-dev-dep rule in the dependency-cruiser configuration",
6262
from: {
6363
path: "^(src|app|lib)",
64-
pathNot: "\\.spec\\.(js|ts|ls|coffee|litcoffee|coffee\\.md)$",
64+
pathNot: ["\\.spec\\.(js|ts|ls|coffee|litcoffee|coffee\\.md)$", "__tests__"],
6565
},
6666
to: {
6767
dependencyTypes: ["npm-dev"],

.eslintrc.js

-18
This file was deleted.

.github/actions/initialize/action.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "initialize"
2+
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Setup Git Config
7+
run: |
8+
git config --global core.autocrlf false
9+
git config --global core.eol lf
10+
git config --global user.email "[email protected]"
11+
git config --global user.name "gh-actions"
12+
shell: bash

.github/workflows/build.yml

+12-7
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,27 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [12.x]
12+
node-version: [20.x]
1313
os: [windows-latest, ubuntu-latest]
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
17+
- uses: ./.github/actions/initialize
18+
- uses: pnpm/[email protected]
1719
with:
18-
ref: ${{ github.event.pull_request.head.sha }}
20+
version: 8.15.1
21+
- uses: actions/setup-node@v2
22+
with:
23+
node-version: "20.x"
24+
cache: "pnpm"
25+
- run: pnpm i --frozen-lockfile
1926
- name: Use Node.js ${{ matrix.node-version }}
2027
uses: actions/setup-node@v1
2128
with:
2229
node-version: ${{ matrix.node-version }}
23-
2430
- name: Test & Build
2531
run: |
26-
yarn install --frozen-lockfile
27-
yarn test
28-
yarn build
32+
pnpm build
33+
pnpm test
2934
env:
3035
CI: true

.github/workflows/codeql-analysis.yml

-68
This file was deleted.

.github/workflows/release.yml

+30-16
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,43 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
with:
1313
ref: main
14-
- uses: actions/setup-node@v1
14+
- uses: ./.github/actions/initialize
15+
- uses: pnpm/[email protected]
16+
with:
17+
version: 8.15.1
18+
- uses: actions/setup-node@v2
1519
with:
16-
node-version: "12.x"
20+
node-version: "20.x"
1721
registry-url: https://npm.pkg.github.com
1822
scope: "@Himenon"
23+
cache: "pnpm"
24+
- run: pnpm i --frozen-lockfile
1925
- run: |
20-
yarn install --frozen-lockfile
21-
yarn build
26+
pnpm build
2227
2328
release-github-registry:
2429
runs-on: ubuntu-latest
2530
steps:
26-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v3
2732
with:
2833
ref: main
29-
- uses: actions/setup-node@v1
34+
- uses: ./.github/actions/initialize
35+
- uses: pnpm/[email protected]
3036
with:
31-
node-version: "12.x"
37+
version: 8.15.1
38+
- uses: actions/setup-node@v2
39+
with:
40+
node-version: "20.x"
3241
registry-url: https://npm.pkg.github.com
3342
scope: "@Himenon"
43+
cache: "pnpm"
44+
- run: pnpm install
3445
- run: |
35-
yarn install --frozen-lockfile
36-
yarn build
37-
yarn --cwd ./lib release:github:registry
46+
pnpm build
47+
pnpm run release:github:registry
3848
env:
3949
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4050
@@ -44,12 +54,16 @@ jobs:
4454
- uses: actions/checkout@v2
4555
with:
4656
ref: main
47-
- uses: actions/setup-node@v1
57+
- uses: pnpm/[email protected]
58+
with:
59+
version: 8.15.1
60+
- uses: actions/setup-node@v2
4861
with:
49-
node-version: "12.x"
62+
node-version: "20.x"
5063
registry-url: "https://registry.npmjs.org"
51-
- run: yarn install --frozen-lockfile
52-
- run: yarn build
53-
- run: yarn --cwd ./lib release:npm:registry
64+
cache: "pnpm"
65+
- run: pnpm install
66+
- run: pnpm build
67+
- run: pnpm run release:npm:registry
5468
env:
5569
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/versionUp.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ jobs:
99
if: github.event_name != 'pull_request'
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
with:
1414
ref: main
15-
- uses: actions/setup-node@v1
15+
- uses: ./.github/actions/initialize
16+
- uses: pnpm/[email protected]
1617
with:
17-
node-version: "12.x"
18+
version: 8.15.1
19+
- uses: actions/setup-node@v2
20+
with:
21+
node-version: "20.x"
22+
cache: "pnpm"
23+
- run: pnpm i --frozen-lockfile
1824
- name: Auto version update
1925
run: |
20-
git config --global user.email "[email protected]"
21-
git config --global user.name "gh-actions"
22-
yarn install --frozen-lockfile
23-
yarn lerna:version:up
26+
pnpm lerna:version:up

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ package-lock.json
66
.env*
77
*.log
88
private_npm_cache
9+
dist

.huskyrc

-6
This file was deleted.

.lintstagedrc.json

-5
This file was deleted.

.npmrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
always-auth=true
22
engine-strict=true
3-
package-lock=false

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

.prettierignore

-1
This file was deleted.

.prettierrc.cjs

-10
This file was deleted.

.yarnrc

-1
This file was deleted.

biome.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
3+
"organizeImports": {
4+
"enabled": true
5+
},
6+
"formatter": {
7+
"enabled": true,
8+
"indentStyle": "space",
9+
"lineWidth": 144
10+
},
11+
"linter": {
12+
"enabled": true,
13+
"rules": {
14+
"recommended": true
15+
}
16+
},
17+
"files": {
18+
"ignoreUnknown": true,
19+
"ignore": ["dist"]
20+
}
21+
}

commitlint.config.js

-15
This file was deleted.

0 commit comments

Comments
 (0)