diff --git a/src/scripts/packages/determine-lockfile.sh b/src/scripts/packages/determine-lockfile.sh index 1534215..416e5cd 100644 --- a/src/scripts/packages/determine-lockfile.sh +++ b/src/scripts/packages/determine-lockfile.sh @@ -15,6 +15,9 @@ elif [ -f "npm-shrinkwrap.json" ]; then elif [ -f "yarn.lock" ]; then echo "Found yarn.lock file, assuming lockfile" cp yarn.lock "$TARGET_DIR"/node-project-lockfile +else + echo "Found no lockfile, adding empty one" + touch "$TARGET_DIR"/node-project-lockfile fi cp package.json "$TARGET_DIR"/node-project-package.json