Skip to content

Commit

Permalink
🐛 fix: Lock dumi to 2.2.17
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Jun 17, 2024
1 parent e39802f commit 6ed7234
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 45 deletions.
87 changes: 43 additions & 44 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,52 +64,51 @@
]
},
"dependencies": {
"@floating-ui/react": "^0",
"@giscus/react": "^2",
"@lobehub/ui": "latest",
"ahooks": "^3",
"antd": "^5",
"antd-style": "^3",
"chalk": "^4",
"fast-deep-equal": "^3",
"history": "^5",
"lodash-es": "^4",
"lucide-react": "latest",
"polished": "^4",
"rc-footer": "^0",
"react-layout-kit": "^1",
"styled-components": "latest",
"use-merge-value": "^1",
"zustand": "^4"
"@floating-ui/react": "^0.26.17",
"@giscus/react": "^2.4.0",
"@lobehub/ui": "^1.142.4",
"ahooks": "^3.8.0",
"antd": "^5.18.2",
"antd-style": "^3.6.2",
"chalk": "^4.1.2",
"fast-deep-equal": "^3.1.3",
"history": "^5.3.0",
"lodash-es": "^4.17.21",
"lucide-react": "^0.395.0",
"polished": "^4.3.1",
"rc-footer": "^0.6.8",
"react-layout-kit": "^1.9.0",
"use-merge-value": "^1.2.0",
"zustand": "^4.5.2"
},
"devDependencies": {
"@commitlint/cli": "^17",
"@lobehub/lint": "latest",
"@types/lodash-es": "^4",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@vitest/coverage-v8": "latest",
"clean-pkg-json": "^1",
"commitlint": "^17",
"dumi": "^2",
"dumi-assets-types": "^1",
"eslint": "^8",
"father": "^4",
"father-plugin-dumi-theme": "latest",
"husky": "^8",
"jsdom": "^22",
"leva": "^0",
"lint-staged": "^13",
"prettier": "^3",
"react": "^18",
"react-dom": "^18",
"remark": "^14",
"remark-cli": "^11",
"semantic-release": "^21",
"stylelint": "^15",
"typescript": "^5",
"vitest": "latest"
"@commitlint/cli": "^17.8.1",
"@lobehub/lint": "^1.23.4",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.14.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitest/coverage-v8": "^1.6.0",
"clean-pkg-json": "^1.2.0",
"commitlint": "^17.8.1",
"dumi": "2.2.17",
"dumi-assets-types": "^1.0.1",
"eslint": "^8.57.0",
"father": "^4.4.4",
"father-plugin-dumi-theme": "1.0.0-rc.1",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"leva": "^0.9.35",
"lint-staged": "^13.3.0",
"prettier": "^3.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remark": "^14.0.3",
"remark-cli": "^11.0.0",
"semantic-release": "^21.1.2",
"stylelint": "^15.11.0",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
"peerDependencies": {
"antd": ">=5",
Expand Down
6 changes: 5 additions & 1 deletion src/slots/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ const Navbar = memo(() => {
className={styles.tabs}
items={nav.map((item) => ({
key: String(item.activePath! || item.link),
label: (
label: /^(\w+:)\/\/|^(mailto|tel):/.test(String(item.link)) ? (
<a className={styles.link} href={String(item.link)} rel="noreferrer" target="_blank">
{item.title}
</a>
) : (
<Link className={styles.link} to={String(item.link)}>
{item.title}
</Link>
Expand Down

0 comments on commit 6ed7234

Please sign in to comment.