From 5c663b29fc1f9635513744a39310ed7133b48516 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Wed, 13 Dec 2023 15:32:14 +0000 Subject: [PATCH] Add SSR and SSG detection for Next.js --- src/technologies/n.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/technologies/n.json b/src/technologies/n.json index e6ed89b42..47064d4ee 100644 --- a/src/technologies/n.json +++ b/src/technologies/n.json @@ -682,6 +682,39 @@ "requires": "Next.js", "website": "https://nextjs.org/docs/app" }, + "Next.js SSR": { + "cats": [ + 12 + ], + "description": "Next.js Server-Side Rendering.", + "icon": "Next.js.svg", + "implies": [ + "Next.js" + ], + "js": { + ".__NEXT_DATA__.gip": "true", + ".__NEXT_DATA__.gssp": "true" + }, + "requires": "Next.js", + "website": "https://nextjs.org/docs/pages/building-your-application/rendering/server-side-rendering" + }, + "Next.js SSG": { + "cats": [ + 12 + ], + "description": "Next.js Statis Site Generation.", + "icon": "Next.js.svg", + "implies": [ + "Next.js" + ], + "js": { + ".__NEXT_DATA__.gsp": "true", + ".__NEXT_DATA__.nextExport": "true", + ".__NEXT_DATA__.autoExport": "true" + }, + "requires": "Next.js", + "website": "https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation" + }, "NextAuth.js": { "cats": [ 69