chore(deps): upgrade dependencies to latest and pnpm to 12.1.0 - #84
Merged
Merged
Conversation
Bump astro 7.1.4 -> 7.2.9, @astrojs/mdx 7.0.4 -> 7.0.8, @astrojs/react 6.0.1 -> 6.0.4, @astrojs/markdown-satteri 0.3.4 -> 0.3.8, sharp 0.35.3 -> 0.35.4, tsx 4.23.1 -> 4.23.13, @types/node 26.1.1 -> 26.4.0, openai 6.49.0 -> 7.8.0, and the @types/react* patches. Move @astrojs/check, typescript and the @types/react* packages to devDependencies, where their build/type-time-only role belongs. Two packages deliberately stay behind "latest": - typescript holds at 6.0.3. @astrojs/check@0.9.10 (already latest) declares a peer range of ^5 || ^6, and TS 7 shipped without a stable programmatic API, so Astro/Volar tooling cannot run on it yet. - satori holds at 0.32.0. 0.33.0 replaced text shaping with HarfBuzz, which cannot resolve glyphs from the 19MB LXGWWenKai CJK font used for the OG image: every glyph renders as tofu and the layout shifts left. The build stays green, so this is only caught by looking at the output. 0.32.0 renders byte-identical to 0.29.0; the caret on a 0.x version keeps resolution below 0.33. openai 7 is a major but dev-only (scripts/), and its breaking changes do not apply here: httpAgent is unused, scripts/face.ts already uses fs.createReadStream over the removed fileFromPath helper, and .del() is never called. Verified with pnpm build: astro check reports 0 errors, 78 pages build, SEO check passes, and dist/og.png is byte-identical to the pre-upgrade build. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxJKtsdMtdLsmLxR8XSvSd
…e excludes tailwind.config.js was a v3-style config left behind by the v4 migration. Tailwind v4 only loads a JS config when CSS declares @config, and src/global.css has only `@import "tailwindcss"`, so the file had no effect. Its two values are already covered without it: global.css hand-defines --at-primary-color plus .text-primary/.bg-primary/ .border-primary, and `lg:w-128` in Player.astro resolves through v4's dynamic spacing scale to calc(0.25rem * 128) = 32rem, the same width the old config declared. Verified in the built CSS and in the browser. minimumReleaseAgeExclude pinned exact versions (@astrojs/mdx@7.0.4, astro@7.1.4) that no longer exist in the tree. No minimumReleaseAge is configured in pnpm-workspace.yaml, ~/.npmrc or ~/.config/pnpm/rc, so the excludes were inert; install resolves every package to its intended version without them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxJKtsdMtdLsmLxR8XSvSd
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
AnnatarHe
temporarily deployed
to
chore/upgrade-deps-pnpm-12 - asynctalk-website PR #84
August 31, 2026 14:38 — with
Render
Destroyed
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades every dependency to its newest usable version, moves the package manager to pnpm 12, and clears out dead config.
Upgrades
astro@astrojs/mdx@astrojs/react@astrojs/markdown-satterisharptsx@types/node@types/react/@types/react-domopenai@astrojs/check,typescript, and the@types/react*packages moved todevDependencies, where their build/type-time-only role belongs.Two packages deliberately held back from "latest"
typescriptstays at 6.0.3.@astrojs/check@0.9.10— itself already at latest — declares a peer range of^5 || ^6, and TS 7 shipped without a stable programmatic API, so Astro/Volar tooling cannot run on it yet. Revisit when@astrojs/checkships a TS 7 peer range.satoripinned to^0.32.0. 0.33.0 replaced text shaping with HarfBuzz, which cannot resolve glyphs from the 19MBLXGWWenKai-Regular.ttfCJK font used for the OG image — every glyph renders as tofu and the layout shifts off-canvas:Bisected to exactly 0.33.0; 0.32.0 renders byte-identical to the previous 0.29.0 output. The caret on a
0.xversion keeps resolution below 0.33. Worth flagging:pnpm buildstays completely green on the broken version, so this is only catchable by looking at the rendered PNG.openai7 is a major but dev-only (scripts/), and none of its breaking changes apply:httpAgentis unused,scripts/face.tsalready usesfs.createReadStreamover the removedfileFromPathhelper, and.del()is never called.Cleanup
tailwind.config.js— a v3-style config left behind by the v4 migration. Tailwind v4 only loads a JS config when CSS declares@config, andsrc/global.csshas only@import "tailwindcss", so it had no effect. Both of its values survive without it:global.csshand-defines--at-primary-colorand the.text-primary/.bg-primary/.border-primaryclasses, andlg:w-128inPlayer.astroresolves through v4's dynamic spacing scale tocalc(0.25rem * 128)= 32rem — the same width the old config declared.minimumReleaseAgeExcludefrompnpm-workspace.yaml. It pinned exact versions (@astrojs/mdx@7.0.4,astro@7.1.4) no longer in the tree, and nominimumReleaseAgeis configured anywhere, so the excludes were inert.No unused packages
All 21 packages trace to a real import, config reference, or npm script. The four invisible to grep are still required:
react-domand@types/react-dom(peers of@astrojs/react, whose SSR renderer importsreact-dom/server),typescript(peer of@astrojs/check), and@astrojs/check/tsx(binary-only usage from npm scripts).Verification
pnpm buildgreen —astro check0 errors, 78 pages built, SEO check passes (78 HTML / 78 sitemap URLs / 76 RSS items)dist/og.pngbyte-identical to the pre-upgrade build/posts/ep73/checked in a browser: no console errors, cover art, player width, transcript section, JSON-LDtranscript/image, and RSS<itunes:image>all intactNot verified:
scripts/generate-thumbnail.tsandscripts/face.ts(theopenaiv7 consumers) need an API key and make paid calls — left for a manual run.🤖 Generated with Claude Code
https://claude.ai/code/session_01FxJKtsdMtdLsmLxR8XSvSd