From ffbdade714d8931f1ff336a8e840cf45a385641b Mon Sep 17 00:00:00 2001 From: getlarge Date: Fri, 13 Sep 2024 19:44:30 +0200 Subject: [PATCH] chore: fix projects config [skip ci] --- packages/cluster/project.json | 8 +------- packages/eslint-rules/project.json | 14 +++++++++++++- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/packages/cluster/project.json b/packages/cluster/project.json index 5dc578d..47b1274 100644 --- a/packages/cluster/project.json +++ b/packages/cluster/project.json @@ -18,13 +18,7 @@ } }, "test": { - "executor": "@nx/jest:jest", - "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], - "dependsOn": ["build"], - "options": { - "jestConfig": "packages/cluster/jest.config.ts", - "codeCoverage": true - } + "dependsOn": ["build"] } } } diff --git a/packages/eslint-rules/project.json b/packages/eslint-rules/project.json index 3bf7846..184b237 100644 --- a/packages/eslint-rules/project.json +++ b/packages/eslint-rules/project.json @@ -5,5 +5,17 @@ "projectType": "library", "tags": [], "// targets": "to see all targets run: nx show project eslint-rules --web", - "targets": {} + "targets": { + "build": { + "executor": "@nx/js:tsc", + "outputs": ["{options.outputPath}"], + "options": { + "outputPath": "dist/packages/eslint-rules", + "tsConfig": "packages/eslint-rules/tsconfig.lib.json", + "packageJson": "packages/eslint-rules/package.json", + "main": "packages/eslint-rules/src/index.ts", + "assets": ["packages/eslint-rules/*.md"] + } + } + } }