arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io

Restore support for package managers other than `npm`

Open
#274 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
65
PR merge metrics
No merged PRs in 30d

Description

In https://github.com/arethetypeswrong/arethetypeswrong.github.io/pull/180, support for `pnpm`/`yarn` was removed, for reasons that aren't super clear (I guess there was a bug with the support? https://github.com/arethetypeswrong/arethetypeswrong.github.io/issues/179).

I'd propose support for packing with `pnpm`/`yarn` be restored. If not via automatic detection, at least to the point of being able to specify a way to use `attw` in CI neatly. For example, while `attw $(npm pack)` is documented, and works fine, `attw $(pnpm pack)` fails, with:

```plaintext
error while checking file:
ENOENT: no such file or directory, open '📦'
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the documented `attw $(npm pack)` flow and the failing `attw $(pnpm pack)` command, then inspect the `attw` CLI entry point and its package-file argument handling. Done means pnpm and yarn packing are supported, or a clear CI invocation is available, without treating pnpm's `📦` output as a filename.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.