#!/bin/bash

for i in `ls */package.json` ; do 
  DIR=`dirname $i`;
  pushd $DIR > /dev/null;
  git log -1 --name-only . | grep "$DIR/package.json" > /dev/null || echo $DIR is dirty;

  popd > /dev/null;
done

Add shell script to print dirty modules Modules are dirty if their last commit didn't touch package.json
feat(modules): Add shell script to print dirty modules
Modules are dirty if their last commit didn't touch package.json
