Skip to content

chore(deps): update dependencies #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dependency-cruiser.js → .dependency-cruiser.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
"from.pathNot re of the not-to-dev-dep rule in the dependency-cruiser configuration",
from: {
path: "^(src|app|lib)",
pathNot: "\\.spec\\.(js|ts|ls|coffee|litcoffee|coffee\\.md)$",
pathNot: ["\\.spec\\.(js|ts|ls|coffee|litcoffee|coffee\\.md)$", "__tests__"],
},
to: {
dependencyTypes: ["npm-dev"],
Expand Down
18 changes: 0 additions & 18 deletions .eslintrc.js

This file was deleted.

12 changes: 12 additions & 0 deletions .github/actions/initialize/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "initialize"

runs:
using: "composite"
steps:
- name: Setup Git Config
run: |
git config --global core.autocrlf false
git config --global core.eol lf
git config --global user.email "[email protected]"
git config --global user.name "gh-actions"
shell: bash
19 changes: 12 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,27 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [20.x]
os: [windows-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/initialize
- uses: pnpm/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }}
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Test & Build
run: |
yarn install --frozen-lockfile
yarn test
yarn build
pnpm build
pnpm test
env:
CI: true
68 changes: 0 additions & 68 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

46 changes: 30 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,43 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: main
- uses: actions/setup-node@v1
- uses: ./.github/actions/initialize
- uses: pnpm/[email protected]
with:
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "12.x"
node-version: "20.x"
registry-url: https://npm.pkg.github.com
scope: "@Himenon"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- run: |
yarn install --frozen-lockfile
yarn build
pnpm build

release-github-registry:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: main
- uses: actions/setup-node@v1
- uses: ./.github/actions/initialize
- uses: pnpm/[email protected]
with:
node-version: "12.x"
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
registry-url: https://npm.pkg.github.com
scope: "@Himenon"
cache: "pnpm"
- run: pnpm install
- run: |
yarn install --frozen-lockfile
yarn build
yarn --cwd ./lib release:github:registry
pnpm build
pnpm run release:github:registry
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -44,12 +54,16 @@ jobs:
- uses: actions/checkout@v2
with:
ref: main
- uses: actions/setup-node@v1
- uses: pnpm/[email protected]
with:
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "12.x"
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn --cwd ./lib release:npm:registry
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- run: pnpm run release:npm:registry
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
17 changes: 10 additions & 7 deletions .github/workflows/versionUp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ jobs:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: main
- uses: actions/setup-node@v1
- uses: ./.github/actions/initialize
- uses: pnpm/[email protected]
with:
node-version: "12.x"
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- name: Auto version update
run: |
git config --global user.email "[email protected]"
git config --global user.name "gh-actions"
yarn install --frozen-lockfile
yarn lerna:version:up
pnpm lerna:version:up
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ package-lock.json
.env*
*.log
private_npm_cache
dist
6 changes: 0 additions & 6 deletions .huskyrc

This file was deleted.

5 changes: 0 additions & 5 deletions .lintstagedrc.json

This file was deleted.

1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
always-auth=true
engine-strict=true
package-lock=false
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

10 changes: 0 additions & 10 deletions .prettierrc.cjs

This file was deleted.

1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

21 changes: 21 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 144
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"files": {
"ignoreUnknown": true,
"ignore": ["dist"]
}
}
15 changes: 0 additions & 15 deletions commitlint.config.js

This file was deleted.

Loading