From ccc3c7db89fbb68e6ae8ecd72e1940aa33bc5411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Chalk?= Date: Wed, 13 Aug 2025 13:01:17 +0200 Subject: [PATCH 1/2] build: fix nx release packageRoot after build outputs moved --- nx.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx.json b/nx.json index a6f3b45a0..7b9a52bf1 100644 --- a/nx.json +++ b/nx.json @@ -45,7 +45,7 @@ "dependsOn": ["build"], "executor": "@nx/js:release-publish", "options": { - "packageRoot": "dist/{projectRoot}", + "packageRoot": "{projectRoot}/dist", "registry": "https://registry.npmjs.org/" } } From 9a2d2deb6234ac7e7f7ed64bb1af3f7db362b467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Chalk?= Date: Wed, 13 Aug 2025 13:02:25 +0200 Subject: [PATCH 2/2] build: exclude dist in project dir from default cache inputs --- nx.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nx.json b/nx.json index 7b9a52bf1..16fdf3f99 100644 --- a/nx.json +++ b/nx.json @@ -51,7 +51,11 @@ } }, "namedInputs": { - "default": ["{projectRoot}/**/*", "sharedGlobals"], + "default": [ + "{projectRoot}/**/*", + "sharedGlobals", + "!{projectRoot}/dist/**/*" + ], "production": [ "default", "!{projectRoot}/eslint.config.?(c)js",