Version Packages (alpha) #759
Merged
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.



This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
[email protected]
Minor Changes
4cc94daThanks @sonofmagic! - 为 wetw 增加基于 cac 的 CLI(init/list/add),支持自定义配置路径、工作目录以及强制覆盖;init 时可选择框架类型(mp-weixin/uni-app vue3/taro react),默认写出含 framework 的 wetw.config.ts;同时内置 counter/tag 多端模板与线上 registry 示例。[email protected]
Patch Changes
4bfc52bThanks @sonofmagic! - 增强weapp-tw patch在 pnpm monorepo 下的体验:按子包 hash 隔离缓存记录,检测不一致时自动重打补丁并刷新元数据;支持--workspace扫描工作区逐包补丁,默认读取pnpm-lock.yaml/workspaces;新增--cwd优先级、记录中包含补丁版本与路径信息,避免跨包污染与告警。***f5fa2caThanks @sonofmagic! - 在 tailwindcss@4 未配置 cssEntries 时输出显眼警告,提示使用包含 tailwindcss 引用的 CSS 绝对路径。b0300a4Thanks @sonofmagic! - 修复当cssEntries指向子目录文件时强制重写 Tailwind v4base的问题,优先沿用工作区/用户指定根目录并在多包场景下智能分组;补充整合测试确保通过getCompilerContext仍能识别子目录样式并正确重写bg-[#00aa55]这类动态类名。2023d33Thanks @sonofmagic! - 修复 Vite 重写@import 'tailwindcss'的钩子顺序,确保 uni-app v4 构建时能提前改写为weapp-tailwindcss。