- 02 11月, 2019 3 次提交
-
-
由 Tim Neutkens 提交于
Fixes #9284
-
由 Janicklas Ralph 提交于
* Polyfilling fetch and object-assign * Polyfilling corejs object-assign * Adding object-assign in polyfills.js. IE11 does not support Object.assign * Fixing failing test * Updating object.assign polyfill to fix aliasing * Updating test case value to match new build stats * Increasing the size of default build to 225kb * Fixing defer-script test case to not include polyfill.js * Revert README.md * Re-design the polyfill approach based on PR feedback * Adding comment and fixing test case * Rename polyfills chunk * Extract aliases into helper * Remove extra new line * Fix TypeScript typings * Adding _internal_fetch alias * Adjust build manifest plugin * Build manifest plugin changes - adding a separate entry for polyfills * Rename polyfills entry in build-manifest.json * Remove old comment * Fix TS * Set key * Polyfills already added * Filtring polyfill.module.js * Fix test * Add __internal_fetch to alias rule * Adjust name * bump size * ignore polyfills * sigh
-
由 Tim Neutkens 提交于
* Add initial bit for plugins * Add checks for needed metadata values * Add test * Initial plugins changes * Add handling for _app middleware * Add loading of _document middleware and handling of multiple default export syntaxes * Fix insert order for middleware member expression * Remove early return from middleware plugin from testing * Add tests for current plugin middlewares * Update test plugin package.json * Update handling for class default export * Update to use webpack loader instead of babel plugin, remove redundant middleware naming, and add field for required env for plugins * Add middleware to support material-ui use case and example material-ui plugin * Update tests and remove tests stuff from google analytics plugin * Remove old plugin suite * Add init-server middleware * Exit hard without stack trace when error in collecting plugins * Add on-error-client and on-error-server and update to run init-server with next-start in serverless mode * Update init-client for google analytics plugin * Add example Sentry plugin and update with-sentry-simple * Remove middleware field/folder and use src dir for plugins * Add post-hydration middleware and update material-ui plugin * Put plugins code behind flag * Update chromedriver * Revert "Update chromedriver" This reverts commit 1461e978e677f7da05e29e0415ec614a04bf65f9. * Update lock file * Remove un-needed _app for sentry example * Add auto loading of scoped packages, add plugins config for manually listing plugins, and update to only collect plugins once * Update example plugins * Expose plugins' config * Rename plugin lifecycles and add babel-preset-build * Rename other methods with unstable * Update log when plugin config overrides auto-detecting
-
- 15 10月, 2019 1 次提交
-
-
由 Gerald Monaco 提交于
-
- 03 10月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* s/Automatic Prerendering/Automatic Static Optimization/ * Update more links
-
- 18 9月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Global CSS Support * Fix webpack configuration * oneOf rule isn't necessary yet * Adjust CSS chunk naming * Begin testing CSS behavior * Add another test TODO * Replace null-loader with ignore-loader * Turn on chunks for new CSS feature * Fix multi test suite * Test CSS import order * Test style HMR * Test CSS compilation * Test compilation and prefixing together * Verify CSS styling works for Development and Production * Add missing TODO * Remove unnecessary test * Adjust TODO message * Hide page until React hydrates * Revert "Hide page until React hydrates" This reverts commit 898d4e0ee547b003d5790e2b11476740d645b907. * Hide FOUC during development * Test CSS imports * Update tests TODO * Add fixture for url() test * Test `file-loader` support in CSS files * Use a simple variant of cssnano * Self-import * Undo bundling * Implement suggestion
-
- 16 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add autoExport to __NEXT_DATA__ * Update render variable
-
- 10 9月, 2019 1 次提交
-
-
由 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
-
- 04 9月, 2019 1 次提交
-
-
由 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
-
- 23 8月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add warning when empty object is returned from getInitialProps * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Apply suggestions from code review Co-Authored-By: NJan Potoms <potoms.jan@gmail.com>
-
- 20 8月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Remove Flying Shuttle experiment * Remove more old tests * Remove minify loader
-
- 14 8月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-
- 13 8月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Also provide AppTree in NextPageContext * Don't predefine AppTree as null in ctx * Make update smaller * Don’t reassign variable * Add test for AppTree in NextPageContext * Update utils.ts
-
- 10 8月, 2019 1 次提交
-
-
由 Houssein Djirdeh 提交于
* adds user timing marks for hydration step * changes measure names and removes window namespaces by adding performance as a global to standard * separates hydrate and render marks * Add performance mark to router change instead of link click * Changes performance mark name at router change * adds checks for performance * creates constants utils for performance and user timings
-
- 07 8月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Revert "Remove Old Prerender Implementation (#8218)" This reverts commit 2ab300dd. * Add contentHandler for page config * Rename config from contentHandler to re-use experimentalPrerender * Remove un-needed changes * Replace backslashes for manifest * Update manifest output format * Make prerender: true enable SPR behavior and update to merge prerender-manifest for flying-shuttle * Fix output path for / prerender file * Add dynamic routes to test suite * Add generating and previewing of skeletons for prerendered dynamic routes * remove inline prerender option * update to not replace getInitialProps which allows nested getInitialProps and add query when fetching prerender * Apply suggestions from code review Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Remove legacy prerender option * Apply suggestions from review * Apply more suggestions from review * Apply suggestions from code review Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Add handling of error when parsing json * Update handling of moving exported pages * Rename nextPreviewSkeleton to _nextPreviewSkeleton * bump
-
- 31 7月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Provide AppContainer to getInitialProps for getDataFromTree * Update to only pass AppTree component instead of AppContainer * Clean up props and remove extra imports * Make updates from review * De-dupe AppTree a bit * Re-use wrapApp in router * Remove un-needed change * revert changes to examples until on stable * Add test for AppTree
-
- 27 7月, 2019 1 次提交
-
-
由 Adam Misiorny 提交于
-
- 25 7月, 2019 2 次提交
-
-
由 Joe Haddad 提交于
Reverts zeit/next.js#8097 This PR caused bundle sizes to increase. We need to fix this bug before we continue adding invalid TypeScript exports to our code.
-
由 Adam Misiorny 提交于
-
- 16 7月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add warning for experimental config usage * Update config.ts
-
- 12 7月, 2019 1 次提交
-
-
由 Luis Fernando Alvarez D 提交于
* Added the RouteUrl type and improved router types * Added more tests for router types * Add build test for typescript types * Add next-env.d.ts to the typescript test * Removed next-env.d.ts * Added next-env.d.ts to gitignore * Remove route url re-exports * renamed PublicRouterInstance to be NextRouter * export the Url type * Replaced BaseRouter with NextRouter in server/utils * Don't export the Url type * Update tsconfig.json
-
- 10 7月, 2019 3 次提交
-
-
由 JJ Kasper 提交于
* Add default values for runtime config * Add test to ensure default values are set for runtime config * Only add runtimeConfig if it's not empty * Only add runtimeConfig if it's not empty * Simplify default value adding * Reduce bundle size * remove comment changes * Fix typos * Add test for runtimeConfig in __NEXT_DATA__
-
由 Joe Haddad 提交于
* Allow React.Fragment for Document styles Fixes https://github.com/zeit/next.js/issues/7784 Closes https://github.com/zeit/next.js/pull/7860 * Fix types * Remove `Without`
-
由 Vincent Cordobes 提交于
* Fix NextApiResponse.status type signature * Improve NextApiResponse typing
-
- 09 7月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Remove previous cache logic * Remove old test
-
- 08 7月, 2019 1 次提交
-
-
由 Alexander Kachkaev 提交于
-
- 05 7月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Update to have default pageProps of {} instead of null * Update test * Test for empty object
-
- 29 6月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-
- 27 6月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Clean up AMP logic * Tweak AMP logic some more * Rename hasAmpVersion to hybridAmp
-
- 05 6月, 2019 1 次提交
-
-
由 Lukáš Huvar 提交于
* Cookies and Query parsing for API request * Adding JSON and SEND * First body parsing * Body parsing * Remove extra try catch * Fix tests * Only server bundling for API routes * Update packages/next-server/server/api-utils.ts Co-Authored-By: NTim Neutkens <tim@timneutkens.nl> * Revert on demand server changes * Use content-type for parsing * Update packages/next-server/server/api-utils.ts Co-Authored-By: NJan Potoms <potoms.jan@gmail.com> * Add tests for server compilation * Add body limit * Change API to function chaining * Limit test
-
- 29 5月, 2019 2 次提交
-
-
由 Tim Neutkens 提交于
* Run prettier over packages/**/*.js * Run prettier over packages/**/*.ts * Run prettier over examples * Remove tslint * Run prettier over examples * Run prettier over all markdown files * Run prettier over json files
-
由 JJ Kasper 提交于
* Add canonicalBase config to allow setting absolute path for canonical link * Make sure canonicalBase is set for export and serverless * Move canonicalBase to amp.canonicalBase * Update tests with canonicalBase config * Update tests * run lint-fix * Fix canonicalBase config parsing * Fix canonicalBase during export * Update amphtml tests
-
- 24 5月, 2019 2 次提交
-
-
由 JJ Kasper 提交于
* Opt out of cache header if _app has custom getInitialProps to match autoExport behavior * Fix wrong component * Add test for cache header
-
由 Lukáš Huvar 提交于
* App, Document, Page, Error types description * Router description * Added head changed router * Additions * Fix examples * Push and replace details * Update packages/next-server/lib/head.tsx Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co> * Update packages/next-server/lib/utils.ts Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co> * Update packages/next/types/index.d.ts Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co> * Update packages/next/pages/_document.tsx Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co> * Update packages/next/pages/_document.tsx Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co> * Update packages/next/pages/_app.tsx Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co> * Update packages/next/pages/_document.tsx Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co>
-
- 07 5月, 2019 1 次提交
-
-
由 Luis Fernando Alvarez D 提交于
-
- 01 5月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Remove loadGetInitialProps from _app and fix cache-control header not being * Update to still use loadGetInitialProps in _app since it's simpler * Add test for cache-control header with custom _app
-
- 30 4月, 2019 1 次提交
-
-
由 Luis Fernando Alvarez D 提交于
-
- 29 4月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-
- 28 4月, 2019 1 次提交
-
-
由 Luis Fernando Alvarez D 提交于
* Added types for pages
-
- 26 4月, 2019 1 次提交
-
-
由 Luis Fernando Alvarez D 提交于
-