From beb9e2c43f9612481cb057b09b047b49938d9519 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 21 Dec 2023 11:44:36 +0100 Subject: [PATCH] Feature/modernize nx executors (#2767) * Modernize Nx executors * @nx/eslint:lint * @nx/webpack:webpack * Update changelog --- CHANGELOG.md | 3 +++ apps/api/project.json | 4 ++-- apps/client/project.json | 2 +- apps/ui-e2e/project.json | 2 +- libs/common/project.json | 2 +- libs/ui/project.json | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 717cf02a0..4fd49a7ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Set the select column of the lazy-loaded activities table to stick at the end (experimental) - Improved the validation of the currency management in the admin control panel - Improved the performance of the value redaction interceptor for the impersonation mode by eliminating `cloneDeep` +- Modernized the `Nx` executors + - `@nx/eslint:lint` + - `@nx/webpack:webpack` ### Fixed diff --git a/apps/api/project.json b/apps/api/project.json index 81f887f41..f3c8bd1e0 100644 --- a/apps/api/project.json +++ b/apps/api/project.json @@ -7,7 +7,7 @@ "generators": {}, "targets": { "build": { - "executor": "@nrwl/webpack:webpack", + "executor": "@nx/webpack:webpack", "options": { "outputPath": "dist/apps/api", "main": "apps/api/src/main.ts", @@ -40,7 +40,7 @@ } }, "lint": { - "executor": "@nrwl/linter:eslint", + "executor": "@nx/eslint:lint", "options": { "lintFilePatterns": ["apps/api/**/*.ts"] } diff --git a/apps/client/project.json b/apps/client/project.json index 7563b3a75..26292ffee 100644 --- a/apps/client/project.json +++ b/apps/client/project.json @@ -207,7 +207,7 @@ } }, "lint": { - "executor": "@nrwl/linter:eslint", + "executor": "@nx/eslint:lint", "options": { "lintFilePatterns": ["apps/client/**/*.ts"] } diff --git a/apps/ui-e2e/project.json b/apps/ui-e2e/project.json index ab447db1b..4595b6c66 100644 --- a/apps/ui-e2e/project.json +++ b/apps/ui-e2e/project.json @@ -18,7 +18,7 @@ } }, "lint": { - "executor": "@nrwl/linter:eslint", + "executor": "@nx/eslint:lint", "options": { "lintFilePatterns": ["apps/ui-e2e/**/*.{js,ts}"] } diff --git a/libs/common/project.json b/libs/common/project.json index cee21720d..3bed072ff 100644 --- a/libs/common/project.json +++ b/libs/common/project.json @@ -5,7 +5,7 @@ "projectType": "library", "targets": { "lint": { - "executor": "@nrwl/linter:eslint", + "executor": "@nx/eslint:lint", "options": { "lintFilePatterns": ["libs/common/**/*.ts"] } diff --git a/libs/ui/project.json b/libs/ui/project.json index 8f7529974..58e959344 100644 --- a/libs/ui/project.json +++ b/libs/ui/project.json @@ -18,7 +18,7 @@ } }, "lint": { - "executor": "@nrwl/linter:eslint", + "executor": "@nx/eslint:lint", "options": { "lintFilePatterns": ["libs/ui/src/**/*.ts", "libs/ui/src/**/*.html"] }