@lark-apaas/coding-template-vite-react 0.1.35 → 0.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/coding-template-vite-react",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "Vite + React client template for miaoda coding",
5
5
  "type": "module",
6
6
  "files": [
@@ -69,7 +69,7 @@
69
69
  "zod": "^4.3.6"
70
70
  },
71
71
  "devDependencies": {
72
- "@lark-apaas/coding-preset-vite-react": "^1.0.16",
72
+ "@lark-apaas/coding-preset-vite-react": "^1.0.17",
73
73
  "@lark-apaas/coding-presets-react": "^0.1.0",
74
74
  "@types/node": "^24",
75
75
  "@types/react": "^19",
@@ -874,9 +874,9 @@
874
874
  }
875
875
  },
876
876
  "node_modules/@lark-apaas/coding-preset-vite-react": {
877
- "version": "1.0.16",
878
- "resolved": "https://registry.npmmirror.com/@lark-apaas/coding-preset-vite-react/-/coding-preset-vite-react-1.0.16.tgz",
879
- "integrity": "sha512-GtXBN9TZhdP1Qp/uVOEdnQW1F9fSvbY1rBLYW63/qeRP+oqvBrJGx0+gvxjIfNSIJQg51S0FtkkxZxyPi8lxEQ==",
877
+ "version": "1.0.17",
878
+ "resolved": "https://registry.npmmirror.com/@lark-apaas/coding-preset-vite-react/-/coding-preset-vite-react-1.0.17.tgz",
879
+ "integrity": "sha512-+xwA9tqDtvUKDX1hYHU5tEsyiFk98EEP4SoNpD2dUEhtNsh8MNHxTIf1KGzuV7BQwjwZMBq1gH6jqBFJvNr6bA==",
880
880
  "dev": true,
881
881
  "license": "MIT",
882
882
  "dependencies": {
@@ -78,7 +78,7 @@
78
78
  "@types/react": "^19",
79
79
  "@types/react-dom": "^19",
80
80
  "@lark-apaas/coding-presets-react": "^0.1.0",
81
- "@lark-apaas/coding-preset-vite-react": "^1.0.16",
81
+ "@lark-apaas/coding-preset-vite-react": "^1.0.17",
82
82
  "concurrently": "^9",
83
83
  "eslint": "^9",
84
84
  "typescript": "~5.9",
@@ -608,7 +608,6 @@ function SidebarMenuSkeleton({
608
608
  showIcon?: boolean
609
609
  }) {
610
610
  // Random width between 50 to 90%.
611
- // eslint-disable-next-line react-hooks/purity
612
611
  const width = React.useMemo(() => {
613
612
  return `${Math.floor(Math.random() * 40) + 50}%`
614
613
  }, [])