Skip to content

Commit

Permalink
updates and plausible proxied
Browse files Browse the repository at this point in the history
  • Loading branch information
JEK58 committed Aug 1, 2024
1 parent 0c7e72f commit dab4955
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 145 deletions.
10 changes: 8 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { withSentryConfig } from "@sentry/nextjs";
import { withPlausibleProxy } from "next-plausible";
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
Expand All @@ -21,8 +22,11 @@ const config = {
},
output: "standalone",
};
export default withSentryConfig(
config,

const configWithPlausible = withPlausibleProxy()(config);

const configWithSentryAndPlausible = withSentryConfig(
configWithPlausible,

{
// For all available options, see:
Expand Down Expand Up @@ -62,3 +66,5 @@ export default withSentryConfig(
automaticVercelMonitors: true,
},
);

export default configWithSentryAndPlausible;
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"@braintree/sanitize-url": "^7.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@sentry/nextjs": "^8.20.0",
"@sentry/nextjs": "^8.21.0",
"@t3-oss/env-nextjs": "^0.11.0",
"algoliasearch": "^4.24.0",
"axios": "^1.7.2",
Expand All @@ -43,12 +43,12 @@
"devDependencies": {
"@types/bun": "^1.1.6",
"@types/eslint": "^8.56.11",
"@types/node": "^20.14.13",
"@types/node": "^22.0.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"drizzle-kit": "^0.23.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"drizzle-kit": "^0.23.1",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.5",
"eslint-plugin-drizzle": "^0.2.3",
Expand Down
Loading

0 comments on commit dab4955

Please sign in to comment.