Skip to content

Commit

Permalink
Make sure all example packages has private: true (#28008)
Browse files Browse the repository at this point in the history
Update the `check-exampels.sh` script to also ensure all examples has `private: true` (763d997)

Update exampels (1) that did not have `private: true` (bcdc4a3)
  • Loading branch information
oBusk committed Aug 12, 2021
1 parent 9bf3225 commit 69d6001
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/with-fauna/package.json
@@ -1,4 +1,5 @@
{
"private": true,
"name": "with-fauna",
"version": "1.0.0",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-examples.sh
Expand Up @@ -3,7 +3,7 @@
for folder in examples/* ; do
cp -n packages/create-next-app/templates/default/gitignore $folder/.gitignore;
if [ -f "$folder/package.json" ]; then
cat $folder/package.json | jq '.license = "MIT"' | sponge $folder/package.json
cat $folder/package.json | jq '.license = "MIT" | .private = true' | sponge $folder/package.json
fi
done;

Expand Down

0 comments on commit 69d6001

Please sign in to comment.