cmd/tsconnect: pin yarn and node

Adds a tool/yarn helper script that uses specific versions of yarn and
node, downloading them if necessary.

Modeled after tool/go (and the yarn and node Redo scripts from the
corp repo).

Also allows the path to yarn to be overidden (in case the user does not
want to use this script) and always pipes yarn output (to make debugging
and viewing of process easier).

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
This commit is contained in:
Mihai Parparita
2022-07-21 17:58:50 -07:00
committed by Mihai Parparita
parent 92357a54ec
commit be8a0859a9
5 changed files with 88 additions and 7 deletions

1
tool/node.rev Normal file
View File

@@ -0,0 +1 @@
16.4.1