Merge pull request #173361 from malob/nodePackages-mainProgram

nodePackages: add meta.mainProgram to packages with multiple executables
main
Rick van Schijndel 2 years ago committed by GitHub
commit 6a974bf547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkgs/development/node-packages/main-programs.nix

@ -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…
Cancel
Save