Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
update remix.config.js
Brad Barbin07fd5bf977ca
diff --git a/apps/carbon/app/queues/resend-invites.queue.server.ts b/apps/carbon/app/queues/resend-invites.queue.server.tsindex 3cb1761f68..ed8af6880f 100644--- a/apps/carbon/app/queues/resend-invites.queue.server.ts+++ b/apps/carbon/app/queues/resend-invites.queue.server.ts@@ -1,4 +1,3 @@-import { isVercel } from "~/config/env";import { Queue } from "~/lib/bullmq";import { getSupabaseServiceRole } from "~/lib/supabase";import { resendInvite } from "~/services/users";@@ -9,7 +8,9 @@ export type ResendInvitesQueueData = {const client = getSupabaseServiceRole();-export const resendInvitesQueue = isVercel();-Queue<ResendInvitesQueueData>("resendInvites:v1", async (job) => {- await resendInvite(client, job.data.id);-});+export const resendInvitesQueue = Queue<ResendInvitesQueueData>(+ "resendInvites:v1",+ async (job) => {+ await resendInvite(client, job.data.id);+ }+);diff --git a/apps/carbon/remix.config.js b/apps/carbon/remix.config.jsindex 279c2f6c8f..7ab0d53bd4 100644--- a/apps/carbon/remix.config.js+++ b/apps/carbon/remix.config.js@@ -1,14 +1,5 @@const path = require("node:path");const { flatRoutes } = require("remix-flat-routes");-const glob = require("glob");--const packages = glob- .sync("packages/**/package.json", {- cwd: path.join(__dirname, "..", ".."),- ignore: ["**/node_modules/**"],- absolute: true,- })- .map((pkg) => path.dirname(pkg));module.exports = {serverBuildTarget: "vercel",