chore: update Astro/Preact deps and add TS/ESLint tooling

- Bump @astrojs/* and preact to latest minor versions
- Add Astro TS plugin and language server packages
- Introduce ESLint plugins for React, Astro, and TypeScript
- Update TypeScript to 5.9.x
- Enable @astrojs/ts-plugin in tsconfig.json
- Regenerate package-lock.json accordingly
This commit is contained in:
Daisuke Nakahara 2025-12-31 20:58:07 +09:00
parent ea0c94d8e9
commit 398bfcbb11
3 changed files with 5533 additions and 994 deletions

6502
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -9,12 +9,22 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/preact": "^4.0.10", "@astrojs/preact": "^4.1.3",
"@astrojs/rss": "^4.0.11", "@astrojs/rss": "^4.0.14",
"astro": "^5.7.5", "astro": "^5.7.5",
"preact": "^10.25.4" "preact": "^10.28.0"
}, },
"devDependencies": { "devDependencies": {
"typescript": "^5.7.3" "@astrojs/language-server": "^2.16.2",
"@astrojs/ts-plugin": "^1.10.6",
"typescript": "^5.9.3",
"typescript-language-server": "^5.1.3",
"@typescript-eslint/parser": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-astro": "^1.5.0",
"astro-eslint-parser": "^1.2.2",
"vscode-langservers-extracted": "^4.10.0"
} }
} }

View file

@ -12,5 +12,8 @@
"jsxImportSource": "preact", "jsxImportSource": "preact",
"strictNullChecks": true, "strictNullChecks": true,
"allowJs": true "allowJs": true
} },
} "plugins": [
{ "name": "@astrojs/ts-plugin" }
]
}