arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io
`attw --pack` is incorrect for sub-pkg in monorepo
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
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 ❌.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the discrepancy with the listed Corepack, clone, pnpm install, npm pack, and attw --pack commands using the fenge monorepo. Start by tracing the --pack CLI path and its handling of ./packages/eslint-config; done means both commands report the same package information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100