Skip to content

Commit

Permalink
perf: reduce package size by updating dependencies
Browse files Browse the repository at this point in the history
From 700 Kb to 650 Kb.
  • Loading branch information
theoludwig committed Sep 24, 2024
1 parent 556acc6 commit f8f4bba
Show file tree
Hide file tree
Showing 12 changed files with 3,260 additions and 5,685 deletions.
7 changes: 2 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
"rules": {
"prettier/prettier": "error"
}
"plugins": ["@typescript-eslint"],
"extends": ["plugin:@typescript-eslint/recommended"]
}
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [master]
pull_request:
branches: [master]
branches: [master, beta]

jobs:
build_and_lint:
Expand All @@ -14,12 +14,13 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: "npm"

- run: npm ci
- run: npm run build
- run: npm run lint:commit -- --to "${{ github.sha }}"
- run: npm run lint:typescript
- run: npm run lint:eslint
- run: npm run lint:prettier
- run: npm run test
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "47 18 * * 3"
branches: ["master", "beta"]

jobs:
analyze:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: "actions/setup-node@v4"
with:
node-version: 20
node-version: 22
cache: "npm"

- run: "npm ci"
Expand Down
4 changes: 0 additions & 4 deletions jest.config.json

This file was deleted.

Loading

0 comments on commit f8f4bba

Please sign in to comment.