处理 web 工具链的小问题 - #179
Merged
Merged
Conversation
✅ Deploy Preview for luxury-mochi-9269a9 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
YDX-2147483647
marked this pull request as draft
July 15, 2026 11:26
YDX-2147483647
marked this pull request as ready for review
July 15, 2026 11:49
之前在 typst-doc-cn#131 升级了 VitePress 版本。新版 VitePress 更改了新创建而未提交页面的`lastUpdated`的格式,之前是`null`,现在是`0`。这导致新创建而未提交的页面在`pnpm dev`时用之前`<Layout>`会报错,渲染不了。 vuejs/vitepress#4958 vuejs/vitepress#5321
pnpm 在 typst-doc-cn#2 处理 bun 报错时固定到了 v10.11.0,供 netlify 读取。 https://docs.netlify.com/build/configure-builds/manage-dependencies/#pnpm 现在用 pnpm 最新版 v11 运行此项目时会套壳一个 v10.11.0,在 Windows 上严重拖慢性能,因此升级。 之前设置中的`peerDependencyRules`似乎没用,就删除了吧。 https://pnpm.io/migration
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.
fix: 让
<Layout>显示 typst 版本的代码支持 VitePress v2.0.0-alpha.13 及更新版之前在 chore: update VitePress to the lastest 2.0.0 α version #131 升级了 VitePress 版本。新版 VitePress 更改了新创建而未提交页面的
lastUpdated的格式,之前是null,现在是0。这导致新创建而未提交的页面在pnpm dev时渲染不了。perf: make a single git call for timestamps instead of calling it for each file vuejs/vitepress#4958
Missing changelog entry:
lastUpdatedfor uncommitted pages changes fromnullto0in v2.0.0-alpha.13 vuejs/vitepress#5321chore: upgrade pnpm to v11
pnpm 在 Cards #2 处理 bun 报错时固定到了 v10.11.0,供 netlify 读取。
https://docs.netlify.com/build/configure-builds/manage-dependencies/#pnpm
现在用 pnpm 最新版 v11 运行此项目时会套壳一个 v10.11.0,在 Windows 上严重拖慢性能,因此升级。