nodePackages: add meta.mainProgram to packages with multiple executables
where none of the executables match the package's `name` or `pname`, and one of the executables is the obvious `mainProgram`.
This commit is contained in:
parent
8eb3f281dc
commit
73fe05a563
1 changed files with 6 additions and 0 deletions
|
@ -2,7 +2,13 @@
|
|||
# executable that matches that packages name, so that they'll work with `nix run`.
|
||||
{
|
||||
# Packages that provide multiple executables where one is clearly the `mainProgram`.
|
||||
"@antfu/ni" = "ni";
|
||||
"@electron-forge/cli" = "electron-forge";
|
||||
"@squoosh/cli" = "squoosh-cli";
|
||||
"@webassemblyjs/cli" = "wasm2wast";
|
||||
coffee-script = "coffee";
|
||||
typescript = "tsc";
|
||||
vue-cli = "vue";
|
||||
|
||||
# Packages that provide a single executable whose name differs from the package's `name`.
|
||||
"@angular/cli" = "ng";
|
||||
|
|
Loading…
Reference in a new issue