Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gatsby): SSR pages during development #27432

Merged
merged 149 commits into from Nov 17, 2020
Merged

feat(gatsby): SSR pages during development #27432

merged 149 commits into from Nov 17, 2020

Commits on Sep 2, 2020

  1. Configuration menu
    Copy the full SHA
    7a127f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2020

  1. Make it work

    sidharthachatterjee committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    3f920e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d614dd View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Configuration menu
    Copy the full SHA
    4d073f5 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. Configuration menu
    Copy the full SHA
    88dc39e View commit details
    Browse the repository at this point in the history
  2. Linting

    sidharthachatterjee committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    57a95ed View commit details
    Browse the repository at this point in the history
  3. Run tests in CI

    sidharthachatterjee committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    19cf373 View commit details
    Browse the repository at this point in the history
  4. Lint

    sidharthachatterjee committed Sep 9, 2020
    2 Configuration menu
    Copy the full SHA
    655b685 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    696487f View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2020

  1. Configuration menu
    Copy the full SHA
    da624c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. Configuration menu
    Copy the full SHA
    89b671c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a90ea0c View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. Configuration menu
    Copy the full SHA
    d93d36d View commit details
    Browse the repository at this point in the history
  2. Fix some lint errors

    KyleAMathews committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    cfb1a3b View commit details
    Browse the repository at this point in the history
  3. Fix building html

    KyleAMathews committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    e4ab9c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ce714f3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be7b2ae View commit details
    Browse the repository at this point in the history
  6. Add return types

    KyleAMathews committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    96c0f33 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9d8bde2 View commit details
    Browse the repository at this point in the history
  8. typings

    KyleAMathews committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    ac9642e View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2020

  1. fix types... maybe

    KyleAMathews committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    f8f00a3 View commit details
    Browse the repository at this point in the history
  2. maybe typescript happy

    KyleAMathews committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    cbf16e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1311c34 View commit details
    Browse the repository at this point in the history
  4. moer merry type work

    KyleAMathews committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    4c86edb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f32c682 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0e0cefd View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. Configuration menu
    Copy the full SHA
    494415f View commit details
    Browse the repository at this point in the history
  2. cleanups

    KyleAMathews committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    ff59c2d View commit details
    Browse the repository at this point in the history
  3. more cleanups

    KyleAMathews committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    93e8fa1 View commit details
    Browse the repository at this point in the history
  4. yet moer cleanups

    KyleAMathews committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    29a291e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8ab60c9 View commit details
    Browse the repository at this point in the history
  6. add return type

    KyleAMathews committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    68d2710 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2e05cb5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    616d856 View commit details
    Browse the repository at this point in the history
  9. cleanup

    KyleAMathews committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    3442a00 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    424baaa View commit details
    Browse the repository at this point in the history
  11. update snapshots

    KyleAMathews committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    d4e4b2e View commit details
    Browse the repository at this point in the history
  12. cleanup

    KyleAMathews committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    cdea9a0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a10f070 View commit details
    Browse the repository at this point in the history
  14. fix test

    KyleAMathews committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    21cab9d View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. Catch reading errors

    KyleAMathews committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    c50327f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6be8fe6 View commit details
    Browse the repository at this point in the history
  3. Keep the renderer around

    KyleAMathews committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    f156049 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b1eaa4a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e11cc0a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    00037e1 View commit details
    Browse the repository at this point in the history
  7. just use /

    KyleAMathews committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    5b8089a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1cd80bf View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8031720 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f44f285 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    cabc58a View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

  1. Configuration menu
    Copy the full SHA
    37bdaa0 View commit details
    Browse the repository at this point in the history
  2. Update packages/gatsby/cache-dir/develop-static-entry.js

    Co-authored-by: Peter van der Zee <209817+pvdz@users.noreply.github.com>
    KyleAMathews and pvdz committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    feab2f9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8608b38 View commit details
    Browse the repository at this point in the history
  4. Consistently use imports

    KyleAMathews committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    9f16346 View commit details
    Browse the repository at this point in the history
  5. fix

    KyleAMathews committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    2b3452b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e8da16c View commit details
    Browse the repository at this point in the history
  7. remove unneeded change

    KyleAMathews committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    cc25d74 View commit details
    Browse the repository at this point in the history
  8. Add find-page-by-path util from @pieh

    pieh authored and KyleAMathews committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    27c18dd View commit details
    Browse the repository at this point in the history
  9. make typescript happy

    KyleAMathews committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    3059e56 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    78be606 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2020

  1. Configuration menu
    Copy the full SHA
    d37c1c4 View commit details
    Browse the repository at this point in the history
  2. Enable dev ssr for tests

    KyleAMathews committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    a5b9b45 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e23466 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8a4f585 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    05deee4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bfccb50 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

  1. Configuration menu
    Copy the full SHA
    93d4a64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1532e3 View commit details
    Browse the repository at this point in the history
  3. Add return

    KyleAMathews committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    734f5b7 View commit details
    Browse the repository at this point in the history
  4. this wasn't necessary

    KyleAMathews committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    36c33d7 View commit details
    Browse the repository at this point in the history
  5. Remove unused var

    KyleAMathews committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    b57cf79 View commit details
    Browse the repository at this point in the history
  6. fix return type

    KyleAMathews committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    bad3cda View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2020

  1. Configuration menu
    Copy the full SHA
    257ec86 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2020

  1. Configuration menu
    Copy the full SHA
    e33e843 View commit details
    Browse the repository at this point in the history
  2. Use the webpack hash

    KyleAMathews committed Oct 24, 2020
    Configuration menu
    Copy the full SHA
    6482f03 View commit details
    Browse the repository at this point in the history
  3. This didn't work

    KyleAMathews committed Oct 24, 2020
    Configuration menu
    Copy the full SHA
    26916f0 View commit details
    Browse the repository at this point in the history
  4. fix lint error

    KyleAMathews committed Oct 24, 2020
    Configuration menu
    Copy the full SHA
    b7fcd00 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. Configuration menu
    Copy the full SHA
    37cf64c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    850231e View commit details
    Browse the repository at this point in the history
  3. fix lint

    KyleAMathews committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    2581da4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a4ffe3f View commit details
    Browse the repository at this point in the history
  5. fix test import

    KyleAMathews committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    98fbde1 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2020

  1. Configuration menu
    Copy the full SHA
    07796c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a252870 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63765ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3e9a3aa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b284388 View commit details
    Browse the repository at this point in the history
  6. try try again

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    ebfa18d View commit details
    Browse the repository at this point in the history
  7. Fixes hopefully

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    0df8483 View commit details
    Browse the repository at this point in the history
  8. typescript 😱

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    1231fde View commit details
    Browse the repository at this point in the history
  9. lint

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    4994599 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a0cb22c View commit details
    Browse the repository at this point in the history
  11. Debuggin

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    822c482 View commit details
    Browse the repository at this point in the history
  12. use default reporter

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    325cd4a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    421e993 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    85db9ec View commit details
    Browse the repository at this point in the history
  15. sup

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    95a85b9 View commit details
    Browse the repository at this point in the history
  16. Update packages/gatsby-cli/src/structured-errors/error-map.ts

    Co-authored-by: Lennart <lekoarts@gmail.com>
    sidharthachatterjee and LekoArts committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    4c2b170 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    45568e4 View commit details
    Browse the repository at this point in the history
  18. Increase pageLoadTimeout

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    f2a862c View commit details
    Browse the repository at this point in the history
  19. try taskTimeout

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    89da3ac View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    e780c5d View commit details
    Browse the repository at this point in the history
  21. Don't re-spawn the worker process on every change as that's very expe…

    …nsive. Just delete the module cache for 25 edits before re-spawning
    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    c7918b8 View commit details
    Browse the repository at this point in the history
  22. cleanups

    KyleAMathews committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    fd51701 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2020

  1. Update packages/gatsby/cache-dir/develop-static-entry.js

    Co-authored-by: Ward Peeters <ward@coding-tech.com>
    KyleAMathews and wardpeet committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    2693163 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89b51b8 View commit details
    Browse the repository at this point in the history
  3. fix lint

    KyleAMathews committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    55e44dc View commit details
    Browse the repository at this point in the history
  4. Lazily compile page components

    This makes the initial creation of the dev ssr bundle ~85% faster.
    KyleAMathews committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    850fe07 View commit details
    Browse the repository at this point in the history
  5. fix typescript

    KyleAMathews committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    c5e740d View commit details
    Browse the repository at this point in the history
  6. mock /lazy-sync-requires

    KyleAMathews committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    c2a7191 View commit details
    Browse the repository at this point in the history
  7. The lazy bundling created a race condition where two pages could be s…

    …imultaneously requested but both would think they're done as soon as the first to arrive finishes — 'suspend' rendering until the pageComponent is found to avoid this
    KyleAMathews committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    dfeabe6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9d9af27 View commit details
    Browse the repository at this point in the history
  9. Check file directly that the page component has been added

    This is a lot simpler & more reliable
    KyleAMathews committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    e55886b View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. Configuration menu
    Copy the full SHA
    e63dd38 View commit details
    Browse the repository at this point in the history
  2. fix test & comment

    KyleAMathews committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    b13521f View commit details
    Browse the repository at this point in the history
  3. We can't use the gatsby reporter inside a child as it uses process.se…

    …nd for console.* which breaks jest-worker
    KyleAMathews committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    d10ec64 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2020

  1. Move writing lazyComponents to requires-writer & still use old develo…

    …p-static-entry if no flag
    KyleAMathews committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    4f159a8 View commit details
    Browse the repository at this point in the history
  2. update tests

    KyleAMathews committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    2ffb15d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d58b886 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    414430b View commit details
    Browse the repository at this point in the history
  5. try again

    KyleAMathews committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    67c79b6 View commit details
    Browse the repository at this point in the history
  6. try try again

    KyleAMathews committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    f70c177 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    867bc42 View commit details
    Browse the repository at this point in the history
  8. fix pnp test

    KyleAMathews committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    0462eb8 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2020

  1. Configuration menu
    Copy the full SHA
    1d3604b View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2020

  1. Configuration menu
    Copy the full SHA
    cb4c6f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    acad5a8 View commit details
    Browse the repository at this point in the history
  3. More cleanup

    KyleAMathews committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    d0800ea View commit details
    Browse the repository at this point in the history
  4. more cleanups

    KyleAMathews committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    305ae22 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    681baa0 View commit details
    Browse the repository at this point in the history
  6. fix lint

    KyleAMathews committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    1b9921e View commit details
    Browse the repository at this point in the history
  7. more lint fixes

    KyleAMathews committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    80578d1 View commit details
    Browse the repository at this point in the history
  8. Use execa

    KyleAMathews committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    cab5b08 View commit details
    Browse the repository at this point in the history
  9. fix tests

    KyleAMathews committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    7ce4a3e View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. Update names

    KyleAMathews committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    2740c42 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Configuration menu
    Copy the full SHA
    2c00092 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce5f4ec View commit details
    Browse the repository at this point in the history
  3. Update snapshot

    KyleAMathews committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    a968156 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    33429f6 View commit details
    Browse the repository at this point in the history
  5. fix dependency check

    KyleAMathews committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    9cefce7 View commit details
    Browse the repository at this point in the history
  6. remove unused import

    KyleAMathews committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    668cbba View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. Update packages/gatsby/src/utils/dev-ssr/develop-html-route.ts

    Co-authored-by: Ward Peeters <ward@coding-tech.com>
    KyleAMathews and wardpeet committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    f26ae68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cecc69a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    671d73c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e557fca View commit details
    Browse the repository at this point in the history
  5. fix

    KyleAMathews committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    67e0d0c View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Configuration menu
    Copy the full SHA
    02dceb9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f91a18d View commit details
    Browse the repository at this point in the history