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
e1c544cd758d4410b0cd4c2548dc597bb5bda9f1.json
Fix loading... issue (#5058) This fixes intermittent `loading...` on some requests which surfaced on zeit.co when upgrading
lib/dynamic.js
@@ -2,7 +2,7 @@ import type {ElementType} from 'react' import React from 'react' -import Loadable from 'react-loadable' +import Loadable from './loadable' type ImportedComponent = Promise<null|ElementType>
true
Other
vercel
next.js
e1c544cd758d4410b0cd4c2548dc597bb5bda9f1.json
Fix loading... issue (#5058) This fixes intermittent `loading...` on some requests which surfaced on zeit.co when upgrading
lib/loadable.js
@@ -0,0 +1,336 @@ +/** +@copyright (c) 2017-present James Kyle <me@thejameskyle.com> + MIT License + Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limita...
true
Other
vercel
next.js
e1c544cd758d4410b0cd4c2548dc597bb5bda9f1.json
Fix loading... issue (#5058) This fixes intermittent `loading...` on some requests which surfaced on zeit.co when upgrading
package.json
@@ -101,7 +101,6 @@ "prop-types": "15.6.0", "prop-types-exact": "1.1.1", "react-error-overlay": "4.0.0", - "react-loadable": "5.4.0", "recursive-copy": "2.0.6", "resolve": "1.5.0", "send": "0.16.1",
true
Other
vercel
next.js
e1c544cd758d4410b0cd4c2548dc597bb5bda9f1.json
Fix loading... issue (#5058) This fixes intermittent `loading...` on some requests which surfaced on zeit.co when upgrading
server/render.js
@@ -9,7 +9,7 @@ import { Router } from '../lib/router' import { loadGetInitialProps, isResSent } from '../lib/utils' import Head, { defaultHead } from '../lib/head' import ErrorDebug from '../lib/error-debug' -import Loadable from 'react-loadable' +import Loadable from '../lib/loadable' import { BUILD_MANIFEST, REA...
true
Other
vercel
next.js
e1c544cd758d4410b0cd4c2548dc597bb5bda9f1.json
Fix loading... issue (#5058) This fixes intermittent `loading...` on some requests which surfaced on zeit.co when upgrading
yarn.lock
@@ -6363,7 +6363,7 @@ prop-types@15.6.0: loose-envify "^1.3.1" object-assign "^4.1.1" -prop-types@^15.5.0, prop-types@^15.6.0: +prop-types@^15.6.0: version "15.6.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102" dependencies: @@ -...
true
Other
vercel
next.js
48e4c771c2655c4799dc05a66d0ef3dd8dfaa427.json
Send credentials with on-demand-entries-ping (#5053) In my use case, the client pings are failing since the requests do not send basic auth credentials right now. This change was made in https://github.com/zeit/next.js/pull/2509 I am not sure why it was undone as a part of https://github.com/zeit/next.js/pull/35...
client/on-demand-entries-client.js
@@ -12,14 +12,14 @@ export default ({assetPrefix}) => { try { const url = `${assetPrefix || ''}/_next/on-demand-entries-ping?page=${Router.pathname}` const res = await fetch(url, { - credentials: 'omit' + credentials: 'same-origin' }) const payload = await res.json() ...
false
Other
vercel
next.js
dfafad488a5600ab05e47ff9ad0951a89e30f778.json
Remove UNSAFE_ lifecycles from tests (#5031) * Remove UNSAFE_componentWillMount * Remove UNSAFE_componentWillReceiveProps from lifecycle
test/integration/basic/pages/nav/url-prop-change.js
@@ -11,13 +11,15 @@ export default class UrlPropChange extends React.Component { } // eslint-disable-next-line camelcase - UNSAFE_componentWillReceiveProps (nextProps) { - this.setState(() => { - return { - previousUrl: this.props.url, - url: nextProps.url - } - }) + componentDid...
true
Other
vercel
next.js
dfafad488a5600ab05e47ff9ad0951a89e30f778.json
Remove UNSAFE_ lifecycles from tests (#5031) * Remove UNSAFE_componentWillMount * Remove UNSAFE_componentWillReceiveProps from lifecycle
test/integration/basic/pages/stateful.js
@@ -1,23 +0,0 @@ - -import React, { Component } from 'react' - -export default class Statefull extends Component { - constructor (props) { - super(props) - - this.state = { answer: null } - } - - // eslint-disable-next-line camelcase - UNSAFE_componentWillMount () { - this.setState({ answer: 42 }) - } - -...
true
Other
vercel
next.js
dfafad488a5600ab05e47ff9ad0951a89e30f778.json
Remove UNSAFE_ lifecycles from tests (#5031) * Remove UNSAFE_componentWillMount * Remove UNSAFE_componentWillReceiveProps from lifecycle
test/integration/basic/test/index.test.js
@@ -35,7 +35,6 @@ describe('Basic Features', () => { renderViaHTTP(context.appPort, '/head'), renderViaHTTP(context.appPort, '/json'), renderViaHTTP(context.appPort, '/link'), - renderViaHTTP(context.appPort, '/stateful'), renderViaHTTP(context.appPort, '/stateless'), renderViaHT...
true
Other
vercel
next.js
dfafad488a5600ab05e47ff9ad0951a89e30f778.json
Remove UNSAFE_ lifecycles from tests (#5031) * Remove UNSAFE_componentWillMount * Remove UNSAFE_componentWillReceiveProps from lifecycle
test/integration/basic/test/rendering.js
@@ -20,12 +20,6 @@ export default function ({ app }, suiteName, render, fetch) { expect(html.includes('My component!')).toBeTruthy() }) - test('renders a stateful component', async () => { - const $ = await get$('/stateful') - const answer = $('#answer') - expect(answer.text()).toBe('The...
true
Other
vercel
next.js
4c6ec18d89150f0a8dcaf56bbc7a17d669be8342.json
Remove dublicate className from head (followup) (#5027) * Add test of default head. * Remove duplicate next-head (followup #5026)
lib/head.js
@@ -29,7 +29,7 @@ function reduceComponents (components) { return a.concat(b) }, []) .reverse() - .concat(defaultHead()) + .concat(defaultHead('')) .filter(Boolean) .filter(unique()) .reverse()
true
Other
vercel
next.js
4c6ec18d89150f0a8dcaf56bbc7a17d669be8342.json
Remove dublicate className from head (followup) (#5027) * Add test of default head. * Remove duplicate next-head (followup #5026)
test/integration/basic/pages/default-head.js
@@ -0,0 +1,7 @@ +import React from 'react' +import Head from 'next/head' + +export default () => <div> + <Head /> + <h1>next-head, but only once.</h1> +</div>
true
Other
vercel
next.js
4c6ec18d89150f0a8dcaf56bbc7a17d669be8342.json
Remove dublicate className from head (followup) (#5027) * Add test of default head. * Remove duplicate next-head (followup #5026)
test/integration/basic/test/index.test.js
@@ -28,6 +28,7 @@ describe('Basic Features', () => { // pre-build all pages at the start await Promise.all([ renderViaHTTP(context.appPort, '/async-props'), + renderViaHTTP(context.appPort, '/default-head'), renderViaHTTP(context.appPort, '/empty-get-initial-props'), renderViaHTTP(co...
true
Other
vercel
next.js
4c6ec18d89150f0a8dcaf56bbc7a17d669be8342.json
Remove dublicate className from head (followup) (#5027) * Add test of default head. * Remove duplicate next-head (followup #5026)
test/integration/basic/test/rendering.js
@@ -26,6 +26,13 @@ export default function ({ app }, suiteName, render, fetch) { expect(answer.text()).toBe('The answer is 42') }) + // default-head contains an empty <Head />. + test('header renders default charset', async () => { + const html = await (render('/default-head')) + expect(ht...
true
Other
vercel
next.js
267cff3b81a90307dbb522552043aa6adfdff8bc.json
Remove dublicate className from head (#5026) This PR: * Removes dublicate `className` in: `<meta charSet="utf-8" class="next-head"/>` * Refactores head reducer Special thanks to @udanpe for reporting and @geoffRGWilliams for bringing me on the right tack! 🙌 Closes #4745, #4802
lib/head.js
@@ -12,14 +12,15 @@ class Head extends React.Component { } } -export function defaultHead () { - return [<meta charSet='utf-8' className='next-head' />] +const NEXT_HEAD_IDENTIFIER = 'next-head' + +export function defaultHead (className = NEXT_HEAD_IDENTIFIER) { + return [<meta charSet='utf-8' className={classN...
false
Other
vercel
next.js
918e0a6e3230ef0e33a5698cd09aa274cb0a1fec.json
Replace uuid with nanoid (#4987) * Replace uuid with nanoid Same functionality in a smaller package: https://bundlephobia.com/result?p=nanoid@1.2.1 https://bundlephobia.com/result?p=uuid@3.3.2 * Add comment
package.json
@@ -89,6 +89,7 @@ "loader-utils": "1.1.0", "minimist": "1.2.0", "mkdirp-then": "1.2.0", + "nanoid": "1.2.1", "path-to-regexp": "2.1.0", "prop-types": "15.6.0", "prop-types-exact": "1.1.1", @@ -103,7 +104,6 @@ "styled-jsx": "3.0.2", "unfetch": "3.0.0", "url": "0.11.0", - ...
true
Other
vercel
next.js
918e0a6e3230ef0e33a5698cd09aa274cb0a1fec.json
Replace uuid with nanoid (#4987) * Replace uuid with nanoid Same functionality in a smaller package: https://bundlephobia.com/result?p=nanoid@1.2.1 https://bundlephobia.com/result?p=uuid@3.3.2 * Add comment
server/config.js
@@ -1,6 +1,5 @@ // @flow import findUp from 'find-up' -import uuid from 'uuid' import {CONFIG_FILE} from '../lib/constants' type WebpackConfig = * @@ -28,7 +27,11 @@ const defaultConfig: NextConfig = { assetPrefix: '', configOrigin: 'default', useFileSystemPublicRoutes: true, - generateBuildId: () => uu...
true
Other
vercel
next.js
918e0a6e3230ef0e33a5698cd09aa274cb0a1fec.json
Replace uuid with nanoid (#4987) * Replace uuid with nanoid Same functionality in a smaller package: https://bundlephobia.com/result?p=nanoid@1.2.1 https://bundlephobia.com/result?p=uuid@3.3.2 * Add comment
yarn.lock
@@ -5312,6 +5312,10 @@ nan@^2.10.0, nan@^2.9.2: version "2.10.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" +nanoid@1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-1.2.1.tgz#922bf6c10e35f7b208993768dad643577c907adf" +...
true
Other
vercel
next.js
25de2e814ecda011d4d99386f6c95be0efb3cdf1.json
Fix broken readme link (#4977) As reported by @ranyitz the links in the documentation about ['What syntactic features are transpiled? How do I change them?'](https://github.com/zeit/next.js#faq) are broken. I updated the links and the text to reflect the latest changes. Closes #4974 Related https://github.com/...
readme.md
@@ -1638,7 +1638,7 @@ Next.js bundles [styled-jsx](https://github.com/zeit/styled-jsx) supporting scop We track V8. Since V8 has wide support for ES6 and `async` and `await`, we transpile those. Since V8 doesn’t support class decorators, we don’t transpile those. -See [this](https://github.com/zeit/next.js/blob/ma...
false
Other
vercel
next.js
de6741f886178d8f9b4af6e109838642aebda1c7.json
Fix typo in withRouter (#3723)
lib/router/with-router.js
@@ -11,7 +11,7 @@ export default function withRouter (ComposedComponent) { router: PropTypes.object } - static displayName = `withRoute(${displayName})` + static displayName = `withRouter(${displayName})` render () { const props = {
false
Other
vercel
next.js
2a845a61b747b71adc4df84f9261391d12547733.json
Correct url to blog post (#3709)
examples/with-reasonml/README.md
@@ -40,7 +40,7 @@ Run BuckleScript build system `bsb -w` and `next -w` separately. For the sake of simple convention, `npm run dev` run both `bsb` and `next` concurrently. However, this doesn't offer the full [colorful and very, very, veeeery nice error -output](https://reasonml.github.io/community/blog/#way-way-waa...
false
Other
vercel
next.js
905ff32b7f45810847fd70a7642bda3149870589.json
Create example using custom charset (#3697) https://github.com/zeit/next.js/issues/3401
examples/custom-charset/package.json
@@ -0,0 +1,14 @@ +{ + "name": "custom-server", + "version": "1.0.0", + "scripts": { + "dev": "node server.js", + "build": "next build", + "start": "NODE_ENV=production node server.js" + }, + "dependencies": { + "next": "latest", + "react": "^16.0.0", + "react-dom": "^16.0.0" + } +}
true
Other
vercel
next.js
905ff32b7f45810847fd70a7642bda3149870589.json
Create example using custom charset (#3697) https://github.com/zeit/next.js/issues/3401
examples/custom-charset/pages/README.md
@@ -0,0 +1,34 @@ +[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/custom-server) + +# Custom server example + +## How to use + +### Download manually + +Download the example [or clone the repo](https://github.com/zeit/next.js):...
true
Other
vercel
next.js
905ff32b7f45810847fd70a7642bda3149870589.json
Create example using custom charset (#3697) https://github.com/zeit/next.js/issues/3401
examples/custom-charset/pages/index.js
@@ -0,0 +1,3 @@ +import React from 'react' + +export default () => <div>áéíóöúü</div>
true
Other
vercel
next.js
905ff32b7f45810847fd70a7642bda3149870589.json
Create example using custom charset (#3697) https://github.com/zeit/next.js/issues/3401
examples/custom-charset/server.js
@@ -0,0 +1,21 @@ +const { createServer } = require('http') +const { parse } = require('url') +const next = require('next') + +const port = parseInt(process.env.PORT, 10) || 3000 +const dev = process.env.NODE_ENV !== 'production' +const app = next({ dev }) +const handle = app.getRequestHandler() + +app.prepare() +.then(...
true
Other
vercel
next.js
7a1d9c18a39860f5711446595543468bfbdef04e.json
Add multi-zones docs. (#3688)
readme.md
@@ -44,6 +44,7 @@ Next.js is a minimalistic framework for server-rendered React applications. - [CDN support with Asset Prefix](#cdn-support-with-asset-prefix) - [Production deployment](#production-deployment) - [Static HTML export](#static-html-export) +- [Multi Zones](#multi-zones) - [Recipes](#recipes) - [FAQ...
false
Other
vercel
next.js
fa03f0b9ccc9ce9fbba64908e4f31374da8fd005.json
Require files directly instead of resolving them (#3683)
server/render.js
@@ -4,7 +4,6 @@ import { renderToString, renderToStaticMarkup } from 'react-dom/server' import send from 'send' import generateETag from 'etag' import fresh from 'fresh' -import requireModule from './require' import getConfig from './config' import { Router } from '../lib/router' import { loadGetInitialProps, isR...
true
Other
vercel
next.js
fa03f0b9ccc9ce9fbba64908e4f31374da8fd005.json
Require files directly instead of resolving them (#3683)
server/require.js
@@ -1,6 +0,0 @@ -import resolve from './resolve' - -export default async function requireModule (path) { - const f = await resolve(path) - return require(f) -}
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
package.json
@@ -113,6 +113,7 @@ "@taskr/clear": "1.1.0", "@taskr/esnext": "1.1.0", "@taskr/watch": "1.1.0", + "@zeit/next-css": "0.0.7", "babel-eslint": "8.0.1", "babel-jest": "21.2.0", "babel-plugin-istanbul": "4.1.5",
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/basic/test/index.test.js
@@ -35,6 +35,7 @@ describe('Basic Features', () => { renderViaHTTP(context.appPort, '/link'), renderViaHTTP(context.appPort, '/stateful'), renderViaHTTP(context.appPort, '/stateless'), + renderViaHTTP(context.appPort, '/custom-extension'), renderViaHTTP(context.appPort, '/styled-jsx'), ...
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/custom-server/next.config.js
@@ -0,0 +1,6 @@ +module.exports = { + onDemandEntries: { + // Make sure entries are not getting disposed. + maxInactiveAge: 1000 * 60 * 60 + } +}
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/next-plugins/.gitignore
@@ -0,0 +1 @@ +!node_modules \ No newline at end of file
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/next-plugins/components/hello-webpack-css.css
@@ -0,0 +1,3 @@ +.helloWorld { + color: red; +}
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/next-plugins/components/hello-webpack-css.js
@@ -0,0 +1,3 @@ +import css from './hello-webpack-css.css' +import framework from 'css-framework/framework.css' +export default () => <div className={`${css.helloWorld} ${framework.frameworkClass}`}>Hello World</div>
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/next-plugins/next.config.js
@@ -0,0 +1,9 @@ +const withCSS = require('@zeit/next-css') + +module.exports = withCSS({ + onDemandEntries: { + // Make sure entries are not getting disposed. + maxInactiveAge: 1000 * 60 * 60 + }, + cssModules: true +})
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/next-plugins/node_modules/css-framework/framework.css
@@ -0,0 +1,3 @@ +.frameworkClass { + font-size: 100px; +} \ No newline at end of file
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/next-plugins/pages/webpack-css.js
@@ -0,0 +1,3 @@ +import HelloWebpackCSS from '../components/hello-webpack-css' + +export default () => <HelloWebpackCSS />
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/next-plugins/test/index.test.js
@@ -0,0 +1,31 @@ +/* global jasmine, describe, beforeAll, afterAll */ + +import { join } from 'path' +import { + renderViaHTTP, + fetchViaHTTP, + findPort, + launchApp, + killApp +} from 'next-test-utils' + +// test suits +import rendering from './rendering' + +const context = {} +jasmine.DEFAULT_TIMEOUT_INTERVAL ...
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/next-plugins/test/rendering.js
@@ -0,0 +1,22 @@ +/* global describe, test, expect */ + +import cheerio from 'cheerio' + +export default function ({ app }, suiteName, render, fetch) { + async function get$ (path, query) { + const html = await render(path, query) + return cheerio.load(html) + } + + describe(suiteName, () => { + test('rende...
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
test/integration/production/next.config.js
@@ -0,0 +1,6 @@ +module.exports = { + onDemandEntries: { + // Make sure entries are not getting disposed. + maxInactiveAge: 1000 * 60 * 60 + } +}
true
Other
vercel
next.js
ed122934af628050bee15cb18ebc6582cbcefdde.json
Add tests for universal webpack (#3680) * Add tests for universal webpack * Move tests to next-plugins * Remove obsolete files * Remove removed page * Remove tests * Rename test suite
yarn.lock
@@ -38,6 +38,17 @@ ms "2.1.1" update-notifier "2.3.0" +"@zeit/next-css@0.0.7": + version "0.0.7" + resolved "https://registry.yarnpkg.com/@zeit/next-css/-/next-css-0.0.7.tgz#8eb0c3829d757854921488e4e1e1a5c086f3fad8" + dependencies: + css-loader "^0.28.9" + extract-text-webpack-plugin "^3.0.2" + ...
true
Other
vercel
next.js
cdbbe928b26af2e79c4508f127351b6652c5aee6.json
Add update notifier (#3678) * Add update notifier * Make update notifier work with custom server
package.json
@@ -50,6 +50,7 @@ "bin/*": "standard" }, "dependencies": { + "@zeit/check-updates": "1.1.0", "@zeit/source-map-support": "0.6.2", "ansi-html": "0.0.7", "babel-core": "6.26.0",
true
Other
vercel
next.js
cdbbe928b26af2e79c4508f127351b6652c5aee6.json
Add update notifier (#3678) * Add update notifier * Make update notifier work with custom server
server/index.js
@@ -5,6 +5,7 @@ import { parse as parseQs } from 'querystring' import fs from 'fs' import fsAsync from 'mz/fs' import http, { STATUS_CODES } from 'http' +import updateNotifier from '@zeit/check-updates' import { renderToHTML, renderErrorToHTML, @@ -35,6 +36,11 @@ export default class Server { this.http =...
true
Other
vercel
next.js
cdbbe928b26af2e79c4508f127351b6652c5aee6.json
Add update notifier (#3678) * Add update notifier * Make update notifier work with custom server
yarn.lock
@@ -30,6 +30,14 @@ dependencies: chokidar "^1.7.0" +"@zeit/check-updates@1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@zeit/check-updates/-/check-updates-1.1.0.tgz#d0f65026a36f27cd1fd54c647d8294447c1d2d8b" + dependencies: + chalk "2.3.0" + ms "2.1.1" + update-notifier "2.3.0"...
true
Other
vercel
next.js
9498fc60a1845070a2e848ca925648ea2d959f09.json
Use correct port in with-zones example (#3679)
examples/with-zones/blog/package.json
@@ -3,7 +3,7 @@ "version": "1.0.0", "scripts": { "build": "next build", - "start": "next start -p 4000" + "start": "next start -p 5000" }, "dependencies": { "next": "zones",
false
Other
vercel
next.js
373661aafae5707efb4e6645544d047b2fd0b04f.json
Handle empty assetPrefix scenario properly. (#3667) Also make sure to init assetPrefix in next/asset in the context of next-export.
lib/asset.js
@@ -7,7 +7,7 @@ export default function asset (path) { } const pathWithoutSlash = path.replace(/^\//, '') - return `${assetPrefix}/static/${pathWithoutSlash}` + return `${assetPrefix || ''}/static/${pathWithoutSlash}` } export function setAssetPrefix (url) {
true
Other
vercel
next.js
373661aafae5707efb4e6645544d047b2fd0b04f.json
Handle empty assetPrefix scenario properly. (#3667) Also make sure to init assetPrefix in next/asset in the context of next-export.
server/export.js
@@ -8,6 +8,7 @@ import getConfig from './config' import { renderToHTML } from './render' import { getAvailableChunks } from './utils' import { printAndExit } from '../lib/utils' +import { setAssetPrefix } from '../lib/asset' export default async function (dir, options, configuration) { dir = resolve(dir) @@ -8...
true
Other
vercel
next.js
373661aafae5707efb4e6645544d047b2fd0b04f.json
Handle empty assetPrefix scenario properly. (#3667) Also make sure to init assetPrefix in next/asset in the context of next-export.
server/index.js
@@ -85,7 +85,7 @@ export default class Server { } setAssetPrefix (prefix) { - this.renderOpts.assetPrefix = prefix.replace(/\/$/, '') + this.renderOpts.assetPrefix = prefix ? prefix.replace(/\/$/, '') : '' asset.setAssetPrefix(this.renderOpts.assetPrefix) }
true
Other
vercel
next.js
373661aafae5707efb4e6645544d047b2fd0b04f.json
Handle empty assetPrefix scenario properly. (#3667) Also make sure to init assetPrefix in next/asset in the context of next-export.
test/integration/custom-server/server.js
@@ -12,6 +12,8 @@ app.prepare().then(() => { const server = micro((req, res) => { if (/setAssetPrefix/.test(req.url)) { app.setAssetPrefix(`http://127.0.0.1:${port}`) + } else if (/setEmptyAssetPrefix/.test(req.url)) { + app.setAssetPrefix(null) } else { // This is to support multi-zo...
true
Other
vercel
next.js
373661aafae5707efb4e6645544d047b2fd0b04f.json
Handle empty assetPrefix scenario properly. (#3667) Also make sure to init assetPrefix in next/asset in the context of next-export.
test/integration/custom-server/test/index.test.js
@@ -38,6 +38,11 @@ describe('Custom Server', () => { expect(dynamicUsage).toMatch(/127\.0\.0\.1/) }) + it('should handle null assetPrefix accordingly', async () => { + const $normal = cheerio.load(await renderViaHTTP(appPort, '/asset?setEmptyAssetPrefix=1')) + expect($normal('img').attr('src'...
true
Other
vercel
next.js
373661aafae5707efb4e6645544d047b2fd0b04f.json
Handle empty assetPrefix scenario properly. (#3667) Also make sure to init assetPrefix in next/asset in the context of next-export.
test/integration/static/next.config.js
@@ -3,6 +3,7 @@ module.exports = { return { '/': { page: '/' }, '/about': { page: '/about' }, + '/asset': { page: '/asset' }, '/button-link': { page: '/button-link' }, '/get-initial-props-with-no-query': { page: '/get-initial-props-with-no-query' }, '/counter': { page: '/cou...
true
Other
vercel
next.js
373661aafae5707efb4e6645544d047b2fd0b04f.json
Handle empty assetPrefix scenario properly. (#3667) Also make sure to init assetPrefix in next/asset in the context of next-export.
test/integration/static/pages/asset.js
@@ -0,0 +1,7 @@ +import asset from 'next/asset' + +export default () => ( + <div id='asset-page'> + <img src={asset('/myimage.png')} /> + </div> +)
true
Other
vercel
next.js
373661aafae5707efb4e6645544d047b2fd0b04f.json
Handle empty assetPrefix scenario properly. (#3667) Also make sure to init assetPrefix in next/asset in the context of next-export.
test/integration/static/test/ssr.js
@@ -42,5 +42,11 @@ export default function (context) { const html = await renderViaHTTP(context.port, '/get-initial-props-with-no-query') expect(html).toMatch(/Query is: {}/) }) + + it('should handle next/asset properly', async () => { + const html = await renderViaHTTP(context.port, '/asset'...
true
Other
vercel
next.js
373661aafae5707efb4e6645544d047b2fd0b04f.json
Handle empty assetPrefix scenario properly. (#3667) Also make sure to init assetPrefix in next/asset in the context of next-export.
test/node_modules/next
@@ -0,0 +1 @@ +../../ \ No newline at end of file
true
Other
vercel
next.js
d103345aa1e687b8ab904465ad41c45511c6c063.json
Fix typos in gh-pages example README (#3669)
examples/gh-pages/README.md
@@ -34,11 +34,11 @@ npm run deploy Test it: -Reaplce 'github-user-name' and 'github-projet-name' +Replace 'github-user-name' and 'github-project-name' ```bash -https://github-user-name.github.io/github-projet-name/ +https://github-user-name.github.io/github-project-name/ ```
false
Other
vercel
next.js
b38c05bc95a4443c1947e5cfe42d7af004259ab6.json
Add NODE_PATH support (#3656)
server/build/webpack.js
@@ -92,6 +92,11 @@ export default async function getBaseWebpackConfig (dir, {dev = false, isServer } } + // Support for NODE_PATH + const nodePathList = (process.env.NODE_PATH || '') + .split(process.platform === 'win32' ? ';' : ':') + .filter((p) => !!p) + let totalPages let webpackConfig = {...
false
Other
vercel
next.js
944668c6c4b6e400bf18568b68ec968fbddf7f3a.json
Handle page 404 properly in production. (#3648) This is needed for multi-zones feature
server/index.js
@@ -3,6 +3,7 @@ import { resolve, join, sep } from 'path' import { parse as parseUrl } from 'url' import { parse as parseQs } from 'querystring' import fs from 'fs' +import fsAsync from 'mz/fs' import http, { STATUS_CODES } from 'http' import { renderToHTML, @@ -216,6 +217,13 @@ export default class Server { ...
false
Other
vercel
next.js
f0703f8e13123d549fabc12ae53167c7f78f18f5.json
Update preact example
examples/using-preact/next.config.js
@@ -1,16 +1,3 @@ -module.exports = { - webpack: function (config, { dev }) { - // For the development version, we'll use React. - // Because, it supports react hot loading and so on. - if (dev) { - return config - } +const withPreact = require('@zeit/next-preact') - config.resolve.alias = { - ...
true
Other
vercel
next.js
f0703f8e13123d549fabc12ae53167c7f78f18f5.json
Update preact example
examples/using-preact/package.json
@@ -7,16 +7,10 @@ "start": "NODE_ENV=production node server.js" }, "dependencies": { - "module-alias": "^2.0.0", + "@zeit/next-preact": "0.0.4", "next": "latest", - "preact": "^7.2.0", - "preact-compat": "^3.14.0", - "react": "^16.0.0", - "react-dom": "^16.0.0" + "preact": "8.2.7", ...
true
Other
vercel
next.js
f0703f8e13123d549fabc12ae53167c7f78f18f5.json
Update preact example
examples/using-preact/server.js
@@ -1,13 +1,7 @@ const port = parseInt(process.env.PORT, 10) || 3000 const dev = process.env.NODE_ENV !== 'production' -const moduleAlias = require('module-alias') -// For the development version, we'll use React. -// Because, it support react hot loading and so on. -if (!dev) { - moduleAlias.addAlias('react', 'pr...
true
Other
vercel
next.js
9165d753d06e578dbcb26b4877dcb19eb7bbec35.json
Add an example using analytics (#3580) This patch adds an example of a Next.js app using analytics. A custom document injects the [Segment](https://segment.com) bootstrapping snippet into the `<head>`, allowing "page" and "track" calls to be made. An issue came up in CNA asking how we handle this in our apps (see...
examples/with-analytics/README.md
@@ -0,0 +1,40 @@ +[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/with-analytics) + +# Example app with analytics + +## How to use + +### Using `create-next-app` + +Download [`create-next-app`](https://github.com/segmentio/crea...
true
Other
vercel
next.js
9165d753d06e578dbcb26b4877dcb19eb7bbec35.json
Add an example using analytics (#3580) This patch adds an example of a Next.js app using analytics. A custom document injects the [Segment](https://segment.com) bootstrapping snippet into the `<head>`, allowing "page" and "track" calls to be made. An issue came up in CNA asking how we handle this in our apps (see...
examples/with-analytics/components/Header.js
@@ -0,0 +1,14 @@ +import React from 'react' +import Link from 'next/link' + +export default () => ( + <header> + <nav> + <ul> + <li><Link href='/'><a>Home</a></Link></li> + <li><Link href='/about'><a>About</a></Link></li> + <li><Link href='/contact'><a>Contact</a></Link></li> + </ul> ...
true
Other
vercel
next.js
9165d753d06e578dbcb26b4877dcb19eb7bbec35.json
Add an example using analytics (#3580) This patch adds an example of a Next.js app using analytics. A custom document injects the [Segment](https://segment.com) bootstrapping snippet into the `<head>`, allowing "page" and "track" calls to be made. An issue came up in CNA asking how we handle this in our apps (see...
examples/with-analytics/package.json
@@ -0,0 +1,14 @@ +{ + "name": "with-analytics", + "scripts": { + "dev": "next", + "build": "next build", + "start": "next start" + }, + "dependencies": { + "@segment/snippet": "^4.0.1", + "next": "latest", + "react": "^16.2.0", + "react-dom": "^16.2.0" + } +}
true
Other
vercel
next.js
9165d753d06e578dbcb26b4877dcb19eb7bbec35.json
Add an example using analytics (#3580) This patch adds an example of a Next.js app using analytics. A custom document injects the [Segment](https://segment.com) bootstrapping snippet into the `<head>`, allowing "page" and "track" calls to be made. An issue came up in CNA asking how we handle this in our apps (see...
examples/with-analytics/pages/_document.js
@@ -0,0 +1,44 @@ +import React from 'react' +import Document, { Head, Main, NextScript } from 'next/document' +import * as snippet from '@segment/snippet' + +const { + // This write key is associated with https://segment.com/nextjs-example/sources/nextjs. + ANALYTICS_WRITE_KEY = 'NPsk1GimHq09s7egCUlv7D0tqtUAU5wa', + ...
true
Other
vercel
next.js
9165d753d06e578dbcb26b4877dcb19eb7bbec35.json
Add an example using analytics (#3580) This patch adds an example of a Next.js app using analytics. A custom document injects the [Segment](https://segment.com) bootstrapping snippet into the `<head>`, allowing "page" and "track" calls to be made. An issue came up in CNA asking how we handle this in our apps (see...
examples/with-analytics/pages/about.js
@@ -0,0 +1,9 @@ +import React from 'react' +import Header from '../components/Header' + +export default () => ( + <div> + <Header /> + <h1>This is the About page</h1> + </div> +)
true
Other
vercel
next.js
9165d753d06e578dbcb26b4877dcb19eb7bbec35.json
Add an example using analytics (#3580) This patch adds an example of a Next.js app using analytics. A custom document injects the [Segment](https://segment.com) bootstrapping snippet into the `<head>`, allowing "page" and "track" calls to be made. An issue came up in CNA asking how we handle this in our apps (see...
examples/with-analytics/pages/contact.js
@@ -0,0 +1,51 @@ +import React, { Component } from 'react' +import Header from '../components/Header' + +export default class extends Component { + state = { message: '' } + + render () { + return ( + <div> + <Header /> + <h1>This is the Contact page</h1> + <form onSubmit={this.handleSubm...
true
Other
vercel
next.js
9165d753d06e578dbcb26b4877dcb19eb7bbec35.json
Add an example using analytics (#3580) This patch adds an example of a Next.js app using analytics. A custom document injects the [Segment](https://segment.com) bootstrapping snippet into the `<head>`, allowing "page" and "track" calls to be made. An issue came up in CNA asking how we handle this in our apps (see...
examples/with-analytics/pages/index.js
@@ -0,0 +1,9 @@ +import React from 'react' +import Header from '../components/Header' + +export default () => ( + <div> + <Header /> + <h1>This is the Home page</h1> + </div> +)
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/custom-server-micro/package.json
@@ -7,9 +7,9 @@ "dependencies": { "micro": "^8.0.1", "micro-route": "^2.4.0", - "next": "^3.0.3", - "react": "^15.6.1", - "react-dom": "^15.6.1" + "next": "latest", + "react": "^16.1.1", + "react-dom": "^16.1.1" }, "devDependencies": { "micro-dev": "^1.1.2"
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/custom-server-nodemon/package.json
@@ -5,7 +5,7 @@ "start": "NODE_ENV=production node server/index.js" }, "dependencies": { - "next": "^4.1.4", + "next": "latest", "react": "^16.2.0", "react-dom": "^16.2.0" },
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/form-handler/package.json
@@ -14,11 +14,11 @@ "license": "ISC", "dependencies": { "express": "^4.15.4", - "next": "^3.2.2", + "next": "latest", + "react": "^16.1.1", + "react-dom": "^16.1.1", "next-redux-wrapper": "^1.3.2", - "react": "^15.6.1", "react-bootstrap": "^0.31.3", - "react-dom": "^15.6.1", ...
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-absolute-imports/package.json
@@ -6,8 +6,8 @@ }, "dependencies": { "babel-plugin-module-resolver": "^2.7.1", - "next": "^3.0.6", - "react": "^15.6.1", - "react-dom": "^15.6.1" + "next": "latest", + "react": "^16.1.1", + "react-dom": "^16.1.1" } }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-algolia-react-instantsearch/package.json
@@ -7,11 +7,11 @@ }, "dependencies": { "css-loader": "^0.28.1", - "next": "^2.4.7", "prop-types": "^15.5.10", "qs": "^6.4.0", - "react": "^15.5.4", - "react-dom": "^15.5.4", + "next": "latest", + "react": "^16.1.1", + "react-dom": "^16.1.1", "react-instantsearch": "beta", ...
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-asset-imports/package.json
@@ -6,7 +6,7 @@ }, "dependencies": { "babel-plugin-transform-assets-import-to-string": "^1.0.1", - "next": "^3.0.6", + "next": "latest", "react": "^15.6.1", "react-dom": "^15.6.1" }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-cerebral/package.json
@@ -13,6 +13,8 @@ "dependencies": { "@cerebral/react": "^2.1.0", "cerebral": "^3.1.0", - "next": "^3.2.2" + "next": "latest", + "react": "16.2.0", + "react-dom": "16.2.0" } }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-custom-reverse-proxy/package.json
@@ -1,14 +1,11 @@ { "name": "with-custom-reverse-proxy", - "engines": { - "node": "7.x.x" - }, "license": "ISC", "dependencies": { "express": "^4.15.3", - "next": "^3.0.1-beta.13", - "react": "^15.5.4", - "react-dom": "^15.5.4" + "next": "latest", + "react": "16.2.0", + "react-dom"...
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-data-prefetch/package.json
@@ -6,7 +6,7 @@ }, "dependencies": { "isomorphic-unfetch": "^2.0.0", - "next": "^4.2.0", + "next": "latest", "prop-types": "^15.6.0", "prop-types-exact": "^1.1.1", "react": "^16.2.0",
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-dynamic-import/package.json
@@ -10,7 +10,7 @@ "start": "next start" }, "dependencies": { - "next": "^3.0.6", + "next": "latest", "react": "^16.0.0", "react-dom": "^16.0.0" },
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-electron/package.json
@@ -20,9 +20,9 @@ "devDependencies": { "electron": "^1.6.11", "electron-builder": "^19.19.1", - "next": "beta", - "react": "15.6.1", - "react-dom": "15.6.1" + "next": "latest", + "react": "^16.1.1", + "react-dom": "^16.1.1" }, "dependencies": { "electron-is-dev": "0.3.0",
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-emotion-fiber/package.json
@@ -12,7 +12,7 @@ "dependencies": { "emotion": "^8.0.11", "emotion-server": "^8.0.11", - "next": "^4.1.4", + "next": "latest", "react": "^16.1.1", "react-dom": "^16.1.1", "react-emotion": "^8.0.11"
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-emotion/package.json
@@ -10,9 +10,9 @@ "babel-plugin-emotion": "^8.0.4", "emotion": "^8.0.5", "emotion-server": "^8.0.5", - "next": "^3.0.6", - "react": "^15.6.1", - "react-dom": "^15.6.1", + "next": "latest", + "react": "16.2.0", + "react-dom": "16.2.0", "react-emotion": "^8.0.5" }, "license": "...
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-firebase-hosting/app/package.json
@@ -2,7 +2,7 @@ "name": "app", "description": "Next.js React SSR App", "dependencies": { - "next": "4.0.0-beta.2", + "next": "latest", "react": "16.0.0", "react-dom": "16.0.0" },
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-firebase-hosting/functions/package.json
@@ -4,7 +4,7 @@ "dependencies": { "firebase-admin": "5.3.0", "firebase-functions": "0.6.3", - "next": "4.0.0-beta.2", + "next": "latest", "react": "16.0.0", "react-dom": "16.0.0" }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-glamorous/package.json
@@ -9,9 +9,9 @@ "dependencies": { "glamor": "^2.20.24", "glamorous": "^4.11.0", - "next": "^2.0.1", - "react": "^16.0.0", - "react-dom": "^16.0.0" + "next": "latest", + "react": "16.2.0", + "react-dom": "16.2.0" }, "license": "ISC" }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-global-stylesheet-simple/package.json
@@ -6,7 +6,7 @@ }, "dependencies": { "babel-plugin-inline-import": "^2.0.6", - "next": "^4.1.3", + "next": "latest", "react": "^16.0.0", "react-dom": "^16.0.0", "tachyons": "^4.8.1"
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-hashed-statics/package.json
@@ -6,8 +6,8 @@ }, "dependencies": { "babel-plugin-transform-assets": "^0.2.0", - "next": "^3.2.1", - "react": "^15.6.1", - "react-dom": "^15.6.1" + "next": "latest", + "react": "16.2.0", + "react-dom": "16.2.0" } }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-kea/package.json
@@ -8,7 +8,7 @@ }, "dependencies": { "kea": "^0.27.3", - "next": "^4.1.4", + "next": "latest", "next-redux-wrapper": "^1.3.4", "prop-types": "^15.6.0", "react": "^16.1.0",
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-pkg/package.json
@@ -13,9 +13,9 @@ "dist": "pkg index.js --out-dir dist" }, "dependencies": { - "next": "^3.0.1", - "react": "^15.6.1", - "react-dom": "^15.6.1" + "next": "latest", + "react": "16.2.0", + "react-dom": "16.2.0" }, "devDependencies": { "pkg": "^4.2.2"
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-portals/package.json
@@ -5,7 +5,7 @@ "start": "next start" }, "dependencies": { - "next": "^4.1.4", + "next": "latest", "react": "^16.2.0", "react-dom": "^16.2.0" }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-react-i18next/package.json
@@ -17,9 +17,9 @@ "i18next-express-middleware": "1.0.5", "i18next-node-fs-backend": "1.0.0", "i18next-xhr-backend": "1.4.2", - "next": "2.4.4", - "react": "15.6.1", - "react-dom": "15.6.1", + "next": "latest", + "react": "16.2.0", + "react-dom": "16.2.0", "react-i18next": "4.6.3" ...
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-reasonml/package.json
@@ -9,7 +9,7 @@ "license": "ISC", "dependencies": { "babel-plugin-bucklescript": "^0.2.4", - "next": "^4.1.4", + "next": "latest", "react": "^16.1.1", "react-dom": "^16.1.1", "reason-react": "^0.3.0"
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-rebass/package.json
@@ -6,9 +6,9 @@ }, "dependencies": { "babel-plugin-styled-components": "^1.1.7", - "next": "^3.0.1-beta.8", - "react": "^15.6.1", - "react-dom": "^15.6.1", + "next": "latest", + "react": "^16.2.0", + "react-dom": "^16.2.0", "rebass": "1.0.0-1", "styled-components": "^2.1.1" }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-recompose/package.json
@@ -6,9 +6,9 @@ }, "dependencies": { "babel-plugin-lodash": "^3.2.11", - "next": "beta", - "react": "^15.6.1", - "react-dom": "^15.6.1", + "next": "latest", + "react": "^16.2.0", + "react-dom": "^16.2.0", "recompose": "^0.24.0" } }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-relay-modern/package.json
@@ -16,7 +16,7 @@ "dotenv": "^4.0.0", "dotenv-webpack": "^1.5.4", "isomorphic-unfetch": "^2.0.0", - "next": "^4.1.4", + "next": "latest", "react": "^16.2.0", "react-dom": "^16.2.0", "react-relay": "^1.4.1"
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-styled-jsx-plugins/package.json
@@ -8,7 +8,7 @@ }, "dependencies": { "lost": "8.2.0", - "next": "4.1.0", + "next": "latest", "postcss-nested": "2.1.2", "react": "16.0.0", "react-dom": "16.0.0",
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-styled-jsx-scss/package.json
@@ -7,7 +7,7 @@ "start": "next start" }, "dependencies": { - "next": "4.1.0", + "next": "latest", "node-sass": "4.5.3", "react": "16.0.0", "react-dom": "16.0.0",
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-tailwindcss/package.json
@@ -9,7 +9,7 @@ "start": "next start" }, "dependencies": { - "next": "^4.1.3", + "next": "latest", "react": "^16.0.0", "react-dom": "^16.0.0" },
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-universal-configuration-runtime/package.json
@@ -6,7 +6,7 @@ }, "dependencies": { "htmlescape": "1.1.1", - "next": "4.1.4", + "next": "latest", "react": "16.2.0", "react-dom": "16.2.0" }
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-zones/home/package.json
@@ -6,7 +6,7 @@ "start": "next start -p 4000" }, "dependencies": { - "next": "zones", + "next": "latest", "react": "^16.0.0", "react-dom": "^16.0.0" },
true
Other
vercel
next.js
9a82ca4029151754097c7b4c77e125516c97171e.json
Update Next.js version on examples
examples/with-zones/package.json
@@ -12,9 +12,9 @@ }, "dependencies": { "micro-proxy": "^1.0.0", - "next": "latest", - "react": "^16.0.0", - "react-dom": "^16.0.0" + "next": "5.0.0-universal-alpha.15", + "react": "16.2.0", + "react-dom": "16.2.0" }, "license": "ISC" }
true
Other
vercel
next.js
202ceca1af1baeab5f61d2812ec48b019c80919d.json
Fix Doc in with-firebase-authentication (#3626)
examples/with-firebase-authentication/README.md
@@ -19,7 +19,7 @@ Download the example [or clone the repo](https://github.com/zeit/next.js): ```bash curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-firebase-authentication -cd with-firebase +cd with-firebase-authentication ``` Set up firebase:
false