chore: migrate TS execution to tsx and improve mustard-cli reliability#14
Open
linbudu599 wants to merge 10 commits intomainfrom
Open
chore: migrate TS execution to tsx and improve mustard-cli reliability#14linbudu599 wants to merge 10 commits intomainfrom
linbudu599 wants to merge 10 commits intomainfrom
Conversation
❌ Deploy Preview for mustard-cli failed.
|
|
Unify runtime/test tooling by removing experimental Node flags and replacing ts-node-esm with tsx across workspace templates, then strengthen mustard-cli behavior with decorator compatibility fixes and robust integration/unit coverage improvements. Made-with: Cursor
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.
背景
这次合并后的单个提交整合了此前两次提交的改动,目标是:
mustard-cli在新运行时下的兼容性问题,并提升测试稳定性与覆盖率。主要改动
运行时与脚手架模板统一迁移到
tsx--experimental-specifier-resolution=node。ts-node-esm执行入口迁移为tsx(包含主仓库、sample、create 模板、experimentals、测试集成执行入口)。mustard-cli源码兼容性修复@Restrict装饰器逻辑,使其不再依赖装饰器执行顺序。测试与断言稳定性增强
execa相关集成测试链路。结果
mustard-cli全量测试通过:17 passed | 1 skipped。98.95%89.97%100%98.95%测试命令
pnpm --filter mustard-cli test -- --run