arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io

Feature request: `attw --from-npm <pkg-name>` use `$(npm config get registry)` as its default registry

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

描述

Currently, for me, my npm registy is `https://registry.npmmirror.com`, not `https://registry.npmjs.org`. But running `attw --from-npm ` still fetch from the default npm registry. IMO, there are 2 solutions:

- allow `--registry` option for `attw` cmd.
- if not pass `--registry` option to `attw` cmd, use the result of `$(npm config get registry)` by default

贡献指南

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

调研方向

首先跟踪 `attw --from-npm ` 命令以及它如何选择 npm registry;将其与 `npm config get registry` 返回的值进行比较。在支持显式的 `--registry`,或省略该选项时使用已配置的 npm registry,并验证这两种情况下的行为后,工作即完成。

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

评估

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

把新 issue 发到你的邮箱

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