Add homebrew distribution
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- typescript
调研方向
未指定文件、测试或入口点。首先检查现有的 npm 打包和发布配置,然后确定应在哪里集成 Homebrew 分发。完成的标准是 CLI 可以通过 Homebrew 在系统范围内安装,并且在项目使用不同 Node 版本时仍然可用;验证安装和调用路径。
由索引模型根据 Issue 内容生成。
描述
On MacOS Homebrew https://brew.sh is the defacto package manager to install Apps or CLIs.
Using npm for distributing the cli has some downsides
One I ran into today was that:
I use fnm to manage Node versions, which keeps multiple versions of Node and NPM and depending on the project needs it switches to the correct version using symlinks.
Since the cli is installed globally and the npm stores that in a folder scoped to a specific Node version, when I try to use the cli in a different repo which uses a different version of Node (and hence npm) the socket cli is not found.
With Homebrew distribution, the whole system gets the same socket cli version, unlike Node, Homebrew is installed system-wide and doesn't change per-project.
- 主要语言
- TypeScript
- 星标
- 317
- 派生
- 65
- 平均合并
- 1 小时 26 分钟
- 30 天内合并 PR
- 30
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SocketDev/socket-cli 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
SocketDev/socket-cli#1160 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
SocketDev/socket-cli#1547 ·
-
难度 5/5 一周以上 新手友好度 35/100
SocketDev/socket-cli#1525 ·
-
难度 3/5 1-2 天 新手友好度 45/100
SocketDev/socket-cli#1517 ·
-
难度 3/5 1-2 天 新手友好度 68/100
SocketDev/socket-cli#1498 ·
查看 SocketDev/socket-cli 的全部 Issue
相似的 Issue
-
blocklist removal
难度 2/5 1-3 小时 新手友好度 65/100
MetaMask/eth-phishing-detect#296544 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
pastelsky/bundlephobia#1122 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100