Skip to content

Commit

Permalink
chore(scripts): add link.sh for linking pnpm with configurable directory
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed Dec 30, 2024
1 parent 64a200e commit 462f6dd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/link.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# set an environment variable from first argument if it exists or use default value
NR_DIR=${1:-.node-red}

# link pnpm
echo "Linking pnpm"
pnpm link --dir $NR_DIR

0 comments on commit 462f6dd

Please sign in to comment.