From 461ffb8c84e0ad04762a258e0b00f5452af7f7d4 Mon Sep 17 00:00:00 2001 From: tonymtz Date: Thu, 2 May 2024 17:45:10 -0700 Subject: [PATCH] removes example pages --- package-lock.json | 4 +- package.json | 2 +- pages/api/sentry-example-api.ts | 10 ---- pages/sentry-example-page.tsx | 85 --------------------------------- 4 files changed, 3 insertions(+), 98 deletions(-) delete mode 100644 pages/api/sentry-example-api.ts delete mode 100644 pages/sentry-example-page.tsx diff --git a/package-lock.json b/package-lock.json index f22b2e4..2e09090 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tomatoro", - "version": "3.0.182", + "version": "3.0.183", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tomatoro", - "version": "3.0.182", + "version": "3.0.183", "dependencies": { "@emotion/react": "11.11.4", "@emotion/styled": "11.11.5", diff --git a/package.json b/package.json index f1dcafb..130cefb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tomatoro", - "version": "3.0.182", + "version": "3.0.183", "private": true, "scripts": { "dev": "next dev", diff --git a/pages/api/sentry-example-api.ts b/pages/api/sentry-example-api.ts deleted file mode 100644 index ddc1387..0000000 --- a/pages/api/sentry-example-api.ts +++ /dev/null @@ -1,10 +0,0 @@ -// A faulty API route to test Sentry's error monitoring - -type Data = { - name: string -} - -export default function handler () { - throw new Error('Sentry Example API Route Error') - // res.status(200).json({ name: 'John Doe' }) -} diff --git a/pages/sentry-example-page.tsx b/pages/sentry-example-page.tsx deleted file mode 100644 index c75d80f..0000000 --- a/pages/sentry-example-page.tsx +++ /dev/null @@ -1,85 +0,0 @@ -/* eslint-disable max-len */ -import * as Sentry from '@sentry/nextjs' -import Head from 'next/head' - -export default function Home () { - return ( -
- - Sentry Onboarding - - - -
-

- - - -

- -

Get started by sending us a sample error:

- - -

- Next, look for the error on the{' '} - Issues Page. -

-

- For more information, see{' '} - - https://docs.sentry.io/platforms/javascript/guides/nextjs/ - -

-
-
- ) -}