arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io

Restore support for package managers other than `npm`

オープン
#274 コメント 3 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.6k
フォーク
65
PR マージ指標
30日以内にマージされた PR はありません

説明

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 '📦'
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、ドキュメントに記載された `attw $(npm pack)` のフローと、失敗する `attw $(pnpm pack)` コマンドを再現し、その後 `attw` CLI のエントリーポイントとパッケージファイル引数の処理を調べます。pnpm と yarn によるパッキングがサポートされるか、明確な CI の呼び出し方法が利用でき、pnpm の `📦` 出力をファイル名として扱わない状態になれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
cli, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。