Skip to content

Commit

Permalink
update sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Sep 12, 2024
1 parent 1aa164f commit 4746028
Show file tree
Hide file tree
Showing 4 changed files with 790 additions and 166 deletions.
2 changes: 1 addition & 1 deletion packages/ui/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@radix-ui/react-tooltip": "^1.1.2",
"@radix-ui/react-visually-hidden": "^1.1.0",
"@segment/snippet": "^5.2.1",
"@sentry/nextjs": "^7.105.0",
"@sentry/nextjs": "^8.30.0",
"@shikijs/transformers": "^1.2.2",
"@types/nprogress": "^0.2.3",
"@vercel/edge-config": "^1.1.0",
Expand Down
17 changes: 13 additions & 4 deletions packages/ui/docs-bundle/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,19 @@ function isTruthy(value) {
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
transpilePackages: ["next-mdx-remote", "esbuild", "lodash-es", "@fern-ui/ui", "@fern-api/fdr-sdk"],
transpilePackages: [
"next-mdx-remote",
"esbuild",
"lodash-es",

/**
* Monorepo packages that are not transpiled by default.
*/
"@fern-ui/core-utils",
"@fern-api/fdr-sdk",
"@fern-ui/components",
"@fern-ui/ui",
],
productionBrowserSourceMaps: isTruthy(process.env.ENABLE_SOURCE_MAPS),
experimental: {
scrollRestoration: true,
Expand Down Expand Up @@ -108,9 +120,6 @@ const nextConfig = {
remotePatterns: DOCS_FILES_ALLOWLIST,
path: cdnUri != null ? `${cdnUri.href}_next/image` : undefined,
},
env: {
VERSION: process.env.VERSION,
},
webpack: (config, { isServer }) => {
if (isServer) {
config.externals = config.externals || [];
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/docs-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@fern-ui/fdr-utils": "workspace:*",
"@fern-ui/search-utils": "workspace:*",
"@fern-ui/ui": "workspace:*",
"@sentry/nextjs": "^7.112.2",
"@sentry/nextjs": "^8.30.0",
"@vercel/edge-config": "^1.1.0",
"@vercel/kv": "^2.0.0",
"@workos-inc/node": "^6.1.0",
Expand Down
Loading

0 comments on commit 4746028

Please sign in to comment.