chore(rslib): 验证 1.0.0-beta.2 构建迁移 - #431
Merged
Merged
Conversation
Contributor
Author
独立只读审查结论
当前 PR head |
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.
背景
关联 Issue:#430。维护者已确认方案 A:在隔离分支验证
@rslib/[email protected],先暴露 v1 迁移风险,不直接发布 npm。证据
2026-08-13 的核心依赖扫描完整结论为
ERROR=0、MANUAL_REVIEW=3、DEFER_COOLDOWN=4、EVALUATE=0、CURRENT=7。@rslib/corestable 仍为0.23.2,本 PR 仅针对已确认的 beta 候选1.0.0-beta.2。改动
package.json与packages/rslib-presets/package.json锁定@rslib/[email protected]。lib.autoExternal迁移为等价的output.autoExternal。[email protected]、@rsbuild/[email protected]与传递性的@rspack/[email protected];EMP CLI 直接 Rspack 仍保持2.1.8。.d.cts、emp-share 声明入口、UMD/CDN/HTTP smoke 回归断言。风险与回滚
@rspack/[email protected]是 Rslib beta 经 Rsbuild 2.1.11 引入的传递依赖,核心依赖扫描仍将其标为DEFER_COOLDOWN;本 PR 未把它作为独立升级主题。getBrowserSdkConfig与两个getRuntimeUmdConfig没有静态tests_for关联,但实际构建、产物、声明和 HTTP smoke 已覆盖调用路径。pnpm-lock.yaml与四个配置文件到@rslib/[email protected]版本;不涉及发布工作流。验证
corepack pnpm install --frozen-lockfile --ignore-scriptscorepack pnpm workflow:checkcorepack pnpm check:rslib-presetscorepack pnpm empbuildcorepack pnpm test:toolchain(12/12)corepack pnpm test:plugins(11/11)corepack pnpm test:cli(80/80)corepack pnpm test:packagescorepack pnpm test:library-output(1/1,含 DTS/UMD/HTTP smoke)corepack pnpm apps:acceptance(apps 契约 14/14,library-output 1/1)corepack pnpm ci:verify(退出 0)corepack pnpm audit --prod --json:现有依赖风险为 0 critical / 16 high / 14 moderate / 2 low,未发现 Rslib beta 新增 advisory不包含发布、Netlify、生成物或强制推送。