- 12 9月, 2019 6 次提交
-
-
由 Joe Haddad 提交于
This PR simply organizes the webpack config imports.
-
由 Joe Haddad 提交于
* Fail build on duplicate pages This will fail the `next build` command when a duplicate page is found. In development, we'll emit a warning instead of crashing the dev server. * Add test for warning in development * Only issue a warning * Fix production test * Fix development test * Remove useless arg * Warn in development, too
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
* Update pages-loader to return one value * de-dupe page mod update also
-
由 Joe Haddad 提交于
* TypeScript report on active pages only The TypeScript integration needs to report on active pages only. When inactive pages are reported, they block the compilation and prevent the user from fixing the error (because the file isn't watched). We cannot add the file to the webpack watcher because the compilation has already been sealed. * Remove TODO message * Test that inactive pages are not type checked
-
由 JJ Kasper 提交于
* use legacy image for now * Use image hash * Update config
-
- 11 9月, 2019 8 次提交
-
-
由 Joe Haddad 提交于
Some users aren't aware they need to edit their custom server to support various HTTP Methods (e.g. POST for API Routes). Instead, we should just handle all HTTP Methods out-of-the-box. --- Closes #8237
-
由 Michael Lustig 提交于
-
由 Jakub Karabuła-Stysiak 提交于
* Add initial Electron-Typescript-Next example * Move and add types * Update readme * Update renderer * remove config
-
由 JJ Kasper 提交于
* Delay updating asPath for auto exported pages * Add additional test ensuring asPath is updated
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
* Tweak test set-up * Update azure config * Add cleaning test files and windows handling * Limit windows test to one at a time * Tweak test settings * Update tests splitting * remove custom concurrency for azure * Test Azure var * Update Azure config * bump * Simplify cleaning up
-
由 Joe Haddad 提交于
* Add telemetry CLI tests * Apply suggestions from code review Co-Authored-By: NJJ Kasper <jj@jjsweb.site> * Update index.test.js
-
由 Joe Haddad 提交于
This adds support for `next telemetry disable` (and keeps support for `next telemetry --disable`). This also informs the user telemetry was already disabled if they re-run the command to give peace of mind.
-
- 10 9月, 2019 3 次提交
-
-
由 Diogo Dutra 提交于
-
由 JJ Kasper 提交于
-
由 Filip Wojciechowski 提交于
* better type for AppTree in NextPageContext * updated tests * new AppTreeType type and updated tests * removed a commented out line * another take on the type of AppTree, with updated tests * allow passing additional props to AppType * Update suite name
-
- 09 9月, 2019 2 次提交
-
-
由 Maël Nison 提交于
* Uses the PnP API when available * Moves the resolution into an helper * Update packages/next/lib/resolve-request.ts Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Apply Prettier
-
由 Joe Haddad 提交于
-
- 08 9月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 07 9月, 2019 3 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 06 9月, 2019 9 次提交
-
-
由 Maël Nison 提交于
* Adds the PnP plugin by default * Covers loaders * Fixes linting
-
由 Lukáš Huvar 提交于
* Add now.json to fix deploy * Adjust now.json * Fix next.config.js * Update next.config.js * Update examples/with-yarn-workspaces/now.json Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co>
-
由 Lukáš Huvar 提交于
-
由 Joe Haddad 提交于
The `useRouter` function is a hook and cannot be used with Classes. A few React beginners have brought this up, so we document the alternatives to hooks.
-
由 Joe Haddad 提交于
This updates the Create Next App template to remove the "Create Next App" card. Instead, we now display cards to the docs, learn, and the examples.
-
由 Joe Haddad 提交于
This tells the user to check their custom <App> for `getInitialProps` if they previously copied the example. This should help them leverage automatic static optimization!
-
由 Aaron Reisman 提交于
* Add Apollo Server and Client Example * Update Apollo Client to use previous example setup
-
由 Alex Matseshe 提交于
-
由 Henrik Wenz 提交于
* Remove connectToDevTools in favour of better default * Remove redirect code from client * Simplify function * Remove apollo-boost This package is optimized for client usage only. We actually never used it. We only usered its reexports. More info: https://www.apollographql.com/docs/react/v2.5/recipes/authentication/#header * Remove stopPropagation We actually don’t need it. * Refactor getToken method We want to show how to get the token. This can be from a cookie or some other isomorph store. We are not interested in the cookie abstraction in this example. * Secure cookie not perfect but better than before…. * Add ssr config option This was documented but not implemented
-
- 05 9月, 2019 5 次提交
-
-
由 Tim Neutkens 提交于
-
由 Joe Haddad 提交于
* Update Next.js Telemetry Event Shapes * Force value as-is
-
由 JJ Kasper 提交于
* Add failing test * Add jest-worker to export
-
由 JJ Kasper 提交于
-
由 Henrik Wenz 提交于
* Fix getInitialProps in with-apollo example The code before had two design flaws: * When we skip WithApollo.getInitialProps we must hoist PageComponent.getInitialProps if it is present. * We should expose the apolloClient to underlying PageComponent.getInitialProps contexts. * Add abort check * Add some comments * Add client only example page https://github.com/zeit/next.js/pull/8620#issuecomment-527870886 * Remove connectToDevTools setting in favor default config https://github.com/apollographql/apollo-client/blob/7eaf4132cd2cd6244260777799406aaa03fcf377/packages/apollo-client/src/ApolloClient.ts#L170-L173 * Remove fetch check This is done by https://www.npmjs.com/package/isomorphic-unfetch * Remove apollo-boost I am removing this package, because we never actually used it. This is because we use the named export of apollo boost wich resolves to apollo-client. This way we removed apollo-link-state, apollo-link-error * Remove redirect code from the client
-
- 04 9月, 2019 3 次提交
-
-
由 Tim Neutkens 提交于
* Initial move * Make emitting work * Update paths * Remove leftover files * Add correct externals configuration * Import correct path * Update path to work with ts-server test * Update lib directory * Compile next-server/lib
-
由 Bauyrzhan 提交于
-
由 Tim Neutkens 提交于
-