日記
長いこと個人開発してなかったので、色々な変更に合わせてアップデートが必要になってしまった。
npm-check-updates で ~ や ^ を取り除く
--removeRange をつける。
pnpm ncu -u --target latest --format group --removeRangeFrontmatter CMSにタイムゾーンを設定する
日時を自動設定するときにUTCの日時になっていると都合が悪い場合は "Asia/Tokyo" を設定する。
{
// ...
"frontMatter.global.timezone": "Asia/Tokyo"
// ...
}Next.js 15にアップデートしたい
npx @next/codemod@latest upgrade latestNext.js の codemod を読む
OGP はマイグレーション作業感を出そうと「工事現場 鉄骨 クレーン」で AI 生成した。前から思っているのだが大体生成に失敗する。あまり精度が良くないのは古くからある無料のものを使っているからなのだが、そろそろ自前でお絵描き AI をホスティングしてもいいかもと思いつつある。…
blog.ojisan.io

Turbopackのissue
CSS Modulesで :global を使っているとビルドできない。
Build error - Parsing css source code failed · tailwindlabs tailwindcss · Discussion #15905
I am using tailwind 4 (migrating from tailwind 3 to 4) shadcn and nextjs 15 with bun. After migrating to tailwind 4 without any problem, I ran bun run dev and the terminal output showed me this: ╭─...
github.com