V2 - New preset v2-mst-aptd-gcms-lcz-sty with hybrid SSG/SSR instead of SSR-only (based on v1-ssr-mst-aptd-gcms-lcz-sty)#68
Conversation
|
[GitHub Actions] |
|
[GitHub Actions] |
|
[GitHub Actions] |
|
[GitHub Actions] |
|
[GitHub Actions] |
|
[GitHub Actions] |
|
[GitHub Actions] |
|
[GitHub Actions] |
|
[GitHub Actions] |
…ial recommendations) for server-side fetching
|
[GitHub Actions] |
|
[GitHub Actions] |
…e been removed a long time ago, was installed as dep)
|
[GitHub Actions] |
|
E2E are failing again, seems related to vercel. Maybe they changed something, the tests aren't applied on the deployment but on vercel's homepage. Well, it's working again... I noticed it those few days, seems random, probably a latency issue making tests run too early, before Vercel page is ready? |
…turn props under nested "props" key (keep similar API between SSG and SSR, better code reusability)
|
[GitHub Actions] |
…arams in SSR pages (wasn't being used)
|
[GitHub Actions] |
… code and make TS type extensible
|
[GitHub Actions] |
… files + extended Jest with jest-to-match-shape-of + fix conflict between package.json:jest and jest.config.js - See jestjs/jest#10123 Fix jest config setupFilesAfterEnv (conflict between package.json:jest and jest.config.js) - See jestjs/jest#10123 Make jest load env variables from .env* files (in the correct order) Extend Jest with jest-to-match-shape-of Remove node-fetch polyfill for Jest and polyfill with "Next" instead - See vercel/next.js#13678 (comment)
|
✅ Deployment SUCCESS |
|
✅ E2E tests SUCCESS for commit c414b40 previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-6tn7ciqvu-unly-oss.vercel.app |
|
✅ Deployment SUCCESS |
|
✅ E2E tests SUCCESS for commit 82aad2f previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-7ow8to4in-unly-oss.vercel.app |
|
✅ Deployment SUCCESS |
|
✅ E2E tests SUCCESS for commit 6a27688 previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-kuc2fbtlb-unly-oss.vercel.app |
* Refactor Sentry, split code between files depending on usage (browser/server/universal) * Always flush Sentry in API endpoints * Always flush Sentry in _error handling
|
✅ Deployment SUCCESS |
|
✅ E2E tests SUCCESS for commit 9b72578 previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-nffrll0ij-unly-oss.vercel.app |
|
✅ Deployment SUCCESS |
|
✅ E2E tests SUCCESS for commit a5ad627 previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-gfu1195c7-unly-oss.vercel.app |
…try/init"' has no default export."
* Re-export Sentry from init (DX) and call init from error endpoint to see if it fixes the issue with flush() timeout * Improve sentry init documentation + rollback to timeout 2s + auto-init Sentry when using configureReq * Implement better error handling on _error page (enrich Sentry metadata from req object) * Fix 404 error handling and reporting to Sentry * Improve documentation about error handling * Upgrade Sentry to latest (minor)
|
✅ Deployment SUCCESS |
|
✅ E2E tests SUCCESS for commit 5ea63ac previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-fzs6017tx-unly-oss.vercel.app |
|
✅ Deployment SUCCESS |
|
✅ E2E tests SUCCESS for commit 06a6a37 previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-3kgtlv1hh-unly-oss.vercel.app |
|
❌ Deployment FAILED |
Demos
Status
This PR/branch is stable and has been added as the new official/default NRN preset.
We still have some features to implement, but they're secondary.
Notes
This PR is not meant to be merged, but to provide a diff against the base branch (which was a preset using SSR-only, and has been deprecated now that v2 is released)
PR from #42 (preset branch was renamed, thus forcing us to open a new PR), useful for extra context (discussions about technical implementation)
New features in this PR:
Roadmap - In progress
Roadmap - Backlog
Done
ssroption which was designed for <v9.3 and doesn't considergetServerSidePropsoption, and is confusing_documentpublicfolder properlyrevalidateexamplefallbackexampleOptional other improvements
On hold (stuck, any help appreciated)
winston)Known bugs
All fixed