From 3eb57a3c610ec786606b94294a41eb59c2716d91 Mon Sep 17 00:00:00 2001 From: Oscar Busk Date: Sat, 14 Aug 2021 14:06:04 +0200 Subject: [PATCH] Update check-examples to remove `license` field from examples --- scripts/check-examples.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-examples.sh b/scripts/check-examples.sh index 15eeeec3bf173..9293f9f5e1308 100755 --- a/scripts/check-examples.sh +++ b/scripts/check-examples.sh @@ -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