建立完整的 CLI 产品基础骨架,支持多种演进方向 - 添加项目基础配置(package.json、tsconfig、pnpm-lock.yaml、.gitignore、.npmignore) - 实现运行时基础设施(RuntimeServices 统一注入、日志、输出模式、配置存储、插件加载、任务注册表) - 采用 command/use-case/presenter 三层架构组织业务模块(demo、config、task) - 添加 UI 渲染层(banner、panel、table、主题样式) - 实现插件机制,支持运行时扫描加载外部模块和任务 - 支持 text/json 双输出模式,便于集成与调试 - 添加统一错误模型 AppError 和 CLI 错误边界处理 - 基于 node:test 建立测试基座,包含示例测试用例 - 配置 npm 发布脚本和包元数据 - 编写完整 README 文档,包含快速开始、开发约定和演进方向
361 lines
10 KiB
YAML
361 lines
10 KiB
YAML
lockfileVersion: '9.0'
|
|
|
|
settings:
|
|
autoInstallPeers: true
|
|
excludeLinksFromLockfile: false
|
|
|
|
importers:
|
|
|
|
.:
|
|
dependencies:
|
|
commander:
|
|
specifier: ^14.0.3
|
|
version: 14.0.3
|
|
picocolors:
|
|
specifier: ^1.1.1
|
|
version: 1.1.1
|
|
devDependencies:
|
|
'@types/node':
|
|
specifier: ^24.12.0
|
|
version: 24.12.0
|
|
tsx:
|
|
specifier: ^4.21.0
|
|
version: 4.21.0
|
|
typescript:
|
|
specifier: ^5.9.3
|
|
version: 5.9.3
|
|
|
|
packages:
|
|
|
|
'@esbuild/aix-ppc64@0.27.4':
|
|
resolution: {integrity: sha512-cQPwL2mp2nSmHHJlCyoXgHGhbEPMrEEU5xhkcy3Hs/O7nGZqEpZ2sUtLaL9MORLtDfRvVl2/3PAuEkYZH0Ty8Q==}
|
|
engines: {node: '>=18'}
|
|
cpu: [ppc64]
|
|
os: [aix]
|
|
|
|
'@esbuild/android-arm64@0.27.4':
|
|
resolution: {integrity: sha512-gdLscB7v75wRfu7QSm/zg6Rx29VLdy9eTr2t44sfTW7CxwAtQghZ4ZnqHk3/ogz7xao0QAgrkradbBzcqFPasw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [android]
|
|
|
|
'@esbuild/android-arm@0.27.4':
|
|
resolution: {integrity: sha512-X9bUgvxiC8CHAGKYufLIHGXPJWnr0OCdR0anD2e21vdvgCI8lIfqFbnoeOz7lBjdrAGUhqLZLcQo6MLhTO2DKQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm]
|
|
os: [android]
|
|
|
|
'@esbuild/android-x64@0.27.4':
|
|
resolution: {integrity: sha512-PzPFnBNVF292sfpfhiyiXCGSn9HZg5BcAz+ivBuSsl6Rk4ga1oEXAamhOXRFyMcjwr2DVtm40G65N3GLeH1Lvw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [android]
|
|
|
|
'@esbuild/darwin-arm64@0.27.4':
|
|
resolution: {integrity: sha512-b7xaGIwdJlht8ZFCvMkpDN6uiSmnxxK56N2GDTMYPr2/gzvfdQN8rTfBsvVKmIVY/X7EM+/hJKEIbbHs9oA4tQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [darwin]
|
|
|
|
'@esbuild/darwin-x64@0.27.4':
|
|
resolution: {integrity: sha512-sR+OiKLwd15nmCdqpXMnuJ9W2kpy0KigzqScqHI3Hqwr7IXxBp3Yva+yJwoqh7rE8V77tdoheRYataNKL4QrPw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [darwin]
|
|
|
|
'@esbuild/freebsd-arm64@0.27.4':
|
|
resolution: {integrity: sha512-jnfpKe+p79tCnm4GVav68A7tUFeKQwQyLgESwEAUzyxk/TJr4QdGog9sqWNcUbr/bZt/O/HXouspuQDd9JxFSw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [freebsd]
|
|
|
|
'@esbuild/freebsd-x64@0.27.4':
|
|
resolution: {integrity: sha512-2kb4ceA/CpfUrIcTUl1wrP/9ad9Atrp5J94Lq69w7UwOMolPIGrfLSvAKJp0RTvkPPyn6CIWrNy13kyLikZRZQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [freebsd]
|
|
|
|
'@esbuild/linux-arm64@0.27.4':
|
|
resolution: {integrity: sha512-7nQOttdzVGth1iz57kxg9uCz57dxQLHWxopL6mYuYthohPKEK0vU0C3O21CcBK6KDlkYVcnDXY099HcCDXd9dA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-arm@0.27.4':
|
|
resolution: {integrity: sha512-aBYgcIxX/wd5n2ys0yESGeYMGF+pv6g0DhZr3G1ZG4jMfruU9Tl1i2Z+Wnj9/KjGz1lTLCcorqE2viePZqj4Eg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-ia32@0.27.4':
|
|
resolution: {integrity: sha512-oPtixtAIzgvzYcKBQM/qZ3R+9TEUd1aNJQu0HhGyqtx6oS7qTpvjheIWBbes4+qu1bNlo2V4cbkISr8q6gRBFA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [ia32]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-loong64@0.27.4':
|
|
resolution: {integrity: sha512-8mL/vh8qeCoRcFH2nM8wm5uJP+ZcVYGGayMavi8GmRJjuI3g1v6Z7Ni0JJKAJW+m0EtUuARb6Lmp4hMjzCBWzA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [loong64]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-mips64el@0.27.4':
|
|
resolution: {integrity: sha512-1RdrWFFiiLIW7LQq9Q2NES+HiD4NyT8Itj9AUeCl0IVCA459WnPhREKgwrpaIfTOe+/2rdntisegiPWn/r/aAw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [mips64el]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-ppc64@0.27.4':
|
|
resolution: {integrity: sha512-tLCwNG47l3sd9lpfyx9LAGEGItCUeRCWeAx6x2Jmbav65nAwoPXfewtAdtbtit/pJFLUWOhpv0FpS6GQAmPrHA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [ppc64]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-riscv64@0.27.4':
|
|
resolution: {integrity: sha512-BnASypppbUWyqjd1KIpU4AUBiIhVr6YlHx/cnPgqEkNoVOhHg+YiSVxM1RLfiy4t9cAulbRGTNCKOcqHrEQLIw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [riscv64]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-s390x@0.27.4':
|
|
resolution: {integrity: sha512-+eUqgb/Z7vxVLezG8bVB9SfBie89gMueS+I0xYh2tJdw3vqA/0ImZJ2ROeWwVJN59ihBeZ7Tu92dF/5dy5FttA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [s390x]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-x64@0.27.4':
|
|
resolution: {integrity: sha512-S5qOXrKV8BQEzJPVxAwnryi2+Iq5pB40gTEIT69BQONqR7JH1EPIcQ/Uiv9mCnn05jff9umq/5nqzxlqTOg9NA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [linux]
|
|
|
|
'@esbuild/netbsd-arm64@0.27.4':
|
|
resolution: {integrity: sha512-xHT8X4sb0GS8qTqiwzHqpY00C95DPAq7nAwX35Ie/s+LO9830hrMd3oX0ZMKLvy7vsonee73x0lmcdOVXFzd6Q==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [netbsd]
|
|
|
|
'@esbuild/netbsd-x64@0.27.4':
|
|
resolution: {integrity: sha512-RugOvOdXfdyi5Tyv40kgQnI0byv66BFgAqjdgtAKqHoZTbTF2QqfQrFwa7cHEORJf6X2ht+l9ABLMP0dnKYsgg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [netbsd]
|
|
|
|
'@esbuild/openbsd-arm64@0.27.4':
|
|
resolution: {integrity: sha512-2MyL3IAaTX+1/qP0O1SwskwcwCoOI4kV2IBX1xYnDDqthmq5ArrW94qSIKCAuRraMgPOmG0RDTA74mzYNQA9ow==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [openbsd]
|
|
|
|
'@esbuild/openbsd-x64@0.27.4':
|
|
resolution: {integrity: sha512-u8fg/jQ5aQDfsnIV6+KwLOf1CmJnfu1ShpwqdwC0uA7ZPwFws55Ngc12vBdeUdnuWoQYx/SOQLGDcdlfXhYmXQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [openbsd]
|
|
|
|
'@esbuild/openharmony-arm64@0.27.4':
|
|
resolution: {integrity: sha512-JkTZrl6VbyO8lDQO3yv26nNr2RM2yZzNrNHEsj9bm6dOwwu9OYN28CjzZkH57bh4w0I2F7IodpQvUAEd1mbWXg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [openharmony]
|
|
|
|
'@esbuild/sunos-x64@0.27.4':
|
|
resolution: {integrity: sha512-/gOzgaewZJfeJTlsWhvUEmUG4tWEY2Spp5M20INYRg2ZKl9QPO3QEEgPeRtLjEWSW8FilRNacPOg8R1uaYkA6g==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [sunos]
|
|
|
|
'@esbuild/win32-arm64@0.27.4':
|
|
resolution: {integrity: sha512-Z9SExBg2y32smoDQdf1HRwHRt6vAHLXcxD2uGgO/v2jK7Y718Ix4ndsbNMU/+1Qiem9OiOdaqitioZwxivhXYg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [win32]
|
|
|
|
'@esbuild/win32-ia32@0.27.4':
|
|
resolution: {integrity: sha512-DAyGLS0Jz5G5iixEbMHi5KdiApqHBWMGzTtMiJ72ZOLhbu/bzxgAe8Ue8CTS3n3HbIUHQz/L51yMdGMeoxXNJw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [ia32]
|
|
os: [win32]
|
|
|
|
'@esbuild/win32-x64@0.27.4':
|
|
resolution: {integrity: sha512-+knoa0BDoeXgkNvvV1vvbZX4+hizelrkwmGJBdT17t8FNPwG2lKemmuMZlmaNQ3ws3DKKCxpb4zRZEIp3UxFCg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [win32]
|
|
|
|
'@types/node@24.12.0':
|
|
resolution: {integrity: sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==}
|
|
|
|
commander@14.0.3:
|
|
resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==}
|
|
engines: {node: '>=20'}
|
|
|
|
esbuild@0.27.4:
|
|
resolution: {integrity: sha512-Rq4vbHnYkK5fws5NF7MYTU68FPRE1ajX7heQ/8QXXWqNgqqJ/GkmmyxIzUnf2Sr/bakf8l54716CcMGHYhMrrQ==}
|
|
engines: {node: '>=18'}
|
|
hasBin: true
|
|
|
|
fsevents@2.3.3:
|
|
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
|
|
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
|
os: [darwin]
|
|
|
|
get-tsconfig@4.13.6:
|
|
resolution: {integrity: sha512-shZT/QMiSHc/YBLxxOkMtgSid5HFoauqCE3/exfsEcwg1WkeqjG+V40yBbBrsD+jW2HDXcs28xOfcbm2jI8Ddw==}
|
|
|
|
picocolors@1.1.1:
|
|
resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
|
|
|
|
resolve-pkg-maps@1.0.0:
|
|
resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
|
|
|
|
tsx@4.21.0:
|
|
resolution: {integrity: sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw==}
|
|
engines: {node: '>=18.0.0'}
|
|
hasBin: true
|
|
|
|
typescript@5.9.3:
|
|
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
|
|
engines: {node: '>=14.17'}
|
|
hasBin: true
|
|
|
|
undici-types@7.16.0:
|
|
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
|
|
|
|
snapshots:
|
|
|
|
'@esbuild/aix-ppc64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/android-arm64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/android-arm@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/android-x64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/darwin-arm64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/darwin-x64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/freebsd-arm64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/freebsd-x64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/linux-arm64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/linux-arm@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/linux-ia32@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/linux-loong64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/linux-mips64el@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/linux-ppc64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/linux-riscv64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/linux-s390x@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/linux-x64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/netbsd-arm64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/netbsd-x64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/openbsd-arm64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/openbsd-x64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/openharmony-arm64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/sunos-x64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/win32-arm64@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/win32-ia32@0.27.4':
|
|
optional: true
|
|
|
|
'@esbuild/win32-x64@0.27.4':
|
|
optional: true
|
|
|
|
'@types/node@24.12.0':
|
|
dependencies:
|
|
undici-types: 7.16.0
|
|
|
|
commander@14.0.3: {}
|
|
|
|
esbuild@0.27.4:
|
|
optionalDependencies:
|
|
'@esbuild/aix-ppc64': 0.27.4
|
|
'@esbuild/android-arm': 0.27.4
|
|
'@esbuild/android-arm64': 0.27.4
|
|
'@esbuild/android-x64': 0.27.4
|
|
'@esbuild/darwin-arm64': 0.27.4
|
|
'@esbuild/darwin-x64': 0.27.4
|
|
'@esbuild/freebsd-arm64': 0.27.4
|
|
'@esbuild/freebsd-x64': 0.27.4
|
|
'@esbuild/linux-arm': 0.27.4
|
|
'@esbuild/linux-arm64': 0.27.4
|
|
'@esbuild/linux-ia32': 0.27.4
|
|
'@esbuild/linux-loong64': 0.27.4
|
|
'@esbuild/linux-mips64el': 0.27.4
|
|
'@esbuild/linux-ppc64': 0.27.4
|
|
'@esbuild/linux-riscv64': 0.27.4
|
|
'@esbuild/linux-s390x': 0.27.4
|
|
'@esbuild/linux-x64': 0.27.4
|
|
'@esbuild/netbsd-arm64': 0.27.4
|
|
'@esbuild/netbsd-x64': 0.27.4
|
|
'@esbuild/openbsd-arm64': 0.27.4
|
|
'@esbuild/openbsd-x64': 0.27.4
|
|
'@esbuild/openharmony-arm64': 0.27.4
|
|
'@esbuild/sunos-x64': 0.27.4
|
|
'@esbuild/win32-arm64': 0.27.4
|
|
'@esbuild/win32-ia32': 0.27.4
|
|
'@esbuild/win32-x64': 0.27.4
|
|
|
|
fsevents@2.3.3:
|
|
optional: true
|
|
|
|
get-tsconfig@4.13.6:
|
|
dependencies:
|
|
resolve-pkg-maps: 1.0.0
|
|
|
|
picocolors@1.1.1: {}
|
|
|
|
resolve-pkg-maps@1.0.0: {}
|
|
|
|
tsx@4.21.0:
|
|
dependencies:
|
|
esbuild: 0.27.4
|
|
get-tsconfig: 4.13.6
|
|
optionalDependencies:
|
|
fsevents: 2.3.3
|
|
|
|
typescript@5.9.3: {}
|
|
|
|
undici-types@7.16.0: {}
|