Skip to content

Commit

Permalink
chore: update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Mar 25, 2024
1 parent 3e98057 commit cd6d739
Show file tree
Hide file tree
Showing 15 changed files with 1,124 additions and 565 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/stylistic',
'prettier'
],
rules: {
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/consistent-type-imports': 'error'
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/consistent-type-definitions': 'off'
},
overrides: [
{
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-repo/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ description: Prepare repo
runs:
using: composite
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
- name: setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
cache: pnpm
registry-url: 'https://registry.npmjs.org'
- run: pnpm i --frozen-lockfile
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@ jobs:
name: run lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-repo
- run: pnpm run lint --max-warnings=0
format:
name: run format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-repo
- run: pnpm prettier --check .
test:
name: run test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-repo
- run: pnpm run test
type-check:
name: run type-check
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-repo
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: ./dist
Expand All @@ -45,10 +45,10 @@ jobs:
name: run build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-repo
- run: pnpm run build
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
path: ./dist
Expand All @@ -57,9 +57,9 @@ jobs:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-repo
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: ./dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-repo
- name: build
run: pnpm run build
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
4 changes: 2 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@sapphi-red/web-noise-suppressor": "workspace:*"
},
"devDependencies": {
"@typescript/lib-dom": "npm:@types/web@^0.0.99",
"vite": "^4.2.1"
"@typescript/lib-dom": "npm:@types/web@^0.0.142",
"vite": "^5.2.6"
}
}
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,23 @@
"dist"
],
"devDependencies": {
"@sapphi-red/speex-preprocess-wasm": "^0.3.2",
"@sapphi-red/speex-preprocess-wasm": "^0.3.3",
"@shiguredo/rnnoise-wasm": "^2022.2.0",
"@types/audioworklet": "^0.0.40",
"@types/emscripten": "^1.39.6",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@types/emscripten": "^1.39.10",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@typescript/lib-dom": "npm:@types/web@^0.0.99",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"patch-package": "^6.5.1",
"prettier": "^2.8.7",
"prettier": "^3.2.5",
"tsup": "^6.7.0",
"tsx": "^3.12.6",
"typescript": "^4.9.5",
"tsx": "^4.7.1",
"typescript": "^5.4.3",
"uvu": "^0.5.6",
"wasm-feature-detect": "^1.5.1"
"wasm-feature-detect": "^1.6.1"
},
"packageManager": "pnpm@7.28.0"
"packageManager": "pnpm@8.15.5"
}
Loading

0 comments on commit cd6d739

Please sign in to comment.