1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Merge pull request #2034 from Mister-Hope/main

chore: update deps
This commit is contained in:
Guide 2023-05-31 20:59:46 +08:00 committed by GitHub
commit 46b48e2786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1928 additions and 1071 deletions

View File

@ -1,3 +1,4 @@
import { cut } from "nodejs-jieba";
import { defineUserConfig } from "vuepress";
import { searchProPlugin } from "vuepress-plugin-search-pro";
@ -9,6 +10,7 @@ export default defineUserConfig({
title: "JavaGuide(Java面试 + 学习指南)",
description:
"「Java学习指北 + Java面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,复习 Java 知识点,首选 JavaGuide ",
lang: "zh-CN",
head: [
// meta
@ -44,18 +46,27 @@ export default defineUserConfig({
s.parentNode.insertBefore(hm, s);
})();`,
],
["link", { rel: "icon", href: "/favicon.ico" }],
],
locales: {
"/": {
lang: "zh-CN",
},
},
theme,
plugins: [searchProPlugin({ indexContent: true })],
plugins: [
searchProPlugin({
indexContent: true,
indexOptions: {
tokenize: (text, fieldName) =>
fieldName === "id" ? [text] : cut(text, true),
},
customFields: [
{
getter: ({ frontmatter }) =>
<string | undefined>frontmatter.category ?? null,
formatter: "分类: $content",
},
],
suggestDelay: 60,
}),
],
pagePatterns: ["**/*.md", "!**/*.snippet.md", "!.vuepress", "!node_modules"],

View File

@ -7,8 +7,9 @@ import sidebar from "./sidebar/index.js";
const __dirname = getDirname(import.meta.url);
export default hopeTheme({
logo: "/logo.png",
hostname: "https://javaguide.cn/",
logo: "/logo.png",
favicon: "/favicon.ico",
iconAssets: "//at.alicdn.com/t/c/font_2922463_kweia6fbo9.css",

View File

@ -97,7 +97,7 @@ GitHub 上也已经有大佬用 Java 实现过一个简易的数据库,介绍
如果你要学习 Redis 的话,强烈推荐下面这两本书:
- [《Redis 设计与实现》](https://book.douban.com/subject/25900156/) :主要是 Redis 理论知识相关的内容,比较全面。我之前写过一篇文章 [《7 年前24 岁,出版了一本 Redis 神书》](https://mp.weixin.qq.com/s?__biz=Mzg2OTA0Njk0OA==&mid=2247507030&idx=1&sn=0a5fd669413991b30163ab6f5834a4ad&chksm=cea1939df9d61a8b93925fae92f4cee0838c449534e60731cfaf533369831192e296780b32a6&token=709354671&lang=zh_CN&scene=21#wechat_redirect) 来介绍这本书。
- [《Redis 核心原理与实践》 ](https://book.douban.com/subject/26612779/):主要是结合源码来分析 Redis 的重要知识点比如各种数据结构和高级特性。
- [《Redis 核心原理与实践》](https://book.douban.com/subject/26612779/):主要是结合源码来分析 Redis 的重要知识点比如各种数据结构和高级特性。
![《Redis 设计与实现》和《Redis 设计与实现》](https://oss.javaguide.cn/github/javaguide/books/redis-books.png)

View File

@ -5,7 +5,6 @@
"description": "javaguide",
"license": "MIT",
"author": "Guide",
"packageManager": "pnpm@8.5.1",
"scripts": {
"docs:build": "vuepress build docs",
"docs:dev": "vuepress dev docs",
@ -20,16 +19,18 @@
"markdownlint"
]
},
"packageManager": "pnpm@8.6.0",
"dependencies": {
"@vuepress/client": "2.0.0-beta.62",
"@vuepress/utils": "2.0.0-beta.62",
"husky": "8.0.3",
"markdownlint-cli": "0.34.0",
"nano-staged": "0.8.0",
"nodejs-jieba": "0.0.2",
"prettier": "2.8.8",
"vue": "3.3.2",
"vue": "3.3.4",
"vuepress": "2.0.0-beta.62",
"vuepress-plugin-search-pro": "2.0.0-beta.211",
"vuepress-theme-hope": "2.0.0-beta.211"
"vuepress-plugin-search-pro": "2.0.0-beta.217",
"vuepress-theme-hope": "2.0.0-beta.217"
}
}

2958
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff