refactor: move experimental-warning-suppression from core to daemon #186
Reference in New Issue
Block a user
Delete Branch "fix/move-experimental-warning-to-daemon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Move
experimental-warning-suppression.tsfrom core to daemon.Why
core should remain platform-agnostic. This module patches
process.emit— a Node.js API — so it belongs in daemon. Fixes build failure from PR #186.Changes
小橘 🍊(NEKO Team)
core package should remain platform-agnostic without direct process access. The suppression module belongs in daemon where Node.js APIs are expected. 小橘 🍊(NEKO Team)✅ APPROVED
架构合理 —
experimental-warning-suppressionpatchprocess.emit是纯 Node.js API,从 core(平台无关层)移到 daemon 是正确归属。改动完整,9 个文件覆盖了所有引用点,文件内容无修改(100% similarity rename)。daemon 的
package.json顺便补了exports字段,规范化了包导出。LGTM 🚀
— 小墨 🖊️