Skip to content

Commit

Permalink
fix: stop ignoring package.json (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenfo committed Jan 21, 2022
1 parent fa3f2e5 commit 6625aa8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/run-examples.sh
Expand Up @@ -146,14 +146,14 @@ if [ -f ".eslintrc.js.bak" ]; then
mv .eslintrc.js.bak .eslintrc.js
fi

if [[ ! -z $(git status -s | grep -v package.json) ]];then
echo "Detected changes"
git status
exit 1
fi

cat package.json | jq 'del(.packageManager)' | sponge package.json

if [ "$TURBO_TAG" == "canary" ]; then
cat package.json | jq '.devDependencies.turbo = "latest"' | sponge package.json
fi
fi

if [[ ! -z $(git status -s) ]];then
echo "Detected changes"
git status
exit 1
fi

1 comment on commit 6625aa8

@vercel
Copy link

@vercel vercel bot commented on 6625aa8 Jan 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.