Skip to content

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.

chore: disable source maps in prod

Sidwebworks9bf1f8ed5a17
diff --git a/apps/erp/package.json b/apps/erp/package.json
index 8270890ba2..5362ee0106 100644
--- a/apps/erp/package.json
+++ b/apps/erp/package.json
@@ -48,6 +48,7 @@
"@react-router/remix-routes-option-adapter": "catalog:",
"@react-router/serve": "catalog:",
"@react-types/datepicker": "3.13.5",
+ "@react-types/shared": "3.33.1",
"@supabase/functions-js": "catalog:",
"@supabase/postgrest-js": "catalog:",
"@supabase/storage-js": "catalog:",
@@ -69,6 +70,7 @@
"cookie": "catalog:",
"d3": "7.9.0",
"d3-array": "3.2.4",
+ "d3-force": "3.0.0",
"dompurify": "catalog:",
"emoji-mart": "5.6.0",
"framer-motion": "catalog:",
@@ -135,6 +137,7 @@
"@tailwindcss/line-clamp": "catalog:",
"@tailwindcss/typography": "catalog:",
"@types/d3": "7.4.3",
+ "@types/d3-force": "3.0.10",
"@types/lodash": "4.17.24",
"@types/lodash.template": "4.5.3",
"@types/nprogress": "0.2.3",
diff --git a/packages/jobs/tsconfig.json b/packages/jobs/tsconfig.json
index f27b83e420..beead8d694 100644
--- a/packages/jobs/tsconfig.json
+++ b/packages/jobs/tsconfig.json
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"outDir": "./dist",
- "sourceMap": true,
+ "sourceMap": false,
"allowImportingTsExtensions": true,
"noEmit": true,
"strictNullChecks": true
diff --git a/packages/kv/tsup.config.ts b/packages/kv/tsup.config.ts
index 971be238af..2d970f62ea 100644
--- a/packages/kv/tsup.config.ts
+++ b/packages/kv/tsup.config.ts
@@ -8,5 +8,5 @@ export default defineConfig({
entry: ["src/index.ts"],
format: ["cjs", "esm"],
minify: isProduction,
- sourcemap: true,
+ sourcemap: !isProduction,
});
diff --git a/packages/lib/tsup.config.ts b/packages/lib/tsup.config.ts
index 971be238af..2d970f62ea 100644
--- a/packages/lib/tsup.config.ts
+++ b/packages/lib/tsup.config.ts
@@ -8,5 +8,5 @@ export default defineConfig({
entry: ["src/index.ts"],
format: ["cjs", "esm"],
minify: isProduction,
- sourcemap: true,
+ sourcemap: !isProduction,
});
diff --git a/packages/stripe/tsup.config.ts b/packages/stripe/tsup.config.ts
index 971be238af..2d970f62ea 100644
--- a/packages/stripe/tsup.config.ts
+++ b/packages/stripe/tsup.config.ts
@@ -8,5 +8,5 @@ export default defineConfig({
entry: ["src/index.ts"],
format: ["cjs", "esm"],
minify: isProduction,
- sourcemap: true,
+ sourcemap: !isProduction,
});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3bee3ab965..f05005ba9e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -688,6 +688,9 @@ importers:
'@react-types/datepicker':
specifier: 3.13.5
version: 3.13.5([email protected])
+ '@react-types/shared':
+ specifier: 3.33.1
+ version: 3.33.1([email protected])
'@supabase/functions-js':
specifier: 'catalog:'
version: 2.1.5
@@ -751,6 +754,9 @@ importers:
d3-array:
specifier: 3.2.4
version: 3.2.4
+ d3-force:
+ specifier: 3.0.0
+ version: 3.0.0
dompurify:
specifier: 'catalog:'
version: 3.4.0
@@ -944,6 +950,9 @@ importers:
'@types/d3':
specifier: 7.4.3
version: 7.4.3
+ '@types/d3-force':
+ specifier: 3.0.10
+ version: 3.0.10
'@types/lodash':
specifier: 4.17.24
version: 4.17.24