10 lines
257 B
Bash
10 lines
257 B
Bash
#!/usr/bin/bash
|
|
|
|
# This check enforces ADR 0001 - the project should not have dependencies.
|
|
|
|
DEPENDENCIES=$(cat package.json | jq .dependencies -cr)
|
|
|
|
if [[ $DEPENDENCIES != "null" ]]; then
|
|
echo "This project should have no dependencies."
|
|
exit 1;
|
|
fi
|