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": {},
"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"]
}

2
apps/client/project.json

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

2
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}"]
}

2
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"]
}

2
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"]
}

Loading…
Cancel
Save