Skip to content

Commit

Permalink
chore: revert spotlight
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshift committed Aug 28, 2024
1 parent dbc61c6 commit 6b1ff19
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 62 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"e2e:h:m": "npx playwright test --headed --project=chromium.mobile",
"e2e:h:t": "npx playwright test --headed --project=chromium.tablet",
"storybook": "storybook dev -p 6006",
"spotlight": "pnpx @spotlightjs/spotlight",
"build-storybook": "storybook build"
},
"dependencies": {
Expand All @@ -28,7 +27,6 @@
"@sentry/nextjs": "^8",
"@splinetool/react-spline": "^4.0.0",
"@splinetool/runtime": "^1.9.12",
"@spotlightjs/spotlight": "^2.3.1",
"@tanstack/react-query": "^5.36.0",
"@tanstack/react-virtual": "^3.5.0",
"clsx": "^2.1.1",
Expand Down
54 changes: 0 additions & 54 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// https://docs.sentry.io/platforms/javascript/guides/nextjs/

import * as Sentry from '@sentry/nextjs';
import * as Spotlight from '@spotlightjs/spotlight';
// import * as Spotlight from '@spotlightjs/spotlight';

Sentry.init({
dsn: 'https://0d295254822c41989ea49baec3c31a6d@o4504495959703552.ingest.us.sentry.io/4504526099447808',
Expand All @@ -29,6 +29,6 @@ Sentry.init({
],
});

if (process.env.NODE_ENV === 'development') {
Spotlight.init();
}
// if (process.env.NODE_ENV === 'development') {
// Spotlight.init();
// }
2 changes: 1 addition & 1 deletion sentry.edge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Sentry.init({
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,

spotlight: process.env.NODE_ENV === 'development',
// spotlight: process.env.NODE_ENV === 'development',
});
2 changes: 1 addition & 1 deletion sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Sentry.init({
debug: false,

// Uncomment the line below to enable Spotlight (https://spotlightjs.com)
spotlight: process.env.NODE_ENV === 'development',
// spotlight: process.env.NODE_ENV === 'development',
});

0 comments on commit 6b1ff19

Please sign in to comment.