From e5cd0662b9b47ca005cd328ec0f442eac3a3bcdb Mon Sep 17 00:00:00 2001 From: Nex Zhu Date: Mon, 18 Dec 2023 10:35:42 +0800 Subject: [PATCH] setup(all): set default build config (@nx/js:tsc) --- lib/myutil/project.json | 2 -- nx.js | 3 ++- nx.json | 4 ++++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/myutil/project.json b/lib/myutil/project.json index f628ffd..f84efe4 100644 --- a/lib/myutil/project.json +++ b/lib/myutil/project.json @@ -5,8 +5,6 @@ "projectType": "library", "targets": { "build": { - "executor": "@nx/js:tsc", - "outputs": ["{options.outputPath}"], "options": { "outputPath": "lib/myutil/dist", "main": "lib/myutil/src/index.ts", diff --git a/nx.js b/nx.js index e5798f5..7f52704 100644 --- a/nx.js +++ b/nx.js @@ -25,8 +25,9 @@ const config = { build: { dependsOn: ['^build'], cache: true, + executor: '@nx/js:tsc', inputs: ['default'], - // outputs, + outputs: ['{options.outputPath}'], }, test: { diff --git a/nx.json b/nx.json index 1489545..c77398d 100644 --- a/nx.json +++ b/nx.json @@ -20,8 +20,12 @@ "^build" ], "cache": true, + "executor": "@nx/js:tsc", "inputs": [ "default" + ], + "outputs": [ + "{options.outputPath}" ] }, "test": {