Closed canadaduane closed 2 years ago
Do you feel like making a PR? The template line is here - https://github.com/guybedford/chomp/blob/main/templates/npm.toml#L31. It should just be a substitution like the others. That it's JS in a toml string outputting JSON that will be interpreted as task TOML gets a bit confusing, but makes sense with enough staring :)
*A string in a shell command on a JSON task output from a JS function that's a string in a TOML file :P
When running chomp without
auto-install
, it provides warning messages showing how to install the necessary dependencies, e.g.:I'm using
pnpm
and (stupidly) copy/pasted thenpm
command. Would be nice if it tookpackage-manager
into account, i.e.: