Ensure all examples are MIT licensed (#16691)

This commit is contained in:
Joe Haddad 2020-08-29 22:32:35 -04:00 committed by GitHub
parent d6188a8e33
commit f17d435166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
203 changed files with 296 additions and 214 deletions

16
check-examples.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
cd `dirname $0`
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
fi
done;
if [[ ! -z $(git status -s) ]];then
echo "Detected changes"
git status
exit 1
fi

View file

@ -1,13 +0,0 @@
#!/bin/bash
cd `dirname $0`
for folder in examples/* ;
do cp -n packages/create-next-app/templates/default/gitignore $folder/.gitignore;
done;
if [[ ! -z $(git status -s) ]];then
echo "Detected changes"
git status
exit 1
fi

View file

@ -12,5 +12,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.10.2",
"react-dom": "^16.10.2"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -15,5 +15,5 @@
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -18,5 +18,5 @@
"react-dom": "^16.7.0",
"uuid": "8.1.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -15,5 +15,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -14,5 +14,5 @@
"react": "16.13.1",
"react-dom": "16.13.1"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -12,5 +12,5 @@
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -14,5 +14,5 @@
"react-dom": "16.13.1",
"swr": "0.1.18"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -13,5 +13,5 @@
"react-dom": "^16.8.6",
"swr": "0.1.18"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -12,5 +12,5 @@
"react-dom": "^16.8.6",
"swr": "^0.1.18"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -12,5 +12,5 @@
"react-dom": "^16.8.6",
"swr": "0.1.18"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -26,5 +26,6 @@
"@types/react-dom": "^16.9.8",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.4.0"
}
},
"license": "MIT"
}

View file

@ -19,5 +19,6 @@
"devDependencies": {
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.4.0"
}
},
"license": "MIT"
}

View file

@ -6,7 +6,7 @@
"build": "next build",
"start": "next start"
},
"license": "ISC",
"license": "MIT",
"dependencies": {
"next": "latest",
"react": "^16.12.0",

View file

@ -23,5 +23,6 @@
"@fullhuman/postcss-purgecss": "^2.1.0",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.2.0"
}
},
"license": "MIT"
}

View file

@ -19,5 +19,6 @@
"postcss-flexbugs-fixes": "4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.4.6"
}
},
"license": "MIT"
}

View file

@ -21,5 +21,6 @@
"contentful-import": "^7.7.12",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.2.0"
}
},
"license": "MIT"
}

View file

@ -23,5 +23,6 @@
"postcss-flexbugs-fixes": "4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.4.6"
}
},
"license": "MIT"
}

View file

@ -20,5 +20,6 @@
"postcss-flexbugs-fixes": "4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.4.6"
}
},
"license": "MIT"
}

View file

@ -17,5 +17,6 @@
"postcss-flexbugs-fixes": "^4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.4.6"
}
},
"license": "MIT"
}

View file

@ -22,5 +22,6 @@
"postcss-flexbugs-fixes": "^4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.7.3"
}
},
"license": "MIT"
}

View file

@ -19,5 +19,6 @@
"@fullhuman/postcss-purgecss": "^2.1.0",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.2.0"
}
},
"license": "MIT"
}

View file

@ -20,5 +20,6 @@
"@fullhuman/postcss-purgecss": "^2.1.0",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.2.0"
}
},
"license": "MIT"
}

View file

@ -20,5 +20,6 @@
"postcss-flexbugs-fixes": "4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.4.6"
}
},
"license": "MIT"
}

View file

@ -20,5 +20,6 @@
"postcss-flexbugs-fixes": "4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.4.6"
}
},
"license": "MIT"
}

View file

@ -20,5 +20,6 @@
"@fullhuman/postcss-purgecss": "^2.1.0",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.2.0"
}
},
"license": "MIT"
}

View file

@ -17,5 +17,6 @@
"postcss-flexbugs-fixes": "4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.4.6"
}
},
"license": "MIT"
}

View file

@ -10,5 +10,6 @@
"next": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
},
"license": "MIT"
}

View file

@ -12,5 +12,6 @@
},
"scripts": {
"start": "actionhero start"
}
},
"license": "MIT"
}

View file

@ -12,5 +12,6 @@
"next": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
},
"license": "MIT"
}

View file

@ -12,5 +12,6 @@
"next": "latest",
"react": "^16.13.0",
"react-dom": "^16.13.0"
}
},
"license": "MIT"
}

View file

@ -12,5 +12,6 @@
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
},
"license": "MIT"
}

View file

@ -13,5 +13,6 @@
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
},
"license": "MIT"
}

View file

@ -12,5 +12,6 @@
"polka": "0.5.1",
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
},
"license": "MIT"
}

View file

@ -19,5 +19,6 @@
"nodemon": "^2.0.4",
"ts-node": "^8.10.2",
"typescript": "4.0"
}
},
"license": "MIT"
}

View file

@ -10,5 +10,6 @@
"next": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
},
"license": "MIT"
}

View file

@ -6,7 +6,7 @@
"build": "next build",
"start": "next start"
},
"license": "ISC",
"license": "MIT",
"dependencies": {
"next": "latest",
"react": "^16.13.1",

View file

@ -11,5 +11,5 @@
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -13,7 +13,7 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC",
"license": "MIT",
"devDependencies": {
"babel-plugin-transform-define": "^1.3.0"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -10,5 +10,6 @@
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
},
"license": "MIT"
}

View file

@ -10,5 +10,6 @@
"next": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
},
"license": "MIT"
}

View file

@ -13,5 +13,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -13,5 +13,6 @@
},
"devDependencies": {
"babel-plugin-inline-react-svg": "^1.0.1"
}
},
"license": "MIT"
}

View file

@ -17,5 +17,6 @@
"react": "github:preact-compat/react#1.0.0",
"react-dom": "github:preact-compat/react-dom#1.0.0",
"react-ssr-prepass": "npm:preact-ssr-prepass@^1.0.1"
}
},
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -8,5 +8,6 @@
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
},
"license": "MIT"
}

View file

@ -15,5 +15,6 @@
"react-dom": "^16.7.0",
"react-instantsearch-dom": "6.6.0",
"style-loader": "^0.17.0"
}
},
"license": "MIT"
}

View file

@ -17,5 +17,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -14,5 +14,6 @@
"dev": "next",
"build": "next build",
"start": "next start"
}
},
"license": "MIT"
}

View file

@ -21,7 +21,7 @@
"react-dom": "^16.13.1",
"webpack-filter-warnings-plugin": "1.2.1"
},
"license": "ISC",
"license": "MIT",
"devDependencies": {
"@types/node": "13.13.4",
"@types/react": "^16.9.36",

View file

@ -22,5 +22,6 @@
"browser": {
"fs": false,
"path": false
}
},
"license": "MIT"
}

View file

@ -13,5 +13,5 @@
"react-dom": "^16.7.0"
},
"author": "",
"license": "ISC"
"license": "MIT"
}

View file

@ -16,5 +16,6 @@
"react-redux": "^7.1.1",
"redux": "^4.0.1",
"redux-devtools-extension": "2.13.8"
}
},
"license": "MIT"
}

View file

@ -15,5 +15,5 @@
"react-dom": "^16.7.0"
},
"devDependencies": {},
"license": "ISC"
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -14,5 +14,5 @@
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -20,5 +20,6 @@
},
"devDependencies": {
"babel-plugin-styled-components": "^1.10.7"
}
},
"license": "MIT"
}

View file

@ -9,7 +9,7 @@
},
"keywords": [],
"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {
"aws-amplify": "2.1.0",
"immer": "3.1.3",

View file

@ -6,7 +6,7 @@
"build": "next build",
"start": "next start"
},
"license": "ISC",
"license": "MIT",
"dependencies": {
"aws-amplify": "2.1.0",
"immer": "3.1.3",

View file

@ -8,7 +8,7 @@
"build": "next build",
"start": "next start"
},
"license": "ISC",
"license": "MIT",
"dependencies": {
"@carbon/icons-react": "^10.3.0",
"carbon-components": "^10.3.0",

View file

@ -9,7 +9,7 @@
"start": "next start"
},
"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {
"@cerebral/react": "^2.1.0",
"cerebral": "^3.1.0",

View file

@ -15,5 +15,6 @@
"next": "^9.1.7",
"react": "^16.12.0",
"react-dom": "^16.12.0"
}
},
"license": "MIT"
}

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -12,5 +12,6 @@
"react": "^16.8.6",
"react-dom": "^16.8.6",
"swr": "0.2.3"
}
},
"license": "MIT"
}

View file

@ -14,7 +14,7 @@
"react-dom": "^16.7.0"
},
"author": "",
"license": "ISC",
"license": "MIT",
"devDependencies": {
"@babel/plugin-proposal-do-expressions": "7.0.0-rc.1"
}

View file

@ -1,6 +1,6 @@
{
"name": "with-custom-reverse-proxy",
"license": "ISC",
"license": "MIT",
"dependencies": {
"express": "^4.15.3",
"next": "latest",

View file

@ -13,5 +13,5 @@
"react-dom": "^16.7.0"
},
"author": "",
"license": "ISC"
"license": "MIT"
}

View file

@ -14,5 +14,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -2,7 +2,7 @@
"name": "with-draft-js",
"version": "1.0.0",
"author": "Asten Mies",
"license": "ISC",
"license": "MIT",
"scripts": {
"dev": "next",
"build": "next build",

View file

@ -14,5 +14,5 @@
"react-dom": "^16.7.0"
},
"author": "",
"license": "ISC"
"license": "MIT"
}

View file

@ -13,5 +13,5 @@
"react-dom": "^16.13.1"
},
"author": "",
"license": "ISC"
"license": "MIT"
}

View file

@ -35,5 +35,6 @@
"electron-next": "^3.1.5",
"react": "^16.12.0",
"react-dom": "^16.12.0"
}
},
"license": "MIT"
}

View file

@ -27,5 +27,6 @@
"dependencies": {
"electron-is-dev": "^1.1.0",
"electron-next": "^3.1.5"
}
},
"license": "MIT"
}

View file

@ -10,7 +10,7 @@
},
"keywords": [],
"author": "Thomas Greco",
"license": "ISC",
"license": "MIT",
"dependencies": {
"@emotion/cache": "11.0.0-next.12",
"@emotion/css": "11.0.0-next.12",

View file

@ -10,7 +10,7 @@
},
"keywords": [],
"author": "Thomas Greco",
"license": "ISC",
"license": "MIT",
"dependencies": {
"@emotion/core": "10.0.27",
"@emotion/styled": "10.0.27",

View file

@ -11,5 +11,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -30,5 +30,6 @@
"@types/react-native": "0.62.10",
"babel-preset-expo": "~8.1.0",
"typescript": "4.0"
}
},
"license": "MIT"
}

View file

@ -20,5 +20,6 @@
},
"devDependencies": {
"@expo/next-adapter": "2.1.5"
}
},
"license": "MIT"
}

View file

@ -14,5 +14,6 @@
"react": "latest",
"react-dom": "latest",
"react-fela": "latest"
}
},
"license": "MIT"
}

View file

@ -10,7 +10,7 @@
},
"keywords": [],
"author": "Kuldeep Keshwar",
"license": "ISC",
"license": "MIT",
"dependencies": {
"@filbert-js/core": "latest",
"@filbert-js/macro": "latest",

View file

@ -15,5 +15,6 @@
"react-dom": "^16.13.1",
"react-firebaseui": "4.1.0",
"swr": "0.2.3"
}
},
"license": "MIT"
}

View file

@ -16,5 +16,6 @@
},
"devDependencies": {
"next-offline": "^3.0.10"
}
},
"license": "MIT"
}

View file

@ -22,5 +22,6 @@
"devDependencies": {
"firebase-functions-test": "^0.1.6",
"firebase-tools": "^8.6.0"
}
},
"license": "MIT"
}

View file

@ -12,5 +12,5 @@
"react": "16.11.0",
"react-dom": "16.11.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -13,5 +13,5 @@
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
"license": "MIT"
}

View file

@ -9,5 +9,6 @@
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
},
"license": "MIT"
}

View file

@ -9,5 +9,6 @@
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
},
"license": "MIT"
}

View file

@ -17,5 +17,6 @@
"faunadb": "2.11.1",
"request": "2.88.0",
"stream-to-promise": "2.2.0"
}
},
"license": "MIT"
}

View file

@ -6,7 +6,7 @@
"build": "next build",
"start": "next start"
},
"license": "ISC",
"license": "MIT",
"dependencies": {
"graphql-hooks": "^4.5.0",
"graphql-hooks-memcache": "^1.3.3",

View file

@ -1,7 +1,7 @@
{
"name": "next-graphql-react-example",
"private": true,
"license": "ISC",
"license": "MIT",
"dependencies": {
"graphql-react": "^11.0.1",
"next": "latest",

Some files were not shown because too many files have changed in this diff Show more