Skip to content

Commit 633dfbf

Browse files
authored
Merge pull request #27 from Code-Hex/update/deps
updated some deps
2 parents a774e3a + f4937f3 commit 633dfbf

8 files changed

+4999
-4492
lines changed

.eslintignore

-3
This file was deleted.

.eslintrc.js

-56
This file was deleted.

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: pnpm/action-setup@v3
12+
- uses: pnpm/action-setup@v4
1313
with:
14-
version: 8
14+
version: 9
1515
- name: Setup Node
1616
uses: actions/setup-node@v4
1717
with:
@@ -25,9 +25,9 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
28-
- uses: pnpm/action-setup@v3
28+
- uses: pnpm/action-setup@v4
2929
with:
30-
version: 8
30+
version: 9
3131
- name: Setup Node
3232
uses: actions/setup-node@v4
3333
with:

eslint.config.mjs

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import tseslint from 'typescript-eslint';
2+
3+
export default tseslint.config({
4+
ignores: ['dist', 'vitest.config.ts', 'tests'],
5+
languageOptions: {
6+
parserOptions: {
7+
project: './tsconfig.json',
8+
},
9+
},
10+
rules: {
11+
quotes: ['error', 'single'],
12+
semi: 'off',
13+
'no-debugger': 'error',
14+
'no-empty': ['warn', { allowEmptyCatch: true }],
15+
'no-process-exit': 'off',
16+
'no-useless-escape': 'off',
17+
'prefer-const': [
18+
'warn',
19+
{
20+
destructuring: 'all',
21+
},
22+
],
23+
'sort-imports': 'off',
24+
'node/no-missing-import': 'off',
25+
'node/no-missing-require': 'off',
26+
'node/no-deprecated-api': 'off',
27+
'node/no-unpublished-import': 'off',
28+
'node/no-unpublished-require': 'off',
29+
'node/no-unsupported-features/es-syntax': 'off',
30+
'@typescript-eslint/no-empty-interface': 'off',
31+
'@typescript-eslint/no-inferrable-types': 'off',
32+
'@typescript-eslint/no-var-requires': 'off',
33+
'@typescript-eslint/no-explicit-any': 'off',
34+
},
35+
});

package.json

+13-18
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,26 @@
2222
"start-example": "wrangler dev example/index.ts --config=example/wrangler.toml --local=true",
2323
"prettier": "prettier --write --list-different \"**/*.ts\"",
2424
"prettier:check": "prettier --check \"**/*.ts\"",
25-
"lint": "eslint --ext .ts .",
26-
"lint-fix": "eslint --fix --ext .ts .",
25+
"lint": "eslint .",
26+
"lint-fix": "eslint --fix .",
2727
"prepublish": "run-p build:*",
2828
"wrangler": "wrangler",
2929
"version": "pnpm run build && git add -A src/version.ts"
3030
},
3131
"devDependencies": {
32-
"@cloudflare/workers-types": "^4.20240208.0",
33-
"@typescript-eslint/eslint-plugin": "^6.21.0",
34-
"@typescript-eslint/parser": "^6.21.0",
35-
"eslint": "^8.56.0",
36-
"eslint-config-prettier": "^9.1.0",
37-
"eslint-define-config": "^1.24.1",
38-
"eslint-import-resolver-typescript": "^3.6.1",
39-
"eslint-plugin-eslint-comments": "^3.2.0",
40-
"eslint-plugin-import": "^2.29.1",
41-
"firebase-tools": "^13.3.0",
42-
"hono": "^4.0.4",
43-
"miniflare": "^3.20240129.3",
32+
"@cloudflare/workers-types": "^4.20241224.0",
33+
"@eslint/js": "^9.17.0",
34+
"eslint": "^9.17.0",
35+
"firebase-tools": "^13.29.1",
36+
"hono": "^4.6.15",
37+
"miniflare": "^3.20241218.0",
4438
"npm-run-all": "^4.1.5",
45-
"prettier": "^3.2.5",
46-
"typescript": "^5.3.3",
39+
"prettier": "^3.4.2",
40+
"typescript": "^5.7.2",
41+
"typescript-eslint": "^8.18.2",
4742
"undici": "^6.6.2",
48-
"vitest": "^1.3.0",
49-
"wrangler": "^3.28.3"
43+
"vitest": "^2.1.8",
44+
"wrangler": "^3.99.0"
5045
},
5146
"keywords": [
5247
"web",

0 commit comments

Comments
 (0)