feat(tools): merge getWebsiteConfig into envQuery for unified environment queries #171
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.
🚀 功能改进
将独立的 getWebsiteConfig 工具合并到现有的 envQuery 工具中,实现环境相关查询功能的统一管理。
✨ 主要变更
📋 验收标准
✅ envQuery 工具支持新增的 hosting 操作类型,用于查询静态网站托管配置
✅ getWebsiteConfig 工具从 hosting.ts 中移除,避免功能重复
✅ 合并后的工具保持原有功能的完整性,不影响现有用户的正常使用
✅ 合并后的 API 设计合理,符合工具合并的最佳实践
🔧 技术细节
📚 相关文档