Add info on pnpm

This commit is contained in:
Aoran Zeng 2024-04-18 20:04:59 +08:00
parent 4d67da08b5
commit 6cd7ba6731
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)},