1. 01 4月, 2019 2 次提交
  2. 31 3月, 2019 2 次提交
  3. 30 3月, 2019 9 次提交
  4. 29 3月, 2019 7 次提交
  5. 28 3月, 2019 8 次提交
  6. 27 3月, 2019 9 次提交
    • J
      Specified page builds (#6796) · b835e258
      Joe Haddad 提交于
      * [wip] individual page builds
      
      * Make flag experimental and remove from main bin
      
      * Do not split chunks when using shared runtime
      b835e258
    • V
      [with-sentry] example: Make 'utils/sentry.js' more flexible (#6769) · 02966afd
      Václav Nosek 提交于
      * Make `ctx` optional in `captureException` function
      
      * Make 'release' optional when calling sentry util
      
      * Fix code style
      02966afd
    • C
      Improve with-google-analytics example (#6787) · 18884676
      Chris Cowan 提交于
      The with-google-analytics example had the "routeChangeComplete" event listener set up in components/Page.js, but that the event listener would only be set up if the user visited a page using that component. From the example, it's not clear if google analytics can be used without making every page use a component like components/Page.js. Someone following the example may make pages that don't use components/Page.js and fail to have page views reported, or feel compelled to force a shared component into their design unnecessarily, or might even make a mistake by making multiple different components like Page.js which each add a new "routeChangeComplete" event listener, causing page views to be over-reported when the user navigates between pages using the different components.
      
      This PR moves the "routeChangeComplete" event listener into _app.js, where it's guaranteed to be executed for every page and is more obviously decoupled from page-layout-related components.
      
      This PR also fixes a React warning about the lack of an onChange handler on an input tag, and removes the unnecessary implementation of `getInitialProps` in _document.js (the default implementation is inherited if not present, there's nothing this example needs to do with `getInitialProps` specifically, and the body of the method seems to have been based on an old version of next's internal implementation).
      
      This PR also fixes the url being passed to google tag manager incorrectly. It looks like page_path should be used instead of page_location because the `url` value only has the path, not the full url with the domain name, etc. (https://developers.google.com/analytics/devguides/collection/gtagjs/pages)
      18884676
    • L
      Remove prop-types import in the build (#6798) · da947224
      Luis Fernando Alvarez D 提交于
      Tests don't catch this change because `isProduction &&` is always false so I tested it with a local build
      da947224
    • T
      example with orbit-components (#6793) · 99362592
      Tomáš Hapl 提交于
      99362592
    • C
      Update dependencies of various examples (#6731) · 9504a389
      Corbin Crutchley 提交于
      Minor changes to examples. Updating major semver updates with only `package.json` changes. 
      I've done my best to make sure that these packages.json files all have `latest` for the `nextjs` package, `cross-env` for those with `server.js` files, etc.
      I also added a `package.json` to `with-dynamic-app-layout` (it was missing one previously)
      
      Made sure to test all of these packages post-upgrade to ensure maintained functionality
      9504a389
    • J
      Add AMP validation on export (#6794) · 244b0e70
      JJ Kasper 提交于
      * Add err.sh link and pool validation results
      to wait to show error until export is finished
      
      * Fix wording in amp-export-validation err.sh
      
      * Update validation error message
      Co-Authored-By: Nijjk <22380829+ijjk@users.noreply.github.com>
      
      * Update ways to fix text
      Co-Authored-By: Nijjk <22380829+ijjk@users.noreply.github.com>
      
      * Update why the error occurred wording
      Co-Authored-By: Nijjk <22380829+ijjk@users.noreply.github.com>
      
      * Update wording some more
      Co-Authored-By: Nijjk <22380829+ijjk@users.noreply.github.com>
      244b0e70
    • J
      v8.0.4-canary.24 · 96c62840
      JJ Kasper 提交于
      96c62840
    • J
      Use a shared module cache (#6791) · 0249b331
      Joe Haddad 提交于
      * [WIP] Use a shared module cache
      
      * ID modules in development
      
      * Revert "ID modules in development"
      
      This reverts commit 0613d92fa2c8c7fa11a5ff5b7770d784af1cec63.
      
      * Remove context replacement
      
      * Only enable shared runtime in prod
      
      * Sort settings
      
      * Add shared runtime experimental setting
      
      * only enable shared runtime in serverless
      0249b331
  7. 26 3月, 2019 3 次提交