|
1 | 1 | { |
2 | 2 | "name": "@univerjs-site/docs", |
3 | 3 | "type": "module", |
4 | | - "version": "0.8.0", |
| 4 | + "version": "0.8.1", |
5 | 5 | "private": true, |
6 | | - "packageManager": "pnpm@10.11.0", |
| 6 | + "packageManager": "pnpm@10.12.1", |
7 | 7 | "scripts": { |
8 | | - "prepare": "simple-git-hooks", |
| 8 | + "prepare": "husky", |
| 9 | + "pre-commit": "lint-staged", |
9 | 10 | "dev": "next", |
10 | 11 | "build": "NODE_OPTIONS=\"--max-old-space-size=4096\" next build", |
11 | 12 | "start": "next start", |
12 | 13 | "lint": "eslint ." |
13 | 14 | }, |
14 | 15 | "dependencies": { |
| 16 | + "@commitlint/cli": "^19.8.1", |
| 17 | + "@commitlint/config-conventional": "^19.8.1", |
15 | 18 | "@docsearch/css": "^3.9.0", |
16 | 19 | "@docsearch/react": "^3.9.0", |
17 | 20 | "@feelback/react": "^0.3.4", |
18 | 21 | "@univerjs/icons": "^0.4.4", |
19 | | - "@univerjs/presets": "0.8.0", |
20 | | - "@univerjs/sheets-crosshair-highlight": "0.8.0", |
21 | | - "@univerjs/sheets-formula-ui": "0.8.0", |
22 | | - "@univerjs/themes": "0.8.0", |
23 | | - "@univerjs/uniscript": "0.8.0", |
24 | | - "@univerjs/watermark": "0.8.0", |
| 22 | + "@univerjs/presets": "0.8.1", |
| 23 | + "@univerjs/sheets-crosshair-highlight": "0.8.1", |
| 24 | + "@univerjs/sheets-formula-ui": "0.8.1", |
| 25 | + "@univerjs/themes": "0.8.1", |
| 26 | + "@univerjs/uniscript": "0.8.1", |
| 27 | + "@univerjs/watermark": "0.8.1", |
25 | 28 | "clsx": "^2.1.1", |
26 | 29 | "next": "15.3.3", |
27 | 30 | "nextra": "^4.2.17", |
28 | 31 | "nextra-theme-docs": "^4.2.17", |
29 | 32 | "react": "19.1.0", |
30 | 33 | "react-dom": "19.1.0", |
31 | | - "tailwind-merge": "^3.3.0" |
| 34 | + "tailwind-merge": "^3.3.1" |
32 | 35 | }, |
33 | 36 | "devDependencies": { |
34 | | - "@antfu/eslint-config": "^4.13.2", |
35 | | - "@eslint-react/eslint-plugin": "^1.50.0", |
36 | | - "@tailwindcss/postcss": "^4.1.8", |
37 | | - "@types/react": "^19.1.6", |
38 | | - "@types/react-dom": "^19.1.5", |
| 37 | + "@antfu/eslint-config": "^4.14.1", |
| 38 | + "@eslint-react/eslint-plugin": "^1.52.1", |
| 39 | + "@tailwindcss/postcss": "^4.1.10", |
| 40 | + "@types/react": "^19.1.8", |
| 41 | + "@types/react-dom": "^19.1.6", |
39 | 42 | "eslint": "^9.28.0", |
| 43 | + "eslint-plugin-better-tailwindcss": "^3.1.0", |
40 | 44 | "eslint-plugin-format": "^1.0.1", |
41 | 45 | "eslint-plugin-react-hooks": "^5.2.0", |
42 | 46 | "eslint-plugin-react-refresh": "^0.4.20", |
43 | | - "eslint-plugin-readable-tailwind": "^2.1.2", |
44 | 47 | "file-loader": "^6.2.0", |
| 48 | + "husky": "^9.1.7", |
45 | 49 | "lint-staged": "^16.1.0", |
46 | | - "postcss": "^8.5.4", |
47 | | - "shiki": "^3.4.2", |
48 | | - "simple-git-hooks": "^2.13.0", |
49 | | - "tailwindcss": "^4.1.8", |
| 50 | + "postcss": "^8.5.5", |
| 51 | + "shiki": "^3.6.0", |
| 52 | + "tailwindcss": "^4.1.10", |
50 | 53 | "tailwindcss-animate": "^1.0.7", |
51 | 54 | "typescript": "^5.8.3" |
52 | 55 | }, |
53 | | - "simple-git-hooks": { |
54 | | - "pre-commit": "pnpm lint-staged" |
55 | | - }, |
56 | 56 | "lint-staged": { |
57 | | - "!submodules/*": "eslint" |
| 57 | + "*": "eslint --fix" |
58 | 58 | } |
59 | 59 | } |
0 commit comments