#!/usr/bin/env bash
echo -n "Commit message: "; read MESSAGE
echo "{\"dependencies\": {\"graceful-fs\": {\"version\": \"4.2.2\"}}}" > npm-shrinkwrap.json
docker compose run --rm node
sleep 3
npm version patch
npm publish
git add --all
git commit --all -m "$MESSAGE"
git push
