|
4 | 4 | "private": true, |
5 | 5 | "license": "CC", |
6 | 6 | "scripts": { |
7 | | - "analyze": "ANALYZE=true next build", |
| 7 | + "analyze": "next experimental-analyze", |
8 | 8 | "dev": "next-remote-watch ./src/content", |
9 | | - "prebuild:rsc": "node scripts/buildRscWorker.mjs", |
10 | 9 | "build": "node scripts/buildRscWorker.mjs && next build && node --experimental-modules ./scripts/downloadFonts.mjs", |
11 | | - "lint": "next lint && eslint \"src/content/**/*.md\"", |
12 | | - "lint:fix": "next lint --fix && eslint \"src/content/**/*.md\" --fix", |
| 10 | + "lint": "eslint . && eslint \"src/content/**/*.md\"", |
| 11 | + "lint:fix": "eslint --fix . && eslint \"src/content/**/*.md\" --fix", |
13 | 12 | "format:source": "prettier --config .prettierrc --write \"{plugins,src}/**/*.{js,ts,jsx,tsx,css}\"", |
14 | 13 | "nit:source": "prettier --config .prettierrc --list-different \"{plugins,src}/**/*.{js,ts,jsx,tsx,css}\"", |
15 | 14 | "prettier": "yarn format:source", |
|
36 | 35 | "classnames": "^2.2.6", |
37 | 36 | "debounce": "^1.2.1", |
38 | 37 | "github-slugger": "^1.3.0", |
39 | | - "next": "15.1.12", |
| 38 | + "next": "16.2.0", |
40 | 39 | "next-remote-watch": "^1.0.0", |
41 | 40 | "parse-numeric-range": "^1.2.0", |
42 | | - "raw-loader": "^4.0.2", |
43 | | - "react": "^19.0.0", |
| 41 | + "react": "19.2.4", |
44 | 42 | "react-collapsed": "4.0.4", |
45 | | - "react-dom": "^19.0.0", |
| 43 | + "react-dom": "19.2.4", |
46 | 44 | "remark-frontmatter": "^4.0.1", |
47 | 45 | "remark-gfm": "^3.0.1" |
48 | 46 | }, |
|
58 | 56 | "@types/mdx-js__react": "^1.5.2", |
59 | 57 | "@types/node": "^14.6.4", |
60 | 58 | "@types/parse-numeric-range": "^0.0.1", |
61 | | - "@types/react": "^19.0.0", |
62 | | - "@types/react-dom": "^19.0.0", |
| 59 | + "@types/prop-types": "^15.7.15", |
| 60 | + "@types/react": "19.2.14", |
| 61 | + "@types/react-dom": "19.2.3", |
63 | 62 | "@typescript-eslint/eslint-plugin": "^5.36.2", |
64 | 63 | "@typescript-eslint/parser": "^5.36.2", |
65 | 64 | "asyncro": "^3.0.0", |
|
68 | 67 | "babel-plugin-react-compiler": "^1.0.0", |
69 | 68 | "chalk": "4.1.2", |
70 | 69 | "esbuild": "^0.24.0", |
71 | | - "eslint": "7.x", |
72 | | - "eslint-config-next": "12.0.3", |
| 70 | + "eslint": "^9", |
| 71 | + "eslint-config-next": "16.2.0", |
73 | 72 | "eslint-config-react-app": "^5.2.1", |
74 | 73 | "eslint-plugin-flowtype": "4.x", |
75 | 74 | "eslint-plugin-import": "2.x", |
|
104 | 103 | "rss": "^1.2.2", |
105 | 104 | "tailwindcss": "^3.4.1", |
106 | 105 | "typescript": "^5.7.2", |
107 | | - "unist-util-visit": "^2.0.3", |
108 | | - "webpack-bundle-analyzer": "^4.5.0" |
| 106 | + "unist-util-visit": "^2.0.3" |
109 | 107 | }, |
110 | 108 | "engines": { |
111 | 109 | "node": ">=16.8.0" |
112 | 110 | }, |
113 | | - "nextBundleAnalysis": { |
114 | | - "budget": null, |
115 | | - "budgetPercentIncreaseRed": 10, |
116 | | - "showDetails": true |
117 | | - }, |
118 | 111 | "lint-staged": { |
119 | 112 | "*.{js,ts,jsx,tsx,css}": "yarn prettier", |
120 | 113 | "src/**/*.md": "yarn fix-headings" |
121 | 114 | }, |
122 | | - "packageManager": "yarn@1.22.22" |
| 115 | + "packageManager": "yarn@1.22.22", |
| 116 | + "resolutions": { |
| 117 | + "@types/react": "19.2.14", |
| 118 | + "@types/react-dom": "19.2.3" |
| 119 | + } |
123 | 120 | } |
0 commit comments