Separate pnpm out

[GitHub #53 #66]
This commit is contained in:
Aoran Zeng
2024-09-10 18:05:38 +08:00
parent 8f7b04442b
commit f6d03a68bb
2 changed files with 100 additions and 6 deletions

View File

@@ -1,10 +1,11 @@
/** ------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-01>
* Last Modified : <2024-08-16>
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-01>
* Major Revision : 1
* Last Modified : <2024-09-10>
* ------------------------------------------------------------*/
/* Begin Target Matrix */
@@ -12,7 +13,8 @@
static const char
*pl_ruby [] = {"gem", "ruby", "rubygem", "rb", "rubygems", "bundler", NULL, t(&pl_ruby_target)},
*pl_python[] = {"pip", "python", "pypi", "py", "poetry", "pdm", NULL, t(&pl_python_target)},
*pl_nodejs[] = {"npm", "node", "nodejs", "js", "yarn", "pnpm", NULL, t(&pl_nodejs_target)},
*pl_nodejs[] = {"npm", "node", "nodejs", "js", "yarn", NULL, t(&pl_nodejs_target)},
*pl_nodejs_pnpm[] = {"pnpm", NULL, t(&pl_nodejs_pnpm_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)},
@@ -28,7 +30,9 @@ static const char
*pl_julia [] = {"julia", NULL, t(&pl_julia_target)},
**pl_packagers[] =
{
pl_ruby, pl_python, pl_nodejs, pl_perl, pl_php, pl_lua,
pl_ruby, pl_python,
pl_nodejs, pl_nodejs_pnpm,
pl_perl, pl_php, pl_lua,
pl_rust, pl_go, /*pl_nuget,*/ pl_java, pl_clojure, pl_dart,
pl_haskell, pl_ocaml,
pl_r, pl_julia