From 77585df60356f704406958addb5ed3a00d5ec935 Mon Sep 17 00:00:00 2001 From: Jason Gill Date: Mon, 22 Jul 2024 12:50:56 -0600 Subject: [PATCH 1/3] include fides.js sourcemaps during development --- clients/fides-js/rollup.config.mjs | 2 +- clients/turbo.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/fides-js/rollup.config.mjs b/clients/fides-js/rollup.config.mjs index d9de0b5091e..e7227171bbb 100644 --- a/clients/fides-js/rollup.config.mjs +++ b/clients/fides-js/rollup.config.mjs @@ -129,7 +129,7 @@ SCRIPTS.forEach(({ name, gzipErrorSizeKb, gzipWarnSizeKb, isExtension }) => { file: `dist/${name}.js`, name: isExtension ? undefined : "Fides", format: isExtension ? undefined : "umd", - sourcemap: IS_DEV, + sourcemap: IS_DEV ? "inline" : false, }, ], }; diff --git a/clients/turbo.json b/clients/turbo.json index f5609a20801..d77fa329315 100644 --- a/clients/turbo.json +++ b/clients/turbo.json @@ -14,7 +14,6 @@ "cache": false }, "dev": { - "dependsOn": ["^build"], "outputs": [".next/*", "!.next/cache/*"], "cache": false, "persistent": true From 1aaee1c2632b8d41d3a13c57b090998dcdaafd06 Mon Sep 17 00:00:00 2001 From: Jason Gill Date: Mon, 22 Jul 2024 13:01:57 -0600 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48741486dd4..55c611e026c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ The types of changes are: ### Developer Experience - Add `.syncignore` to reduce file sync size with new volumes [#5104](https://github.com/ethyca/fides/pull/5104) +- Fix sourcemap generation in development version of FidesJS [#5119](https://github.com/ethyca/fides/pull/5119) ## [2.41.0](https://github.com/ethyca/fides/compare/2.40.0...2.41.0) From 637ec926c81371ac123a15162166c43c5a500422 Mon Sep 17 00:00:00 2001 From: Jason Gill Date: Mon, 22 Jul 2024 13:23:30 -0600 Subject: [PATCH 3/3] point to correct version of schema --- clients/turbo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/turbo.json b/clients/turbo.json index d77fa329315..fb707b30090 100644 --- a/clients/turbo.json +++ b/clients/turbo.json @@ -1,5 +1,5 @@ { - "$schema": "https://turbo.build/schema.json", + "$schema": "https://turbo.build/schema.v1.json", "pipeline": { "build": { "dependsOn": ["^build"],