mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-01-22 23:43:00 +08:00
Add info on pnpm
This commit is contained in:
parent
4d67da08b5
commit
6cd7ba6731
|
@ -97,7 +97,7 @@ chsrc set ruby rubychina # 使用 RubyChina 作为镜像站
|
|||
```bash
|
||||
chsrc set ruby 或 set gem
|
||||
chsrc set python 或 set pip
|
||||
chsrc set node 或 set npm / nodejs / yarn
|
||||
chsrc set node 或 set npm / nodejs / yarn / pnpm # 同时换3个
|
||||
chsrc set perl 或 set cpan
|
||||
chsrc set php 或 set composer
|
||||
chsrc set lua 或 set luarocks
|
||||
|
|
2
chsrc.c
2
chsrc.c
|
@ -1899,7 +1899,7 @@ TargetInfo
|
|||
static const char
|
||||
*pl_ruby [] = {"gem", "ruby", "rubygem", "rb", "rubygems",NULL, t(&pl_ruby_target)},
|
||||
*pl_python[] = {"pip", "python", "pypi", "py", NULL, t(&pl_python_target)},
|
||||
*pl_nodejs[] = {"npm", "node", "nodejs", "js", "yarn", NULL, t(&pl_nodejs_target)},
|
||||
*pl_nodejs[] = {"npm", "node", "nodejs", "js", "yarn", "pnpm", NULL, t(&pl_nodejs_target)},
|
||||
*pl_perl [] = {"perl", "cpan", NULL, t(&pl_perl_target)},
|
||||
*pl_php [] = {"php", "composer", NULL, t(&pl_php_target)},
|
||||
*pl_lua [] = {"lua", "luarocks", NULL, t(&pl_lua_target)},
|
||||
|
|
Loading…
Reference in New Issue
Block a user