diff --git a/landing/.prettierrc.js b/landing/.prettierrc.cjs similarity index 100% rename from landing/.prettierrc.js rename to landing/.prettierrc.cjs diff --git a/landing/package.json b/landing/package.json index a94fdf0..bd1fe0d 100644 --- a/landing/package.json +++ b/landing/package.json @@ -2,6 +2,7 @@ "name": "pesto-landing", "version": "1.0.0", "private": true, + "type": "module", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/landing/sentry.client.config.ts b/landing/sentry.client.config.ts index 7f646e9..ce3bf76 100644 --- a/landing/sentry.client.config.ts +++ b/landing/sentry.client.config.ts @@ -1,15 +1,15 @@ import * as Sentry from "@sentry/astro"; Sentry.init({ - dsn: process.env.SENTRY_DSN ?? "", - integrations: [new Sentry.BrowserTracing(), new Sentry.Replay()], - attachStacktrace: true, - sampleRate: 1.0, - tracesSampleRate: 0.2, - tracePropagationTargets: ["localhost", "https://pesto.teknologiumum.com"], - // Capture Replay for 10% of all sessions, - // plus for 100% of sessions with an error - replaysSessionSampleRate: 0.02, - replaysOnErrorSampleRate: 0.5, - debug: import.meta.env.DEV, + dsn: process.env.SENTRY_DSN ?? "", + integrations: [new Sentry.BrowserTracing(), new Sentry.Replay()], + attachStacktrace: true, + sampleRate: 1.0, + tracesSampleRate: 0.2, + tracePropagationTargets: ["localhost", "https://pesto.teknologiumum.com"], + // Capture Replay for 10% of all sessions, + // plus for 100% of sessions with an error + replaysSessionSampleRate: 0.02, + replaysOnErrorSampleRate: 0.5, + debug: import.meta.env.DEV, }); diff --git a/landing/sentry.server.config.ts b/landing/sentry.server.config.ts index fb4a1a4..55be1b8 100644 --- a/landing/sentry.server.config.ts +++ b/landing/sentry.server.config.ts @@ -1,12 +1,10 @@ import * as Sentry from "@sentry/astro"; Sentry.init({ - dsn: process.env.SENTRY_DSN ?? "", - integrations: [ - new Sentry.Integrations.Http({ tracing: true }) - ], - attachStacktrace: true, - sampleRate: 1.0, - tracesSampleRate: 0.2, - debug: import.meta.env.DEV, + dsn: process.env.SENTRY_DSN ?? "", + integrations: [new Sentry.Integrations.Http({ tracing: true })], + attachStacktrace: true, + sampleRate: 1.0, + tracesSampleRate: 0.2, + debug: import.meta.env.DEV, }); diff --git a/landing/src/components/FieldList.astro b/landing/src/components/FieldList.astro index 9e6d485..8437cb7 100644 --- a/landing/src/components/FieldList.astro +++ b/landing/src/components/FieldList.astro @@ -13,13 +13,15 @@ const props = Astro.props as Props; ---