Openstatus www.openstatus.dev

Fix build errors for self-hosted deployments (#1649)

* fix: Update module resolution and dynamic rendering

Signed-off-by: Ramtin Mesgari <26694963+iamramtin@users.noreply.github.com>

* docs: Update README.md

Signed-off-by: Ramtin Mesgari <26694963+iamramtin@users.noreply.github.com>

* pnpm dedupe

* fix: Use bundler moduleResolution only for Next.js apps

Signed-off-by: Ramtin Mesgari <26694963+iamramtin@users.noreply.github.com>

---------

Signed-off-by: Ramtin Mesgari <26694963+iamramtin@users.noreply.github.com>
Co-authored-by: Thibault Le Ouay <thibaultleouay@gmail.com>

authored by

Ramtin Mesgari
Thibault Le Ouay
and committed by
GitHub
2213e443 66d9521a

+3
+2
apps/web/src/app/(landing)/status/page.tsx
··· 14 14 } from "../content-box"; 15 15 import { type AtlassianDescriptionEnum, externalStatusArray } from "./utils"; 16 16 17 + export const dynamic = "force-dynamic"; 18 + 17 19 const TITLE = "External Status"; 18 20 const DESCRIPTION = 19 21 "Easily check if your external providers is working properly";
+1
packages/tsconfig/nextjs.json
··· 11 11 "jsx": "preserve", 12 12 "lib": ["dom", "dom.iterable", "esnext"], 13 13 "module": "esnext", 14 + "moduleResolution": "bundler", 14 15 "noEmit": true, 15 16 "resolveJsonModule": true, 16 17 "strict": true,