terminal
这将会在你的
package.json 中添加以下内容:
package.json
Bun 支持多种协议来指定 Git 依赖。
terminal
完整的 Bun 包管理器文档请参见 文档 > 包管理器。
bun add github:lodash/lodash
package.json 中添加以下内容:
{
"dependencies": {
"lodash": "github:lodash/lodash"
}
}
bun add git+https://github.com/lodash/lodash.git
bun add git+ssh://github.com/lodash/lodash.git#4.17.21
bun add [email protected]:lodash/lodash.git
bun add github:colinhacks/zod