Skip to content

Commit

Permalink
nodejs: wip let npm decypher bin scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Aug 8, 2022
1 parent 21ea01a commit 2f0a138
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ assert lock.lockfileVersion == 2; let
optional ? false,
# this is an optional dev dependency
devOptional ? false,
# set of binary scripts { name = relativePath }
bin ? {},
# pkg needs to run install scripts
hasInstallScript ? false,
dependencies ? null,
Expand All @@ -90,7 +92,7 @@ assert lock.lockfileVersion == 2; let
++ (resolveDeps peerDependencies parts true)
++ (resolveDeps peerDependenciesMeta parts true));
in {
inherit pname version deps os dev optional devOptional;
inherit pname version deps os dev optional devOptional bin;
url = resolved;
hash = integrity;
# Storing negation so other translators don't have to have this feature
Expand Down

0 comments on commit 2f0a138

Please sign in to comment.