chore(deps): update dependencies

This commit is contained in:
xfy
2024-09-02 09:05:24 +08:00
parent 7d2d495db1
commit 9308c9e7be
6 changed files with 1231 additions and 952 deletions

View File

@ -10,6 +10,6 @@ deps:
make nvm CMD="$(PACKAGE_MANAGER) i" make nvm CMD="$(PACKAGE_MANAGER) i"
build: build:
make nvm CMD="$(PACKAGE_MANAGER) i && $(PACKAGE_MANAGER) build" make nvm CMD="$(PACKAGE_MANAGER) i && $(PACKAGE_MANAGER) build-local"
.PHONY: all .PHONY: all

View File

@ -47,7 +47,7 @@ const Page = async ({
mdxOptions: { mdxOptions: {
remarkPlugins: [remarkGfm], remarkPlugins: [remarkGfm],
rehypePlugins: [ rehypePlugins: [
[rehypeHighlight, { alias: { vue: 'xml' }, ignoreMissing: true }], [rehypeHighlight, { alias: { vue: 'xml' } }],
rehypeSlug, rehypeSlug,
], ],
}, },

View File

@ -30,7 +30,7 @@ const GistsCode = ({ file, showFileName = false }: Props) => {
.use(remarkParse) .use(remarkParse)
.use(remarkRehype) .use(remarkRehype)
.use(remarkGfm) .use(remarkGfm)
.use(rehypeHighlight, { ignoreMissing: true }) .use(rehypeHighlight)
.use(rehypeReact, { .use(rehypeReact, {
createElement, createElement,
Fragment, Fragment,

View File

@ -19,7 +19,7 @@ type Props = {
const RUACodepen = ({ defaultTab, url }: Props) => { const RUACodepen = ({ defaultTab, url }: Props) => {
const urlArr = url.split('/'); const urlArr = url.split('/');
const { systemTheme, theme } = useTheme(); const { systemTheme, theme } = useTheme();
const currentTheme = theme === 'system' ? systemTheme : theme ?? 'light'; const currentTheme = theme === 'system' ? systemTheme : (theme ?? 'light');
const { ref, inView } = useInView(); const { ref, inView } = useInView();

View File

@ -14,60 +14,60 @@
"prepare": "husky" "prepare": "husky"
}, },
"dependencies": { "dependencies": {
"@catppuccin/highlightjs": "^0.1.4", "@catppuccin/highlightjs": "^0.2.2",
"@catppuccin/palette": "^1.2.0", "@catppuccin/palette": "^1.2.0",
"@catppuccin/tailwindcss": "^0.1.6", "@catppuccin/tailwindcss": "^0.1.6",
"@codesandbox/sandpack-react": "^2.13.10", "@codesandbox/sandpack-react": "^2.19.1",
"@docsearch/css": "^3.6.0", "@docsearch/css": "^3.6.1",
"@docsearch/react": "^3.6.0", "@docsearch/react": "^3.6.1",
"@giscus/react": "^3.0.0", "@giscus/react": "^3.0.0",
"@octokit/core": "^6.1.2", "@octokit/core": "^6.1.2",
"@octokit/plugin-rest-endpoint-methods": "^13.2.1", "@octokit/plugin-rest-endpoint-methods": "^13.2.4",
"@react-spring/three": "^9.7.3", "@react-spring/three": "^9.7.4",
"@react-three/drei": "^9.105.6", "@react-three/drei": "^9.111.5",
"@react-three/fiber": "^8.16.6", "@react-three/fiber": "^8.17.6",
"algoliasearch": "^4.23.3", "algoliasearch": "^5.2.3",
"dayjs": "^1.11.11", "dayjs": "^1.11.13",
"next": "14.2.3", "next": "14.2.7",
"next-mdx-remote": "^4.4.1", "next-mdx-remote": "^5.0.0",
"next-themes": "^0.3.0", "next-themes": "^0.3.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"react-icons": "^5.2.1", "react-icons": "^5.3.0",
"rehype-highlight": "^6.0.0", "rehype-highlight": "^7.0.0",
"rehype-react": "^7.2.0", "rehype-react": "^7.2.0",
"rehype-slug": "^6.0.0", "rehype-slug": "^6.0.0",
"remark-frontmatter": "^5.0.0", "remark-frontmatter": "^5.0.0",
"remark-gfm": "^3.0.1", "remark-gfm": "^4.0.0",
"remark-parse": "^10.0.2", "remark-parse": "^10.0.2",
"remark-rehype": "^10.1.0", "remark-rehype": "^10.1.0",
"sharp": "^0.33.4", "sharp": "^0.33.5",
"three": "^0.164.1", "three": "^0.168.0",
"unified": "^10.1.2", "unified": "^10.1.2",
"zustand": "^4.5.2" "zustand": "^4.5.5"
}, },
"devDependencies": { "devDependencies": {
"@next/bundle-analyzer": "^14.2.3", "@next/bundle-analyzer": "^14.2.7",
"@types/node": "20.12.12", "@types/node": "22.5.2",
"@types/react": "18.3.2", "@types/react": "18.3.5",
"@types/three": "^0.164.0", "@types/three": "^0.168.0",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.20",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"encoding": "^0.1.13", "encoding": "^0.1.13",
"eslint": "^8", "eslint": "^8",
"eslint-config-next": "14.2.1", "eslint-config-next": "14.2.7",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"gray-matter": "^4.0.3", "gray-matter": "^4.0.3",
"husky": "^9.0.11", "husky": "^9.1.5",
"leva": "^0.9.35", "leva": "^0.9.35",
"postcss": "^8.4.38", "postcss": "^8.4.43",
"prettier": "^3.2.5", "prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0", "prettier-plugin-organize-imports": "^4.0.0",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"sass": "^1.77.2", "sass": "^1.77.8",
"tailwindcss": "^3.4.3", "tailwindcss": "^3.4.10",
"typescript": "5.4.5", "typescript": "5.5.4",
"url-loader": "^4.1.1" "url-loader": "^4.1.1"
} }
} }

2115
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff