background picture of the home page

Hi,Friend

「实践」别再让开发被 build 拖慢

为什么总是被 build 拖慢? 在传统的库开发模式中,构建产物 也就是 dist 目录,是库的唯一入口。 "exports": {    "./package.json": "./package.json",    ".": {      "types": "./dist/index.d.t

thumbnail of the cover of the post

记一次 USB 3.2 vs NVME 硬盘的性能基准测试

最近给家里的小主机挂了个尿袋,是绿联的 USB 3.2 外接硬盘盒,RTL9210 芯片(虽然 UASP 兼容性差,但通过折腾还是支持上了...),所以想测试下性能咋样,顺便连带两个用了半年的同型号 NVME 盘一起测了叭,作为对比记录在下面。 准备 平台:Arch Linux (6.17.1-ar

thumbnail of the cover of the post

「RFC」类型化路由参数提案

摘要 本 RFC 提出一种类型化路由参数的机制,用于前端开发中路由跳转的参数传递。通过自动推断和类型化目标页面的路由参数,减少手动维护文档和跳转表的复杂性,提高开发效率和代码可靠性。该提案借鉴 “Typed Router” 的概念,实现参数的静态类型检查和提示,适用于复杂的前端项目,尤其是涉及跨组协

thumbnail of the cover of the post

「踩坑」解决 Chrome 140 在 macOS 26 白屏的问题

今天刚升级到 macOS Tahoe 26 正式版,遇到了一个问题: 谷歌 Chrome 打开完全白屏。 即使访问 chrome://settings/system 也白屏幕。 初步判断是 GPU 硬件加速的一些配置导致白屏,可以这样解决: 问题 Chrome 在启动时白屏,打开任何内容都是白屏的,

thumbnail of the cover of the post

配置 Gitlab CI/CD + vitest 测试覆盖率报告生成

一、安装必要依赖 Vitest 使用 c8 来生成覆盖率报告。确保项目已经安装以下依赖: pnpm add -D vitest c8 # or npm / yarn 二、Vitest 配置覆盖率收集 在 vitest.config.ts 中加入如下配置: import { defineConfig

thumbnail of the cover of the post

Argo CD 添加集群(k0s)

Argo CD 多集群管理的必要性 为什么需要连接跨集群? 在现代云原生架构中,企业通常面临 多集群部署场景: 环境隔离需求

thumbnail of the cover of the post