8 lines
220 B
Bash
Executable file
8 lines
220 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p yarn2nix
|
|
SOURCE=$1
|
|
WRITE_PATH=$2
|
|
|
|
yarn2nix --lockfile $1/yarn.lock > $WRITE_PATH/yarn.nix
|
|
cp $1/package.json $WRITE_PATH/package.json
|
|
cp $1/yarn.lock $WRITE_PATH/yarn.lock
|