Merge pull request #173361 from malob/nodePackages-mainProgram

nodePackages: add meta.mainProgram to packages with multiple executables
This commit is contained in:
Rick van Schijndel 2022-05-18 13:39:03 +02:00 committed by GitHub
commit 6a974bf547
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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