Skip to content

Commit

Permalink
🐛 cron (#1058)
Browse files Browse the repository at this point in the history
* 🐛 cron

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
thibaultleouay and autofix-ci[bot] authored Oct 22, 2024
1 parent 8f5b7cc commit a7ebe81
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 32 deletions.
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.

0 comments on commit a7ebe81

Please sign in to comment.