doc: update jq.md #27
This commit is contained in:
parent
2cd9b59c98
commit
202d20e15b
12
docs/jq.md
12
docs/jq.md
@ -248,6 +248,18 @@ $ echo 'a b c d' | jq -R 'split(" ")'
|
||||
```
|
||||
<!--rehype:className=wrap-text -->
|
||||
|
||||
### 更改发布注册表
|
||||
|
||||
```bash
|
||||
echo "$(jq '.publishConfig.registry = "https://npm.pkg.github.com"' package.json)" > package.json
|
||||
```
|
||||
|
||||
将组织范围添加到包名称
|
||||
|
||||
```bash
|
||||
echo "$(jq '.name = "@scope/package"' package.json)" > package.json
|
||||
```
|
||||
|
||||
另见
|
||||
----
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user