|
7 | 7 | "start": "astro dev", |
8 | 8 | "build": "astro check && astro build", |
9 | 9 | "preview": "astro preview", |
10 | | - "astro": "astro" |
| 10 | + "astro": "astro", |
| 11 | + "prettier:fix": "prettier --write src", |
| 12 | + "eslint:fix": "eslint src/**/*.{ts,tsx,astro} --fix", |
| 13 | + "fix": "pnpm prettier:fix && pnpm eslint:fix", |
| 14 | + "prettier:lint": "prettier --check src", |
| 15 | + "eslint:lint": "eslint src/**/*.{ts,tsx,astro} --max-warnings 0", |
| 16 | + "lint": "pnpm prettier:lint && pnpm tsc && pnpm eslint:lint && pnpm astro check" |
11 | 17 | }, |
12 | 18 | "packageManager": "pnpm@9.14.2", |
13 | 19 | "pnpm": { |
14 | | - "default": "9.7.1" |
| 20 | + "default": "9.14.2" |
15 | 21 | }, |
16 | 22 | "engines": { |
17 | | - "node": ">=22.3" |
| 23 | + "node": ">=23" |
18 | 24 | }, |
19 | 25 | "dependencies": { |
20 | 26 | "@astrojs/check": "^0.9.4", |
21 | 27 | "@astrojs/mdx": "^3.1.9", |
22 | | - "@astrojs/preact": "^3.5.3", |
| 28 | + "@astrojs/react": "^3.6.3", |
| 29 | + "@astrojs/sitemap": "^3.2.1", |
23 | 30 | "@astrolib/analytics": "^0.6.1", |
24 | 31 | "@floating-ui/react": "^0.26.28", |
25 | | - "@nanostores/preact": "^0.5.2", |
26 | 32 | "@playform/compress": "^0.1.6", |
27 | | - "@preact/signals": "^1.3.0", |
28 | 33 | "@tuplo/numberfmt": "^1.11.0", |
29 | | - "@types/lodash-es": "^4.17.12", |
30 | | - "astro": "^4.16.13", |
| 34 | + "astro": "^4.16.16", |
31 | 35 | "astro-font": "^0.1.81", |
32 | 36 | "astro-imagetools": "^0.9.0", |
33 | 37 | "clsx": "^2.1.1", |
34 | 38 | "lodash-es": "^4.17.21", |
35 | | - "nanostores": "^0.11.3", |
36 | | - "preact": "^10.24.3", |
| 39 | + "motion": "^11.12.0", |
| 40 | + "react": "^18.3.1", |
| 41 | + "react-dom": "^18.3.1", |
37 | 42 | "react-markdown": "^9.0.1", |
38 | 43 | "rehype-external-links": "^3.0.0", |
39 | 44 | "rehype-raw": "^7.0.0", |
40 | 45 | "sass": "^1.81.0", |
41 | 46 | "sharp": "0.33.5", |
42 | 47 | "short-unique-id": "^5.2.0", |
43 | 48 | "typescript": "^5.6.3", |
44 | | - "typescript-cookie": "^1.0.6", |
| 49 | + "use-breakpoint": "^4.0.5", |
45 | 50 | "use-sync-external-store": "^1.2.2", |
46 | 51 | "user-agent-data-types": "^0.4.2", |
47 | 52 | "zustand": "^5.0.1" |
48 | 53 | }, |
49 | 54 | "devDependencies": { |
50 | 55 | "@astrojs/ts-plugin": "^1.10.4", |
51 | | - "@typescript-eslint/parser": "^6.17.0", |
52 | | - "eslint": "^8.56.0", |
| 56 | + "@eslint/js": "^9.15.0", |
| 57 | + "@types/lodash-es": "^4.17.12", |
| 58 | + "@types/react": "^18.3.12", |
| 59 | + "@types/react-dom": "^18.3.1", |
| 60 | + "eslint": "^9.15.0", |
| 61 | + "eslint-config-prettier": "^9.1.0", |
53 | 62 | "eslint-plugin-astro": "^1.3.1", |
| 63 | + "eslint-plugin-react": "^7.37.2", |
| 64 | + "eslint-plugin-react-hooks": "5.0", |
| 65 | + "eslint-plugin-simple-import-sort": "^12.1.1", |
| 66 | + "globals": "^15.12.0", |
54 | 67 | "prettier": "^3.3.3", |
55 | | - "prettier-plugin-astro": "^0.14.1" |
56 | | - }, |
57 | | - "overrides": { |
58 | | - "react": "npm:@preact/compat@latest", |
59 | | - "react-dom": "npm:@preact/compat@latest" |
60 | | - }, |
61 | | - "volta": { |
62 | | - "node": "21.6.1" |
| 68 | + "prettier-plugin-astro": "^0.14.1", |
| 69 | + "typescript-eslint": "^8.15.0" |
63 | 70 | } |
64 | 71 | } |
0 commit comments