|
59 | 59 | "inputs": ["default", "{workspaceRoot}/eslint.config.?(c)js"], |
60 | 60 | "outputs": ["{projectRoot}/.eslint/eslint-report*.json"], |
61 | 61 | "cache": true, |
62 | | - "executor": "@nx/linter:eslint", |
| 62 | + "executor": "@nx/eslint:lint", |
63 | 63 | "options": { |
64 | 64 | "errorOnUnmatchedPattern": false, |
65 | 65 | "maxWarnings": 0, |
|
71 | 71 | ] |
72 | 72 | } |
73 | 73 | }, |
| 74 | + "lint-formatter": { |
| 75 | + "inputs": ["default", "{workspaceRoot}/eslint.config.?(c)js"], |
| 76 | + "outputs": ["{projectRoot}/.eslint/eslint-report*.json"], |
| 77 | + "cache": true, |
| 78 | + "executor": "nx:run-commands", |
| 79 | + "options": { |
| 80 | + "command": "nx lint {projectName}", |
| 81 | + "args": ["--format=./dist/eslint-multi-format/index.js"], |
| 82 | + "env": { |
| 83 | + "ESLINT_FORMATTER_CONFIG": "{\"outputDir\":\"{projectRoot}/.eslint\"}" |
| 84 | + } |
| 85 | + } |
| 86 | + }, |
74 | 87 | "nxv-pkg-install": { |
75 | 88 | "parallelism": false |
76 | 89 | }, |
|
164 | 177 | "filterByTags": ["publishable"] |
165 | 178 | } |
166 | 179 | } |
| 180 | + }, |
| 181 | + { |
| 182 | + "plugin": "@nx/vite/plugin", |
| 183 | + "options": { |
| 184 | + "buildTargetName": "build", |
| 185 | + "testTargetName": "test", |
| 186 | + "serveTargetName": "serve", |
| 187 | + "devTargetName": "dev", |
| 188 | + "previewTargetName": "preview", |
| 189 | + "serveStaticTargetName": "serve-static", |
| 190 | + "typecheckTargetName": "typecheck", |
| 191 | + "buildDepsTargetName": "build-deps", |
| 192 | + "watchDepsTargetName": "watch-deps" |
| 193 | + } |
167 | 194 | } |
168 | 195 | ], |
169 | 196 | "nxCloudId": "65d4d862d2adb16a45a4bc7c" |
|
0 commit comments