From ddce92ff64f38257471bf729f54b42187706f14b Mon Sep 17 00:00:00 2001 From: vimpas Date: Fri, 13 Sep 2024 11:50:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8Dtoc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/tag-data.json | 2 +- components/ScrollTopAndComment.tsx | 2 +- contentlayer.config.ts | 2 +- ...4\346\255\245\351\227\256\351\242\230.mdx" | 85 ++++ ...3\346\236\204\345\210\206\346\236\220.mdx" | 3 + data/projectsData.ts | 16 +- package.json | 4 +- yarn.lock | 403 +++++++++++++++++- 8 files changed, 500 insertions(+), 17 deletions(-) create mode 100644 "data/blog/ssh\350\277\236\346\216\245\350\277\234\347\250\213\346\234\215\345\212\241\345\231\250vim\345\211\252\345\210\207\346\235\277\345\220\214\346\255\245\351\227\256\351\242\230.mdx" diff --git a/app/tag-data.json b/app/tag-data.json index a73a7be..2522fe4 100644 --- a/app/tag-data.json +++ b/app/tag-data.json @@ -1 +1 @@ -{"next-js":1,"react":1,"javascript":1,"web开发":1} \ No newline at end of file +{"ssh":1,"vim":1,"剪切板同步":1,"远程服务器":1,"neovim":1,"next-js":1,"react":1,"javascript":1,"web开发":1} \ No newline at end of file diff --git a/components/ScrollTopAndComment.tsx b/components/ScrollTopAndComment.tsx index 080d72f..760c2a3 100644 --- a/components/ScrollTopAndComment.tsx +++ b/components/ScrollTopAndComment.tsx @@ -1,5 +1,5 @@ 'use client' - +// 主要提供了两个功能:滚动到页面顶部和滚动到评论区 import siteMetadata from '@/data/siteMetadata' import { useEffect, useState } from 'react' diff --git a/contentlayer.config.ts b/contentlayer.config.ts index 10921ae..3f10023 100644 --- a/contentlayer.config.ts +++ b/contentlayer.config.ts @@ -139,7 +139,7 @@ export const Authors = defineDocumentType(() => ({ linkedin: { type: 'string' }, github: { type: 'string' }, bilibili: { type: 'string' }, - layout: { type: 'string' }, + layout: { type: 'json' }, }, computedFields, })) diff --git "a/data/blog/ssh\350\277\236\346\216\245\350\277\234\347\250\213\346\234\215\345\212\241\345\231\250vim\345\211\252\345\210\207\346\235\277\345\220\214\346\255\245\351\227\256\351\242\230.mdx" "b/data/blog/ssh\350\277\236\346\216\245\350\277\234\347\250\213\346\234\215\345\212\241\345\231\250vim\345\211\252\345\210\207\346\235\277\345\220\214\346\255\245\351\227\256\351\242\230.mdx" new file mode 100644 index 0000000..16da12b --- /dev/null +++ "b/data/blog/ssh\350\277\236\346\216\245\350\277\234\347\250\213\346\234\215\345\212\241\345\231\250vim\345\211\252\345\210\207\346\235\277\345\220\214\346\255\245\351\227\256\351\242\230.mdx" @@ -0,0 +1,85 @@ +--- +title: ssh连接远程服务器neovim剪切板同步问题 +summary: 本文探讨了在SSH连接远程服务器时使用Neovim并实现与本地剪切板同步的几种方法。主要介绍了三种解决方案:使用SSH X11转发、利用tmux和OSC52序列,以及使用第三方工具。每种方法都有其优缺点和适用场景,文章详细说明了各种方法的实现步骤和注意事项,为用户提供了多种选择以满足不同的需求和环境。 +date: '2024-05-08' +tags: ['ssh', 'vim', '剪切板同步', '远程服务器', 'Neovim'] +draft: false +--- + + + + +要在远程服务器上使用 Neovim 并且与本地剪切板同步,你需要通过 SSH 使用 X11 转发或者使用专门的工具来实现剪切板内容的传输。 + +以下是几种实现远程 Neovim 剪切板同步到本地的方法: + +### 方法 1: 使用 SSH X11 Forwarding + +如果你用的是 X11 环境(通常是在 Linux 上),可以使用 SSH 的 X11 转发功能来实现。 + +{/* [[什么是X11和ssh的X11转发功能]] */} + +1. 确保本地机器和远程服务器都安装了 `xclip` 或 `xsel`。 +2. 使用 `-X` 或 `-Y` 参数启动 SSH 会话来启用 X11 转发: + +```sh +ssh -X username@remote_host +``` + +或者 + +```sh +ssh -Y username@remote_host +``` + +`-Y` 参数比 `-X` 更不安全,但在某些配置的服务器上可能需要。 + +3. 在远程服务器上的 Neovim 中,你需要有类似以下的配置: + +```vim +set clipboard=unnamedplus +``` + +这样设置后,Neovim 中的 `"+y` 和 `"+p` 将会使用系统的剪切板,借助 SSH 的 X11 转发同步到你的本地机器。 + +请注意,SSH X11 转发可能会有安全风险,并且在网络延迟较高的情况下可能会有性能问题。 + +### 方法 2: 使用 tmux 和 OSC52 + +如果你正在使用 tmux,可以通过 ANSI Escape sequences 实现剪切板同步,这里使用的是特定的序列 OSC52。 + +1. 确保你的本地终端支持 OSC52 (比如 iTerm2 或者是最新版本的 Terminal.app)。 +2. 设置 Neovim,使其能够发送 OSC52 序列。这通常需要一个自定义函数,并将其绑定到 Neovim 的复制操作。 + +在 Neovim 中,你可以使用以下 Vimscript 来发送选中的文本到 OSC52: + +```vim +function! CopyToClipboard(text) abort + let escape = "\e" + let osc = escape . "[52;c;" + let st = escape . "\" + let data = system('echo ' . a:text . ' | base64') + let payload = osc . data . st + if has('nvim') + call rpcnotify(0, 'Gui', 'Do', payload) + else + echoerr 'Not supported in this environment' + endif +endfunction +``` + +然后,你需要设置一个自动命令或键位绑定,将复制操作触发时的文本传递给这个函数。 + +此方法的具体实现可能会根据你的需求和环境有所不同,可能需要一些调试才能正常工作。 + +### 方法 3: 使用第三方工具 + +还有一些第三方工具(如 `lemonade`, `xclip`, `win-clipboard` 等)可以帮助实现远程服务器和本地机器之间的剪切板同步。 + +以 `lemonade` 为例,你可以在远程服务器上安装它,并在本地运行其服务器端。然后设置 Neovim,使其使用 `lemonade` 来复制和粘贴文本。 + +安装并使用这些工具的具体步骤会因工具而异,你可以查阅对应工具的文档以获取详细信息。 + +### 结论 + +选择哪种方法取决于你的具体环境和需求。X11 转发更适合 Linux 用户,而 tmux 的 OSC52 方法和第三方工具则更加通用,但可能需要更多的配置。在尝试这些方法之前,请确保了解其安全性和性能影响,并确保你的环境支持所需的功能k。 diff --git "a/data/blog/\345\215\232\345\256\242\347\233\256\345\275\225\347\273\223\346\236\204\345\210\206\346\236\220.mdx" "b/data/blog/\345\215\232\345\256\242\347\233\256\345\275\225\347\273\223\346\236\204\345\210\206\346\236\220.mdx" index 1a88795..f132053 100644 --- "a/data/blog/\345\215\232\345\256\242\347\233\256\345\275\225\347\273\223\346\236\204\345\210\206\346\236\220.mdx" +++ "b/data/blog/\345\215\232\345\256\242\347\233\256\345\275\225\347\273\223\346\236\204\345\210\206\346\236\220.mdx" @@ -18,6 +18,9 @@ summary: 该博客目录结构分析 - Image.tsx: 图片组件 ``` +## MDXComponents 组件分析 +把多个基础组件组合起来用于blog页面渲染mdx文件, 包括自定义的a标签, TOC, 代码块组件, 表格组件等 + # 数据目录: ``` - data/: 存放静态数据和配置 diff --git a/data/projectsData.ts b/data/projectsData.ts index 24976ed..549a06e 100644 --- a/data/projectsData.ts +++ b/data/projectsData.ts @@ -6,14 +6,14 @@ interface Project { } const projectsData: Project[] = [ - { - title: 'The Time Machine', - description: `Imagine being able to travel back in time or to the future. Simple turn the knob - to the desired date and press "Go". No more worrying about lost keys or - forgotten headphones with this simple yet affordable solution.`, - imgSrc: '/static/images/time-machine.jpg', - href: '/blog/the-time-machine', - }, + // { + // title: 'The Time Machine', + // description: `Imagine being able to travel back in time or to the future. Simple turn the knob + // to the desired date and press "Go". No more worrying about lost keys or + // forgotten headphones with this simple yet affordable solution.`, + // imgSrc: '/static/images/time-machine.jpg', + // href: '/blog/the-time-machine', + // }, ] export default projectsData diff --git a/package.json b/package.json index 07c5c32..14e703e 100644 --- a/package.json +++ b/package.json @@ -18,14 +18,14 @@ "@tailwindcss/typography": "^0.5.12", "autoprefixer": "^10.4.13", "body-scroll-lock": "^4.0.0-beta.0", - "contentlayer2": "0.4.6", + "contentlayer2": "0.5.1", "esbuild": "0.20.2", "github-slugger": "^2.0.0", "gray-matter": "^4.0.2", "hast-util-from-html-isomorphic": "^2.0.0", "image-size": "1.0.0", "next": "14.2.3", - "next-contentlayer2": "0.4.6", + "next-contentlayer2": "0.5.1", "next-themes": "^0.3.0", "pliny": "0.2.1", "postcss": "^8.4.24", diff --git a/yarn.lock b/yarn.lock index cb613a8..246ee71 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1742,6 +1742,18 @@ __metadata: languageName: node linkType: hard +"@contentlayer2/cli@npm:0.5.1": + version: 0.5.1 + resolution: "@contentlayer2/cli@npm:0.5.1" + dependencies: + "@contentlayer2/core": 0.5.1 + "@contentlayer2/utils": 0.5.1 + clipanion: ^3.2.1 + typanion: ^3.12.1 + checksum: 2e89e9b2f1f9e060e26e9ed2f4e9ad4c463783f245cc1377b4489f9af439ee96f411d7ac37b726bfc8b0f482b28b2f67cdc54f4c9e84956e83fc0601fbc190af + languageName: node + linkType: hard + "@contentlayer2/client@npm:0.4.3": version: 0.4.3 resolution: "@contentlayer2/client@npm:0.4.3" @@ -1751,6 +1763,15 @@ __metadata: languageName: node linkType: hard +"@contentlayer2/client@npm:0.5.1": + version: 0.5.1 + resolution: "@contentlayer2/client@npm:0.5.1" + dependencies: + "@contentlayer2/core": 0.5.1 + checksum: d4b8edeac1f9236c5ac199ea62843fda14e14e49945aed895c985f22a2093f14e76ae059d5ab1f878a36cd5aefa4fb2940fb8023f46927c58826d56f9ed973af + languageName: node + linkType: hard + "@contentlayer2/core@npm:0.4.3": version: 0.4.3 resolution: "@contentlayer2/core@npm:0.4.3" @@ -1780,6 +1801,35 @@ __metadata: languageName: node linkType: hard +"@contentlayer2/core@npm:0.5.1": + version: 0.5.1 + resolution: "@contentlayer2/core@npm:0.5.1" + dependencies: + "@contentlayer2/utils": 0.5.1 + camel-case: ^4.1.2 + comment-json: ^4.2.3 + esbuild: ">=0.17" + gray-matter: ^4.0.3 + mdx-bundler: ^10.0.2 + rehype-stringify: ^10.0.0 + remark-frontmatter: ^5.0.0 + remark-parse: ^11.0.0 + remark-rehype: ^11.1.0 + source-map-support: ^0.5.21 + type-fest: ^4.10.0 + unified: ^11.0.4 + peerDependencies: + esbuild: ">=0.17" + markdown-wasm: 1.x + peerDependenciesMeta: + esbuild: + optional: true + markdown-wasm: + optional: true + checksum: 43def2ecbf79d272a0accefd73a413b332c228f63567b7b0371dee99dfb0f5f4c2dbe59f3f9ac41e072da58b84d081502b50e9589d673bf64d62d91aa8baf97e + languageName: node + linkType: hard + "@contentlayer2/source-files@npm:0.4.3": version: 0.4.3 resolution: "@contentlayer2/source-files@npm:0.4.3" @@ -1799,6 +1849,25 @@ __metadata: languageName: node linkType: hard +"@contentlayer2/source-files@npm:0.5.1": + version: 0.5.1 + resolution: "@contentlayer2/source-files@npm:0.5.1" + dependencies: + "@contentlayer2/core": 0.5.1 + "@contentlayer2/utils": 0.5.1 + chokidar: ^3.5.3 + fast-glob: ^3.2.12 + gray-matter: ^4.0.3 + imagescript: ^1.2.16 + micromatch: ^4.0.5 + ts-pattern: ^5.0.6 + unified: ^11.0.4 + yaml: ^2.3.1 + zod: ^3.22.4 + checksum: 464d9aa16a9f185cb8cf09c2f2428980ce56a75e28d46f0813dc14fed70ada67d50569aa0b0ad312f43b87690171395173b55a14ef0a090b7373b4d3e91fc939 + languageName: node + linkType: hard + "@contentlayer2/source-remote-files@npm:0.4.3": version: 0.4.3 resolution: "@contentlayer2/source-remote-files@npm:0.4.3" @@ -1810,6 +1879,17 @@ __metadata: languageName: node linkType: hard +"@contentlayer2/source-remote-files@npm:0.5.1": + version: 0.5.1 + resolution: "@contentlayer2/source-remote-files@npm:0.5.1" + dependencies: + "@contentlayer2/core": 0.5.1 + "@contentlayer2/source-files": 0.5.1 + "@contentlayer2/utils": 0.5.1 + checksum: d09d1e4ad928ad7c59487ac1604b7d7e80879a122a09571b012b366a20d84b928c3a55adaa6febfbae0a9225a732823f5d04c299aca226940940da2c0f141d7b + languageName: node + linkType: hard + "@contentlayer2/utils@npm:0.4.3": version: 0.4.3 resolution: "@contentlayer2/utils@npm:0.4.3" @@ -1843,6 +1923,39 @@ __metadata: languageName: node linkType: hard +"@contentlayer2/utils@npm:0.5.1": + version: 0.5.1 + resolution: "@contentlayer2/utils@npm:0.5.1" + dependencies: + "@effect-ts/core": ^0.60.5 + "@effect-ts/otel": ^0.15.1 + "@effect-ts/otel-sdk-trace-node": ^0.15.1 + "@js-temporal/polyfill": ^0.4.4 + "@opentelemetry/api": ^1.8.0 + "@opentelemetry/core": ^1.24.0 + "@opentelemetry/exporter-trace-otlp-grpc": ^0.51.0 + "@opentelemetry/resources": ^1.21.0 + "@opentelemetry/sdk-trace-base": ^1.21.0 + "@opentelemetry/sdk-trace-node": ^1.21.0 + "@opentelemetry/semantic-conventions": ^1.21.0 + chokidar: ^3.5.3 + hash-wasm: ^4.11.0 + inflection: ^3.0.0 + memfs: ^4.8.2 + oo-ascii-tree: ^1.94.0 + ts-pattern: ^5.0.6 + type-fest: ^4.10.0 + peerDependenciesMeta: + "@effect-ts/core": + optional: true + "@effect-ts/otel": + optional: true + "@effect-ts/otel-node": + optional: true + checksum: 47e3fad395d4a79ddb307382beeb17e4135a9feddc763f039eac723e7254b91483ec43206560fa90df7c6d285abe9781d198b259e9f3321d2890fc30dc996e5b + languageName: node + linkType: hard + "@discoveryjs/json-ext@npm:0.5.7": version: 0.5.7 resolution: "@discoveryjs/json-ext@npm:0.5.7" @@ -1947,6 +2060,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/aix-ppc64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/aix-ppc64@npm:0.23.1" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/android-arm64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/android-arm64@npm:0.20.2" @@ -1954,6 +2074,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/android-arm64@npm:0.23.1" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/android-arm@npm:0.20.2" @@ -1961,6 +2088,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/android-arm@npm:0.23.1" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/android-x64@npm:0.20.2" @@ -1968,6 +2102,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/android-x64@npm:0.23.1" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/darwin-arm64@npm:0.20.2" @@ -1975,6 +2116,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/darwin-arm64@npm:0.23.1" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/darwin-x64@npm:0.20.2" @@ -1982,6 +2130,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/darwin-x64@npm:0.23.1" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/freebsd-arm64@npm:0.20.2" @@ -1989,6 +2144,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/freebsd-arm64@npm:0.23.1" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/freebsd-x64@npm:0.20.2" @@ -1996,6 +2158,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/freebsd-x64@npm:0.23.1" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/linux-arm64@npm:0.20.2" @@ -2003,6 +2172,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-arm64@npm:0.23.1" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/linux-arm@npm:0.20.2" @@ -2010,6 +2186,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-arm@npm:0.23.1" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/linux-ia32@npm:0.20.2" @@ -2017,6 +2200,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-ia32@npm:0.23.1" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/linux-loong64@npm:0.20.2" @@ -2024,6 +2214,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-loong64@npm:0.23.1" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/linux-mips64el@npm:0.20.2" @@ -2031,6 +2228,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-mips64el@npm:0.23.1" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/linux-ppc64@npm:0.20.2" @@ -2038,6 +2242,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-ppc64@npm:0.23.1" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/linux-riscv64@npm:0.20.2" @@ -2045,6 +2256,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-riscv64@npm:0.23.1" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/linux-s390x@npm:0.20.2" @@ -2052,6 +2270,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-s390x@npm:0.23.1" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/linux-x64@npm:0.20.2" @@ -2059,6 +2284,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-x64@npm:0.23.1" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/netbsd-x64@npm:0.20.2" @@ -2066,6 +2298,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/netbsd-x64@npm:0.23.1" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/openbsd-arm64@npm:0.23.1" + conditions: os=openbsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/openbsd-x64@npm:0.20.2" @@ -2073,6 +2319,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/openbsd-x64@npm:0.23.1" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/sunos-x64@npm:0.20.2" @@ -2080,6 +2333,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/sunos-x64@npm:0.23.1" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/win32-arm64@npm:0.20.2" @@ -2087,6 +2347,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/win32-arm64@npm:0.23.1" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/win32-ia32@npm:0.20.2" @@ -2094,6 +2361,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/win32-ia32@npm:0.23.1" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.20.2": version: 0.20.2 resolution: "@esbuild/win32-x64@npm:0.20.2" @@ -2101,6 +2375,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/win32-x64@npm:0.23.1" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -4443,7 +4724,23 @@ __metadata: languageName: node linkType: hard -"contentlayer2@npm:0.4.6, contentlayer2@npm:^0.4.6": +"contentlayer2@npm:0.5.1": + version: 0.5.1 + resolution: "contentlayer2@npm:0.5.1" + dependencies: + "@contentlayer2/cli": 0.5.1 + "@contentlayer2/client": 0.5.1 + "@contentlayer2/core": 0.5.1 + "@contentlayer2/source-files": 0.5.1 + "@contentlayer2/source-remote-files": 0.5.1 + "@contentlayer2/utils": 0.5.1 + bin: + contentlayer2: ./bin/cli.cjs + checksum: 68b8f9f19c2ed86a7eee632138feb86cca16c08474a779e1d5dab37d3555ad51468806d36e43576ec1ceadc43984c036ab97e2213c1636d3210d07f52299f404 + languageName: node + linkType: hard + +"contentlayer2@npm:^0.4.6": version: 0.4.6 resolution: "contentlayer2@npm:0.4.6" dependencies: @@ -5174,6 +5471,89 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:>=0.17": + version: 0.23.1 + resolution: "esbuild@npm:0.23.1" + dependencies: + "@esbuild/aix-ppc64": 0.23.1 + "@esbuild/android-arm": 0.23.1 + "@esbuild/android-arm64": 0.23.1 + "@esbuild/android-x64": 0.23.1 + "@esbuild/darwin-arm64": 0.23.1 + "@esbuild/darwin-x64": 0.23.1 + "@esbuild/freebsd-arm64": 0.23.1 + "@esbuild/freebsd-x64": 0.23.1 + "@esbuild/linux-arm": 0.23.1 + "@esbuild/linux-arm64": 0.23.1 + "@esbuild/linux-ia32": 0.23.1 + "@esbuild/linux-loong64": 0.23.1 + "@esbuild/linux-mips64el": 0.23.1 + "@esbuild/linux-ppc64": 0.23.1 + "@esbuild/linux-riscv64": 0.23.1 + "@esbuild/linux-s390x": 0.23.1 + "@esbuild/linux-x64": 0.23.1 + "@esbuild/netbsd-x64": 0.23.1 + "@esbuild/openbsd-arm64": 0.23.1 + "@esbuild/openbsd-x64": 0.23.1 + "@esbuild/sunos-x64": 0.23.1 + "@esbuild/win32-arm64": 0.23.1 + "@esbuild/win32-ia32": 0.23.1 + "@esbuild/win32-x64": 0.23.1 + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-arm64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 0413c3b9257327fb598427688b7186ea335bf1693746fe5713cc93c95854d6388b8ed4ad643fddf5b5ace093f7dcd9038dd58e087bf2da1f04dfb4c5571660af + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.2 resolution: "escalade@npm:3.1.2" @@ -8594,7 +8974,22 @@ __metadata: languageName: node linkType: hard -"next-contentlayer2@npm:0.4.6, next-contentlayer2@npm:^0.4.6": +"next-contentlayer2@npm:0.5.1": + version: 0.5.1 + resolution: "next-contentlayer2@npm:0.5.1" + dependencies: + "@contentlayer2/core": 0.5.1 + "@contentlayer2/utils": 0.5.1 + peerDependencies: + contentlayer2: 0.5.1 + next: ">=12.0.0" + react: "*" + react-dom: "*" + checksum: 03c7844f3ac04af1d509878ad8bd09317b09b02b646ad141dfb56d6757216c503ac3a3d10a90aaa2dfcf6cb17b08ae2be63cffd087c9a7b64b1962583c57b0af + languageName: node + linkType: hard + +"next-contentlayer2@npm:^0.4.6": version: 0.4.6 resolution: "next-contentlayer2@npm:0.4.6" dependencies: @@ -10916,7 +11311,7 @@ __metadata: "@typescript-eslint/parser": ^6.1.0 autoprefixer: ^10.4.13 body-scroll-lock: ^4.0.0-beta.0 - contentlayer2: 0.4.6 + contentlayer2: 0.5.1 cross-env: ^7.0.3 esbuild: 0.20.2 eslint: ^8.45.0 @@ -10930,7 +11325,7 @@ __metadata: image-size: 1.0.0 lint-staged: ^13.0.0 next: 14.2.3 - next-contentlayer2: 0.4.6 + next-contentlayer2: 0.5.1 next-themes: ^0.3.0 pliny: 0.2.1 postcss: ^8.4.24