Skip to content

Commit 023af3c

Browse files
committed
chore: upgrade tidgi api
1 parent 344fe60 commit 023af3c

File tree

12 files changed

+663
-481
lines changed

12 files changed

+663
-481
lines changed

.eslintignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

dprint.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
],
1616
"excludes": ["**/node_modules", "**/*-lock.json"],
1717
"plugins": [
18-
"https://plugins.dprint.dev/typescript-0.95.7.wasm",
19-
"https://plugins.dprint.dev/json-0.20.0.wasm",
20-
"https://plugins.dprint.dev/markdown-0.18.0.wasm"
18+
"https://plugins.dprint.dev/typescript-0.95.12.wasm",
19+
"https://plugins.dprint.dev/json-0.21.0.wasm",
20+
"https://plugins.dprint.dev/markdown-0.20.0.wasm"
2121
]
2222
}

eslint.config.mjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import tidgiConfig from 'eslint-config-tidgi';
2+
import { dirname } from 'node:path';
3+
import { fileURLToPath } from 'node:url';
4+
5+
const __filename = fileURLToPath(import.meta.url);
6+
const __dirname = dirname(__filename);
7+
8+
export default [
9+
...tidgiConfig,
10+
{
11+
languageOptions: {
12+
parserOptions: {
13+
projectService: {
14+
allowDefaultProject: ['./*.js', './*.mjs'],
15+
},
16+
tsconfigRootDir: __dirname,
17+
},
18+
},
19+
},
20+
];

package.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"publish:offline": "npm run clean && tiddlywiki-plugin-dev publish --offline"
1919
},
2020
"engines": {
21-
"node": ">=16"
21+
"node": ">=22"
2222
},
2323
"husky": {
2424
"hooks": {
@@ -35,30 +35,30 @@
3535
},
3636
"devDependencies": {
3737
"@modern-js/eslint-config": "^2.59.0",
38-
"@modern-js/tsconfig": "^2.67.8",
39-
"@types/lodash": "^4.17.17",
40-
"@types/node": "^24.0.3",
38+
"@modern-js/tsconfig": "^2.69.0",
39+
"@types/lodash": "^4.17.21",
40+
"@types/node": "^24.10.1",
4141
"@types/pinyin": "^2.10.2",
42-
"@types/react": "^19.1.8",
43-
"dprint": "^0.50.0",
42+
"@types/react": "^19.2.6",
43+
"dprint": "^0.50.2",
4444
"eslint-config-tidgi": "^2.2.0",
4545
"husky": "^9.1.7",
46-
"lint-staged": "^16.1.2",
47-
"npm-check-updates": "^18.0.1",
46+
"lint-staged": "^16.2.7",
47+
"npm-check-updates": "^19.1.2",
4848
"postcss": "^8.5.6",
49-
"rimraf": "^6.0.1",
50-
"tiddlywiki": "^5.3.6",
49+
"rimraf": "^6.1.2",
50+
"tiddlywiki": "^5.3.8",
5151
"tiddlywiki-plugin-dev": "^0.3.2",
5252
"ts-node": "^10.9.2",
53-
"tw5-typed": "^0.6.3",
54-
"typescript": "^5.8.3"
53+
"tw5-typed": "^1.0.5",
54+
"typescript": "^5.9.3"
5555
},
5656
"dependencies": {
57-
"@algolia/autocomplete-core": "^1.19.2",
58-
"@algolia/autocomplete-js": "^1.19.2",
59-
"@algolia/autocomplete-plugin-recent-searches": "^1.19.2",
60-
"@algolia/autocomplete-shared": "^1.19.2",
61-
"@algolia/autocomplete-theme-classic": "^1.19.2",
57+
"@algolia/autocomplete-core": "^1.19.4",
58+
"@algolia/autocomplete-js": "^1.19.4",
59+
"@algolia/autocomplete-plugin-recent-searches": "^1.19.4",
60+
"@algolia/autocomplete-shared": "^1.19.4",
61+
"@algolia/autocomplete-theme-classic": "^1.19.4",
6262
"@seznam/visibility-observer": "^1.1.0",
6363
"fuse.js": "^7.1.0",
6464
"lodash": "^4.17.21",
@@ -67,6 +67,7 @@
6767
},
6868
"pnpm": {
6969
"onlyBuiltDependencies": [
70+
"dprint",
7071
"svelte-preprocess"
7172
]
7273
}

0 commit comments

Comments
 (0)