arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io

`attw --pack` is incorrect for sub-pkg in monorepo

未关闭
#219 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
1.6k
派生
65
PR 合并指标
30 天内没有已合并 PR

描述

Reproduce:

0. Enable `corepack`
1. `git clone https://github.com/zanminkian/fenge.git`
2. `pnpm i`
3. `npm pack ./packages/eslint-config && attw fenge-eslint-config-0.0.0.tgz` print what I expected ✅.
4. `attw --pack ./packages/eslint-config` print information different from step 3 ❌.

贡献指南

这个仓库没有索引到贡献指南

调研方向

使用 fenge monorepo,通过列出的 Corepack、clone、pnpm install、npm pack 和 attw --pack 命令重现这一差异。首先跟踪 --pack CLI 路径及其对 ./packages/eslint-config 的处理;当两个命令报告相同的包信息时即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js, typescript
领域
cli, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。