Skip to content

Commit

Permalink
Update check-examples to remove license field from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
oBusk committed Aug 14, 2021
1 parent f0ba830 commit 3eb57a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
for folder in examples/* ; do
if [ -f "$folder/package.json" ]; then
cp -n packages/create-next-app/templates/default/gitignore $folder/.gitignore;
cat $folder/package.json | jq '.license = "MIT" | .private = true' | sponge $folder/package.json
cat $folder/package.json | jq 'del(.license) | .private = true' | sponge $folder/package.json
fi
if [ -f "$folder/tsconfig.json" ]; then
cp packages/create-next-app/templates/typescript/next-env.d.ts $folder/next-env.d.ts
Expand Down

0 comments on commit 3eb57a3

Please sign in to comment.