language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-takeshape/lib/api.js
@@ -1,5 +1,5 @@ -const API_URL = `https://api.takeshape.io/project/${process.env.NEXT_EXAMPLE_CMS_TAKESHAPE_PROJECT_ID}/graphql` -const API_KEY = process.env.NEXT_EXAMPLE_CMS_TAKESHAPE_API_KEY +const API_URL = `https://api.takeshape.io/project/${process.env.TAKESHAPE_PROJECT_ID}/graphql` +const API_KEY = process.env.TA...
true
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-takeshape/next.config.js
@@ -1,10 +0,0 @@ -require('dotenv').config() - -module.exports = { - env: { - NEXT_EXAMPLE_CMS_TAKESHAPE_API_KEY: - process.env.NEXT_EXAMPLE_CMS_TAKESHAPE_API_KEY, - NEXT_EXAMPLE_CMS_TAKESHAPE_PROJECT_ID: - process.env.NEXT_EXAMPLE_CMS_TAKESHAPE_PROJECT_ID, - }, -}
true
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-takeshape/package.json
@@ -18,7 +18,6 @@ }, "devDependencies": { "@fullhuman/postcss-purgecss": "^2.1.0", - "dotenv": "8.2.0", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.2.0" }
true
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-takeshape/pages/api/preview.js
@@ -4,8 +4,7 @@ export default async function preview(req, res) { // Check the secret and next parameters // This secret should only be known to this API route and the CMS if ( - req.query.secret !== - process.env.NEXT_EXAMPLE_CMS_TAKESHAPE_PREVIEW_SECRET || + req.query.secret !== process.env.TAKESH...
true
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-takeshape/vercel.json
@@ -1,13 +0,0 @@ -{ - "env": { - "NEXT_EXAMPLE_CMS_TAKESHAPE_PROJECT_ID": "@next_example_cms_takeshape_project_id", - "NEXT_EXAMPLE_CMS_TAKESHAPE_API_KEY": "@next_example_cms_takeshape_api_key", - "NEXT_EXAMPLE_CMS_TAKESHAPE_PREVIEW_SECRET": "@next_example_cms_takeshape_preview_secret" - }, - "build": { - ...
true
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-wordpress/.env.local.example
@@ -1,5 +1,5 @@ -NEXT_EXAMPLE_CMS_WORDPRESS_API_URL= +WORDPRESS_API_URL= # Only required if you want to enable preview mode -# NEXT_EXAMPLE_CMS_WORDPRESS_AUTH_REFRESH_TOKEN= -# NEXT_EXAMPLE_CMS_WORDPRESS_PREVIEW_SECRET= \ No newline at end of file +# WORDPRESS_AUTH_REFRESH_TOKEN= +# WORDPRESS_PREVIEW_SECRET= \ No ne...
true
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-wordpress/README.md
@@ -6,6 +6,12 @@ This example showcases Next.js's [Static Generation](https://nextjs.org/docs/bas ### [https://next-blog-wordpress.now.sh](https://next-blog-wordpress.now.sh) +## Deploy your own + +Once you have access to [the environment variables you'll need](#step-3-set-up-environment-variables), deploy the exa...
true
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-wordpress/lib/api.js
@@ -1,12 +1,12 @@ -const API_URL = process.env.NEXT_EXAMPLE_CMS_WORDPRESS_API_URL +const API_URL = process.env.WORDPRESS_API_URL async function fetchAPI(query, { variables } = {}) { const headers = { 'Content-Type': 'application/json' } - if (process.env.NEXT_EXAMPLE_CMS_WORDPRESS_AUTH_REFRESH_TOKEN) { + if (...
true
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-wordpress/pages/api/preview.js
@@ -6,8 +6,8 @@ export default async function preview(req, res) { // Check the secret and next parameters // This secret should only be known by this API route if ( - !process.env.NEXT_EXAMPLE_CMS_WORDPRESS_PREVIEW_SECRET || - secret !== process.env.NEXT_EXAMPLE_CMS_WORDPRESS_PREVIEW_SECRET || + !proc...
true
Other
vercel
next.js
2cd691050af6b2bb75d6e6ab7c63efcea7074f1b.json
Add new import flow to CMS examples (#14053) [ch2502] - Added new import flow to every CMS example, using the deploy button, and removed `vercel.json` - Replaced `dotenv` with the new env support in outdated examples
examples/cms-wordpress/vercel.json
@@ -1,13 +0,0 @@ -{ - "env": { - "NEXT_EXAMPLE_CMS_WORDPRESS_API_URL": "@next_example_cms_wordpress_api_url", - "NEXT_EXAMPLE_CMS_WORDPRESS_AUTH_REFRESH_TOKEN": "@next_example_cms_wordpress_auth_refresh_token", - "NEXT_EXAMPLE_CMS_WORDPRESS_PREVIEW_SECRET": "@next_example_cms_wordpress_preview_secret" - }, -...
true
Other
vercel
next.js
89fffa694dc238eb40bd52809c8cbcbc39c2ec8b.json
Remove Head.rewind as it's no longer needed (#14091) Fixes #9326
packages/next/client/head-manager.js
@@ -70,29 +70,32 @@ function updateElements(type, components) { export default function initHeadManager() { let updatePromise = null - return (head) => { - const promise = (updatePromise = Promise.resolve().then(() => { - if (promise !== updatePromise) return + return { + mountedInstances: new Set(),...
true
Other
vercel
next.js
89fffa694dc238eb40bd52809c8cbcbc39c2ec8b.json
Remove Head.rewind as it's no longer needed (#14091) Fixes #9326
packages/next/client/index.js
@@ -60,7 +60,7 @@ if (window.__NEXT_P) { window.__NEXT_P = [] window.__NEXT_P.push = register -const updateHead = initHeadManager() +const headManager = initHeadManager() const appElement = document.getElementById('__next') let lastAppProps @@ -484,7 +484,7 @@ function AppContainer({ children }) { } ...
true
Other
vercel
next.js
89fffa694dc238eb40bd52809c8cbcbc39c2ec8b.json
Remove Head.rewind as it's no longer needed (#14091) Fixes #9326
packages/next/next-server/lib/head-manager-context.ts
@@ -1,6 +1,9 @@ import React from 'react' -export const HeadManagerContext: React.Context<any> = React.createContext(null) +export const HeadManagerContext: React.Context<{ + updateHead?: (state: any) => void + mountedInstances?: any +}> = React.createContext({}) if (process.env.NODE_ENV !== 'production') { ...
true
Other
vercel
next.js
89fffa694dc238eb40bd52809c8cbcbc39c2ec8b.json
Remove Head.rewind as it's no longer needed (#14091) Fixes #9326
packages/next/next-server/lib/head.tsx
@@ -1,5 +1,5 @@ -import React from 'react' -import withSideEffect from './side-effect' +import React, { useContext } from 'react' +import Effect from './side-effect' import { AmpStateContext } from './amp-context' import { HeadManagerContext } from './head-manager-context' import { isInAmpMode } from './amp' @@ -140...
true
Other
vercel
next.js
89fffa694dc238eb40bd52809c8cbcbc39c2ec8b.json
Remove Head.rewind as it's no longer needed (#14091) Fixes #9326
packages/next/next-server/lib/side-effect.tsx
@@ -2,61 +2,48 @@ import React, { Component } from 'react' const isServer = typeof window === 'undefined' -type State = Array<React.ReactElement<any>> | undefined +type State = JSX.Element[] | undefined type SideEffectProps = { reduceComponentsToState: <T>( components: Array<React.ReactElement<any>>, ...
true
Other
vercel
next.js
89fffa694dc238eb40bd52809c8cbcbc39c2ec8b.json
Remove Head.rewind as it's no longer needed (#14091) Fixes #9326
packages/next/next-server/server/render.tsx
@@ -18,9 +18,10 @@ import { STATIC_PROPS_ID, SERVER_PROPS_ID, } from '../lib/constants' -import Head, { defaultHead } from '../lib/head' +import { defaultHead } from '../lib/head' import Loadable from '../lib/loadable' import { LoadableContext } from '../lib/loadable-context' +import { HeadManagerContext } fro...
true
Other
vercel
next.js
89fffa694dc238eb40bd52809c8cbcbc39c2ec8b.json
Remove Head.rewind as it's no longer needed (#14091) Fixes #9326
test/integration/basic/test/error-recovery.js
@@ -258,6 +258,7 @@ export default (context, renderViaHTTP) => { in Context.Provider in Context.Provider in Context.Provider + in Context.Provider in AppContainer This error happened while generating the page. Any console logs will be...
true
Other
vercel
next.js
ec90cc83ff43df74a01583650110b597648f9283.json
Update AMP Optimizer to v2.5.2 (#14095) This addresses the problem of the optimizer postinstall hook causing delayed installs if run behind a proxy. See https://github.com/ampproject/amp-toolbox/issues/832 Fixes #14070
packages/next/package.json
@@ -58,7 +58,7 @@ ] }, "dependencies": { - "@ampproject/toolbox-optimizer": "2.5.1", + "@ampproject/toolbox-optimizer": "2.5.2", "@babel/code-frame": "7.8.3", "@babel/core": "7.7.7", "@babel/plugin-proposal-class-properties": "7.8.3",
true
Other
vercel
next.js
ec90cc83ff43df74a01583650110b597648f9283.json
Update AMP Optimizer to v2.5.2 (#14095) This addresses the problem of the optimizer postinstall hook causing delayed installs if run behind a proxy. See https://github.com/ampproject/amp-toolbox/issues/832 Fixes #14070
yarn.lock
@@ -10,15 +10,16 @@ cross-fetch "3.0.4" lru-cache "5.1.1" -"@ampproject/toolbox-optimizer@2.5.1": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@ampproject/toolbox-optimizer/-/toolbox-optimizer-2.5.1.tgz#0f5897d77d0e73957541c85f0f3f49a73e3449fe" - integrity sha512-C4pYFt9K9+sXngBeYB/+zrW+38m...
true
Other
vercel
next.js
8ae10601b12b621f76be576918962fca25d52dd7.json
Simplify test checks (#14094) Fixes #14093
test/integration/config/test/index.test.js
@@ -53,11 +53,7 @@ describe('Configuration', () => { await check( () => browser.elementByCss('.hello-world').getComputedCss('font-size'), - { - test(content) { - return content === '100px' - }, - } + '100px' ) } finally { if (browser...
true
Other
vercel
next.js
8ae10601b12b621f76be576918962fca25d52dd7.json
Simplify test checks (#14094) Fixes #14093
test/integration/css/test/index.test.js
@@ -357,11 +357,7 @@ describe('CSS Support', () => { browser.eval( `window.getComputedStyle(document.querySelector('.red-text')).color` ), - { - test(content) { - return content === 'rgb(128, 0, 128)' - }, - } ...
true
Other
vercel
next.js
7e1d174e8eca04422c840328888235c2a76d8e78.json
Fix route in custom-server-koa example (#14080) Links of the example about `custom-server-koa` were wrong, so I fixed them.
examples/custom-server-koa/pages/index.js
@@ -4,12 +4,12 @@ export default function Home() { return ( <ul> <li> - <Link href="/b" as="/a"> + <Link href="/a"> <a>a</a> </Link> </li> <li> - <Link href="/a" as="/b"> + <Link href="/b"> <a>b</a> </Link> </li>
false
Other
vercel
next.js
1c057e779256d8f153d33651301e603e5cf9d276.json
Add test case for loading 404 on invalid bundle (#14082) This adds a test case to ensure hard navigating when a client bundle fails to load is occurring correctly x-ref: https://github.com/vercel/next.js/issues/13516
test/integration/client-404/pages/invalid-link.js
@@ -0,0 +1,7 @@ +import Link from 'next/link' + +export default () => ( + <Link href="/[id]/non-existent" as="/another/non-existent"> + <a id="to-nonexistent">to 404</a> + </Link> +)
true
Other
vercel
next.js
1c057e779256d8f153d33651301e603e5cf9d276.json
Add test case for loading 404 on invalid bundle (#14082) This adds a test case to ensure hard navigating when a client bundle fails to load is occurring correctly x-ref: https://github.com/vercel/next.js/issues/13516
test/integration/client-404/test/client-navigation.js
@@ -1,5 +1,6 @@ /* eslint-env jest */ import webdriver from 'next-webdriver' +import { check } from 'next-test-utils' export default (context) => { describe('Client Navigation 404', () => { @@ -22,5 +23,13 @@ export default (context) => { await browser.close() }) }) + + it('should hard n...
true
Other
vercel
next.js
1c057e779256d8f153d33651301e603e5cf9d276.json
Add test case for loading 404 on invalid bundle (#14082) This adds a test case to ensure hard navigating when a client bundle fails to load is occurring correctly x-ref: https://github.com/vercel/next.js/issues/13516
test/integration/client-404/test/index.test.js
@@ -1,23 +1,48 @@ /* eslint-env jest */ import { join } from 'path' -import { renderViaHTTP, findPort, launchApp, killApp } from 'next-test-utils' +import { + renderViaHTTP, + findPort, + launchApp, + killApp, + nextBuild, + nextStart, +} from 'next-test-utils' // test suite import clientNavigation from '...
true
Other
vercel
next.js
808d6b94eb8d806e60bc46623e61996e8e0348d9.json
[EXAMPLE] with-framer-motion: fix broken images (#16714) * refactor: remove useless console.log * fix: replace broken images * Updated title Co-authored-by: Luis Alvarez <luis@vercel.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
examples/with-framer-motion/components/Gallery.js
@@ -35,7 +35,7 @@ const Thumbnail = ({ id, i }) => ( > <Link href="/image/[index]" as={`/image/${i}`} scroll={false}> <motion.img - src={`https://static1.squarespace.com/static/5b475b2c50a54f54f9b4e1dc/t/${id}.jpg?format=1500w`} + src={`https://images.unsplash.com/${id}?...
true
Other
vercel
next.js
808d6b94eb8d806e60bc46623e61996e8e0348d9.json
[EXAMPLE] with-framer-motion: fix broken images (#16714) * refactor: remove useless console.log * fix: replace broken images * Updated title Co-authored-by: Luis Alvarez <luis@vercel.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
examples/with-framer-motion/components/SingleImage.js
@@ -28,7 +28,7 @@ const SingleImage = ({ index }) => ( <motion.div className="single" initial="exit" animate="enter" exit="exit"> <motion.img variants={imageVariants} - src={`https://static1.squarespace.com/static/5b475b2c50a54f54f9b4e1dc/t/${images[index]}.jpg?format=1500w`} + src={`...
true
Other
vercel
next.js
808d6b94eb8d806e60bc46623e61996e8e0348d9.json
[EXAMPLE] with-framer-motion: fix broken images (#16714) * refactor: remove useless console.log * fix: replace broken images * Updated title Co-authored-by: Luis Alvarez <luis@vercel.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
examples/with-framer-motion/constants.js
@@ -1,8 +1,8 @@ export const images = [ - '5b5a3938562fa764113169a6/1532639559620/DSCF3338', - '5b5a3628f950b7390fbfc5f8/1532639027872/DSCF3246', - '5b5a3741575d1fccb5ac6b3f/1532639066455/DSCF3268', - '5b5a376b0e2e728eeeaca8e4/1532683586969/DSCF3274', - '5b5c228403ce64f3c80d4d8e/1532764845121/DSCF3348', - '5b5a3...
true
Other
vercel
next.js
808d6b94eb8d806e60bc46623e61996e8e0348d9.json
[EXAMPLE] with-framer-motion: fix broken images (#16714) * refactor: remove useless console.log * fix: replace broken images * Updated title Co-authored-by: Luis Alvarez <luis@vercel.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
examples/with-framer-motion/pages/image/[index].js
@@ -17,7 +17,6 @@ export async function getStaticProps({ params }) { export async function getStaticPaths() { return { paths: images.map((_id, index) => { - console.log(index) return { params: { index: `${index}`,
true
Other
vercel
next.js
ba2fbc2b65394ba29bceba9d3c6494391bfb00ac.json
Update _app.js to use a function component. (#16683) This PR updates the `_app.js` file to remove the `next/app` import. It's not needed with the latest versions of Next
examples/with-styled-components/pages/_app.js
@@ -1,4 +1,3 @@ -import App from 'next/app' import { ThemeProvider } from 'styled-components' const theme = { @@ -7,13 +6,10 @@ const theme = { }, } -export default class MyApp extends App { - render() { - const { Component, pageProps } = this.props - return ( - <ThemeProvider theme={theme}> - ...
false
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
check-examples.sh
@@ -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 $(g...
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
check-git-ignore.sh
@@ -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
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/active-class-name/package.json
@@ -12,5 +12,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/amp-first/package.json
@@ -11,5 +11,5 @@ "react": "^16.10.2", "react-dom": "^16.10.2" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/amp-story/package.json
@@ -11,5 +11,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/amp/package.json
@@ -11,5 +11,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/analyze-bundles/package.json
@@ -15,5 +15,5 @@ "react": "^16.8.0", "react-dom": "^16.8.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/api-routes-apollo-server-and-client-auth/package.json
@@ -18,5 +18,5 @@ "react-dom": "^16.7.0", "uuid": "8.1.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/api-routes-apollo-server-and-client/package.json
@@ -15,5 +15,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/api-routes-apollo-server/package.json
@@ -14,5 +14,5 @@ "react": "16.13.1", "react-dom": "16.13.1" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/api-routes-cors/package.json
@@ -12,5 +12,5 @@ "react": "^16.13.1", "react-dom": "^16.13.1" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/api-routes-graphql/package.json
@@ -14,5 +14,5 @@ "react-dom": "16.13.1", "swr": "0.1.18" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/api-routes-middleware/package.json
@@ -13,5 +13,5 @@ "react-dom": "^16.8.6", "swr": "0.1.18" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/api-routes-rest/package.json
@@ -12,5 +12,5 @@ "react-dom": "^16.8.6", "swr": "^0.1.18" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/api-routes/package.json
@@ -12,5 +12,5 @@ "react-dom": "^16.8.6", "swr": "0.1.18" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/basic-css/package.json
@@ -11,5 +11,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/basic-export/package.json
@@ -11,5 +11,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/blog-starter-typescript/package.json
@@ -26,5 +26,6 @@ "@types/react-dom": "^16.9.8", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.4.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/blog-starter/package.json
@@ -19,5 +19,6 @@ "devDependencies": { "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.4.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/catch-all-routes/package.json
@@ -6,7 +6,7 @@ "build": "next build", "start": "next start" }, - "license": "ISC", + "license": "MIT", "dependencies": { "next": "latest", "react": "^16.12.0",
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-agilitycms/package.json
@@ -23,5 +23,6 @@ "@fullhuman/postcss-purgecss": "^2.1.0", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.2.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-buttercms/package.json
@@ -19,5 +19,6 @@ "postcss-flexbugs-fixes": "4.2.1", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.4.6" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-contentful/package.json
@@ -21,5 +21,6 @@ "contentful-import": "^7.7.12", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.2.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-cosmic/package.json
@@ -23,5 +23,6 @@ "postcss-flexbugs-fixes": "4.2.1", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.4.6" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-datocms/package.json
@@ -20,5 +20,6 @@ "postcss-flexbugs-fixes": "4.2.1", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.4.6" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-graphcms/package.json
@@ -17,5 +17,6 @@ "postcss-flexbugs-fixes": "^4.2.1", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.4.6" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-kontent/package.json
@@ -22,5 +22,6 @@ "postcss-flexbugs-fixes": "^4.2.1", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.7.3" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-prismic/package.json
@@ -19,5 +19,6 @@ "@fullhuman/postcss-purgecss": "^2.1.0", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.2.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-sanity/package.json
@@ -20,5 +20,6 @@ "@fullhuman/postcss-purgecss": "^2.1.0", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.2.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-storyblok/package.json
@@ -20,5 +20,6 @@ "postcss-flexbugs-fixes": "4.2.1", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.4.6" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-strapi/package.json
@@ -20,5 +20,6 @@ "postcss-flexbugs-fixes": "4.2.1", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.4.6" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-takeshape/package.json
@@ -20,5 +20,6 @@ "@fullhuman/postcss-purgecss": "^2.1.0", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.2.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/cms-wordpress/package.json
@@ -17,5 +17,6 @@ "postcss-flexbugs-fixes": "4.2.1", "postcss-preset-env": "^6.7.0", "tailwindcss": "^1.4.6" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/custom-routes-proxying/package.json
@@ -10,5 +10,6 @@ "next": "latest", "react": "^16.13.1", "react-dom": "^16.13.1" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/custom-server-actionhero/package.json
@@ -12,5 +12,6 @@ }, "scripts": { "start": "actionhero start" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/custom-server-express/package.json
@@ -12,5 +12,6 @@ "next": "latest", "react": "^16.13.1", "react-dom": "^16.13.1" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/custom-server-fastify/package.json
@@ -12,5 +12,6 @@ "next": "latest", "react": "^16.13.0", "react-dom": "^16.13.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/custom-server-hapi/package.json
@@ -12,5 +12,6 @@ "next": "latest", "react": "^16.7.0", "react-dom": "^16.7.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/custom-server-koa/package.json
@@ -13,5 +13,6 @@ "next": "latest", "react": "^16.7.0", "react-dom": "^16.7.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/custom-server-polka/package.json
@@ -12,5 +12,6 @@ "polka": "0.5.1", "react": "^16.7.0", "react-dom": "^16.7.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/custom-server-typescript/package.json
@@ -19,5 +19,6 @@ "nodemon": "^2.0.4", "ts-node": "^8.10.2", "typescript": "4.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/custom-server/package.json
@@ -10,5 +10,6 @@ "next": "latest", "react": "^16.13.1", "react-dom": "^16.13.1" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/dynamic-routing/package.json
@@ -6,7 +6,7 @@ "build": "next build", "start": "next start" }, - "license": "ISC", + "license": "MIT", "dependencies": { "next": "latest", "react": "^16.13.1",
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/environment-variables/package.json
@@ -11,5 +11,5 @@ "react": "^16.13.1", "react-dom": "^16.13.1" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/gh-pages/package.json
@@ -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" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/head-elements/package.json
@@ -11,5 +11,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/hello-world/package.json
@@ -11,5 +11,5 @@ "react": "^16.13.1", "react-dom": "^16.13.1" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/layout-component/package.json
@@ -11,5 +11,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/nested-components/package.json
@@ -11,5 +11,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/progressive-render/package.json
@@ -10,5 +10,6 @@ "next": "latest", "react": "^16.7.0", "react-dom": "^16.7.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/redirects/package.json
@@ -10,5 +10,6 @@ "next": "latest", "react": "^16.13.1", "react-dom": "^16.13.1" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/ssr-caching/package.json
@@ -13,5 +13,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/svg-components/package.json
@@ -13,5 +13,6 @@ }, "devDependencies": { "babel-plugin-inline-react-svg": "^1.0.1" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/using-preact/package.json
@@ -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" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/using-router/package.json
@@ -11,5 +11,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-absolute-imports/package.json
@@ -8,5 +8,6 @@ "next": "latest", "react": "^16.7.0", "react-dom": "^16.7.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-algolia-react-instantsearch/package.json
@@ -15,5 +15,6 @@ "react-dom": "^16.7.0", "react-instantsearch-dom": "6.6.0", "style-loader": "^0.17.0" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-ant-design-less/package.json
@@ -17,5 +17,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-ant-design-mobile/package.json
@@ -14,5 +14,6 @@ "dev": "next", "build": "next build", "start": "next start" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-ant-design-pro-layout-less/package.json
@@ -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",
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-ant-design/package.json
@@ -22,5 +22,6 @@ "browser": { "fs": false, "path": false - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-aphrodite/package.json
@@ -13,5 +13,5 @@ "react-dom": "^16.7.0" }, "author": "", - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-apollo-and-redux/package.json
@@ -16,5 +16,6 @@ "react-redux": "^7.1.1", "redux": "^4.0.1", "redux-devtools-extension": "2.13.8" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-apollo/package.json
@@ -15,5 +15,5 @@ "react-dom": "^16.7.0" }, "devDependencies": {}, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-app-layout/package.json
@@ -11,5 +11,5 @@ "react": "^16.7.0", "react-dom": "^16.7.0" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-astroturf/package.json
@@ -14,5 +14,5 @@ "react": "^16.8.6", "react-dom": "^16.8.6" }, - "license": "ISC" + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-atlaskit/package.json
@@ -20,5 +20,6 @@ }, "devDependencies": { "babel-plugin-styled-components": "^1.10.7" - } + }, + "license": "MIT" }
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-aws-amplify-typescript/package.json
@@ -9,7 +9,7 @@ }, "keywords": [], "author": "", - "license": "ISC", + "license": "MIT", "dependencies": { "aws-amplify": "2.1.0", "immer": "3.1.3",
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-aws-amplify/package.json
@@ -6,7 +6,7 @@ "build": "next build", "start": "next start" }, - "license": "ISC", + "license": "MIT", "dependencies": { "aws-amplify": "2.1.0", "immer": "3.1.3",
true
Other
vercel
next.js
f17d435166727a06ee982b03d0ff87f9fd7a40b3.json
Ensure all examples are MIT licensed (#16691)
examples/with-carbon-components/package.json
@@ -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",
true