|
35 | 35 | "@next/mdx": "^15.0.0",
|
36 | 36 | "@node-loader/core": "^2.0.0",
|
37 | 37 | "@rollup/plugin-babel": "^6.0.0",
|
38 |
| - "@sparticuz/chromium": "^133.0.0", |
| 38 | + "@sparticuz/chromium": "^138.0.0", |
39 | 39 | "@types/babel__core": "^7.0.0",
|
40 | 40 | "@types/dlv": "^1.0.0",
|
41 | 41 | "@types/mdx": "^2.0.0",
|
|
52 | 52 | "bun-types": "^1.0.0",
|
53 | 53 | "c8": "^10.0.0",
|
54 | 54 | "copy-to-clipboard": "^3.0.0",
|
55 |
| - "cross-env": "^7.0.0", |
| 55 | + "cross-env": "^10.0.0", |
56 | 56 | "cssnano": "^7.0.0",
|
57 | 57 | "devlop": "^1.0.0",
|
58 | 58 | "dlv": "^1.0.0",
|
59 | 59 | "esbuild": "^0.25.0",
|
60 |
| - "eslint-config-xo-react": "^0.27.0", |
| 60 | + "eslint-config-xo-react": "^0.28.0", |
61 | 61 | "eslint-plugin-es": "^4.0.0",
|
62 | 62 | "eslint-plugin-react": "^7.0.0",
|
63 | 63 | "eslint-plugin-react-hooks": "^5.0.0",
|
64 |
| - "estree-to-babel": "^10.0.0", |
| 64 | + "estree-to-babel": "^11.0.0", |
65 | 65 | "estree-util-scope": "^1.0.0",
|
66 | 66 | "estree-util-value-to-estree": "^3.0.0",
|
67 | 67 | "estree-walker": "^3.0.0",
|
|
73 | 73 | "hast-util-to-jsx-runtime": "^2.0.0",
|
74 | 74 | "hast-util-to-text": "^4.0.0",
|
75 | 75 | "hastscript": "^9.0.0",
|
76 |
| - "ink": "^5.0.0", |
| 76 | + "ink": "^6.0.0", |
77 | 77 | "lz-string": "^1.0.0",
|
78 | 78 | "p-all": "^5.0.0",
|
79 | 79 | "postcss": "^8.0.0",
|
|
84 | 84 | "puppeteer": "^24.0.0",
|
85 | 85 | "react": "^19.0.0",
|
86 | 86 | "react-dom": "^19.0.0",
|
87 |
| - "react-error-boundary": "^5.0.0", |
| 87 | + "react-error-boundary": "^6.0.0", |
88 | 88 | "rehype-autolink-headings": "^7.0.0",
|
89 | 89 | "rehype-document": "^7.0.0",
|
90 | 90 | "rehype-infer-description-meta": "^2.0.0",
|
|
131 | 131 | "xast-util-feed": "^2.0.0",
|
132 | 132 | "xast-util-sitemap": "^2.0.0",
|
133 | 133 | "xast-util-to-xml": "^4.0.0",
|
134 |
| - "xo": "^0.60.0" |
| 134 | + "xo": "^1.0.0" |
135 | 135 | },
|
136 | 136 | "scripts": {
|
137 | 137 | "build": "tsc --build --clean && tsc --build && type-coverage",
|
|
184 | 184 | "ignoreCatch": true,
|
185 | 185 | "strict": true
|
186 | 186 | },
|
187 |
| - "xo": { |
188 |
| - "envs": [ |
189 |
| - "shared-node-browser" |
190 |
| - ], |
191 |
| - "overrides": [ |
192 |
| - { |
193 |
| - "files": [ |
194 |
| - "docs/_asset/editor.jsx", |
195 |
| - "docs/_asset/index.js" |
196 |
| - ], |
197 |
| - "envs": [ |
198 |
| - "browser" |
199 |
| - ] |
200 |
| - }, |
201 |
| - { |
202 |
| - "files": [ |
203 |
| - "docs/**/*.jsx", |
204 |
| - "docs/**/*.js" |
205 |
| - ], |
206 |
| - "extends": "xo-react", |
207 |
| - "rules": { |
208 |
| - "react/react-in-jsx-scope": "off" |
209 |
| - } |
| 187 | + "xo": [ |
| 188 | + { |
| 189 | + "files": [ |
| 190 | + "**/*.{cjs,jsx,js,ts}" |
| 191 | + ], |
| 192 | + "prettier": true, |
| 193 | + "react": true, |
| 194 | + "rules": { |
| 195 | + "complexity": "off", |
| 196 | + "import-x/no-extraneous-dependencies": "off", |
| 197 | + "import-x/order": "off", |
| 198 | + "logical-assignment-operators": "off", |
| 199 | + "max-depth": "off", |
| 200 | + "max-lines": "off", |
| 201 | + "n/no-extraneous-import": "off", |
| 202 | + "prefer-destructuring": "off", |
| 203 | + "promise/prefer-await-to-then": "off", |
| 204 | + "promise/prefer-catch": "off", |
| 205 | + "unicorn/no-this-assignment": "off", |
| 206 | + "unicorn/prefer-at": "off", |
| 207 | + "unicorn/prefer-spread": "off", |
| 208 | + "unicorn/prefer-string-raw": "off", |
| 209 | + "react-hooks/rules-of-hooks": "off", |
| 210 | + "react/jsx-no-bind": "off" |
210 | 211 | },
|
211 |
| - { |
212 |
| - "files": [ |
213 |
| - "**/*.ts" |
214 |
| - ], |
215 |
| - "rules": { |
216 |
| - "@typescript-eslint/array-type": "off", |
217 |
| - "@typescript-eslint/ban-types": "off", |
218 |
| - "@typescript-eslint/consistent-type-definitions": "off" |
| 212 | + "space": true |
| 213 | + }, |
| 214 | + { |
| 215 | + "files": [ |
| 216 | + "docs/_asset/editor.jsx", |
| 217 | + "docs/_asset/index.js" |
| 218 | + ], |
| 219 | + "languageOptions": { |
| 220 | + "globals": { |
| 221 | + "CSS": "readonly", |
| 222 | + "HTMLButtonElement": "readonly", |
| 223 | + "document": "readonly", |
| 224 | + "window": "readonly" |
219 | 225 | }
|
220 | 226 | }
|
221 |
| - ], |
222 |
| - "prettier": true, |
223 |
| - "rules": { |
224 |
| - "complexity": "off", |
225 |
| - "logical-assignment-operators": "off", |
226 |
| - "n/file-extension-in-import": "off", |
227 |
| - "react/jsx-no-bind": "off", |
228 |
| - "react/prop-types": "off" |
| 227 | + }, |
| 228 | + { |
| 229 | + "files": [ |
| 230 | + "**/*.jsx", |
| 231 | + "docs/**/*.js" |
| 232 | + ], |
| 233 | + "rules": { |
| 234 | + "react/react-in-jsx-scope": "off" |
| 235 | + } |
| 236 | + }, |
| 237 | + { |
| 238 | + "files": [ |
| 239 | + "**/*.ts" |
| 240 | + ], |
| 241 | + "rules": { |
| 242 | + "@typescript-eslint/array-type": "off", |
| 243 | + "@typescript-eslint/no-restricted-types": "off", |
| 244 | + "@typescript-eslint/consistent-type-definitions": [ |
| 245 | + "error", |
| 246 | + "interface" |
| 247 | + ] |
| 248 | + } |
229 | 249 | }
|
230 |
| - } |
| 250 | + ] |
231 | 251 | }
|
0 commit comments