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"
build:
make nvm CMD="$(PACKAGE_MANAGER) i && $(PACKAGE_MANAGER) build"
make nvm CMD="$(PACKAGE_MANAGER) i && $(PACKAGE_MANAGER) build-local"
.PHONY: all

View File

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

View File

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

View File

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

View File

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

2115
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff