Browse Source

Modernize Nx executors

* @nx/eslint:lint
* @nx/webpack:webpack
pull/2767/head
Thomas Kaul 2 years ago
parent
commit
caec79ed36
  1. 4
      apps/api/project.json
  2. 2
      apps/client/project.json
  3. 2
      apps/ui-e2e/project.json
  4. 2
      libs/common/project.json
  5. 2
      libs/ui/project.json

4
apps/api/project.json

@ -7,7 +7,7 @@
"generators": {}, "generators": {},
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/webpack:webpack", "executor": "@nx/webpack:webpack",
"options": { "options": {
"outputPath": "dist/apps/api", "outputPath": "dist/apps/api",
"main": "apps/api/src/main.ts", "main": "apps/api/src/main.ts",
@ -40,7 +40,7 @@
} }
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["apps/api/**/*.ts"] "lintFilePatterns": ["apps/api/**/*.ts"]
} }

2
apps/client/project.json

@ -207,7 +207,7 @@
} }
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["apps/client/**/*.ts"] "lintFilePatterns": ["apps/client/**/*.ts"]
} }

2
apps/ui-e2e/project.json

@ -18,7 +18,7 @@
} }
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["apps/ui-e2e/**/*.{js,ts}"] "lintFilePatterns": ["apps/ui-e2e/**/*.{js,ts}"]
} }

2
libs/common/project.json

@ -5,7 +5,7 @@
"projectType": "library", "projectType": "library",
"targets": { "targets": {
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["libs/common/**/*.ts"] "lintFilePatterns": ["libs/common/**/*.ts"]
} }

2
libs/ui/project.json

@ -18,7 +18,7 @@
} }
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["libs/ui/src/**/*.ts", "libs/ui/src/**/*.html"] "lintFilePatterns": ["libs/ui/src/**/*.ts", "libs/ui/src/**/*.html"]
} }

Loading…
Cancel
Save