Created
August 29, 2024 16:36
-
-
Save weaponsforge/6ce54cc8213ac66dc8b10e35b056eb81 to your computer and use it in GitHub Desktop.
NodeJS Package Version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Prints the version of a nodejs package.json file | |
VERSION=`node -e "console.log(require('../app/package.json').version)"` | |
echo Synchronizing all modules to version $VERSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment