Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 cron #1058

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 29 additions & 25 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ const nextConfig = {
swcMinify: true,
transpilePackages: ["@openstatus/ui", "@openstatus/api"],
experimental: {
outputFileTracingIncludes: {
"/": ["./node_modules/@google-cloud/tasks/build/esm/src/**/*.json"],
},
serverComponentsExternalPackages: [
// "libsql",
// "@libsql",
"@react-email/components",
"@react-email/render",
"@google-cloud/tasks",
// "@google-cloud/tasks",
// "@libsql/client",
// "@libsql/hrana-client",
// "better-sqlite3"
Expand Down Expand Up @@ -48,36 +51,37 @@ const nextConfig = {
},
};

module.exports = withContentlayer(nextConfig);
// Injected content via Sentry wizard below

const { withSentryConfig } = require("@sentry/nextjs");
// const { withSentryConfig } = require("@sentry/nextjs");

module.exports = withSentryConfig(
withContentlayer(nextConfig),
{
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options
// module.exports = withSentryConfig(
// withContentlayer(nextConfig),
// {
// // For all available options, see:
// // https://github.com/getsentry/sentry-webpack-plugin#options

// Suppresses source map uploading logs during build
silent: true,
// // Suppresses source map uploading logs during build
// silent: true,

org: "openstatus",
project: "openstatus",
},
{
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
// org: "openstatus",
// project: "openstatus",
// },
// {
// // For all available options, see:
// // // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/

// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,
// // // Upload a larger set of source maps for prettier stack traces (increases build time)
// // widenClientFileUpload: true,

// Transpiles SDK to be compatible with IE11 (increases bundle size)
transpileClientSDK: false,
// // // Transpiles SDK to be compatible with IE11 (increases bundle size)
// // transpileClientSDK: false,

// Hides source maps from generated client bundles
hideSourceMaps: true,
// // // Hides source maps from generated client bundles
// // hideSourceMaps: true,

// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: true,
},
);
// // // Automatically tree-shake Sentry logger statements to reduce bundle size
// // disableLogger: true,
// },
// );
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@types/node": "20.8.0",
"better-sqlite3": "11.4.0",
"bufferutil": "4.0.8",
"drizzle-kit": "0.26.1",
"drizzle-kit": "0.26.2",
"encoding": "0.1.13",
"next-auth": "5.0.0-beta.17",
"typescript": "5.5.2",
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

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

Loading