|
1 | 1 | { |
2 | | - "$schema": "./node_modules/nx/schemas/nx-schema.json", |
3 | | - "defaultProject": "react-kit-demo", |
4 | | - "namedInputs": { |
5 | | - "default": [ |
6 | | - "{projectRoot}/**/*", |
7 | | - "sharedGlobals" |
8 | | - ], |
9 | | - "production": [ |
10 | | - "default", |
11 | | - "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", |
12 | | - "!{projectRoot}/tsconfig.spec.json", |
13 | | - "!{projectRoot}/.eslintrc.json", |
14 | | - "!{projectRoot}/eslint.config.js" |
15 | | - ], |
16 | | - "sharedGlobals": [] |
17 | | - }, |
18 | | - "plugins": [ |
19 | | - { |
20 | | - "plugin": "@nx/vite/plugin", |
21 | | - "options": { |
22 | | - "buildTargetName": "build", |
23 | | - "testTargetName": "test", |
24 | | - "serveTargetName": "serve", |
25 | | - "previewTargetName": "preview", |
26 | | - "serveStaticTargetName": "serve-static" |
27 | | - } |
28 | | - }, |
29 | | - { |
30 | | - "plugin": "@nx/eslint/plugin", |
31 | | - "options": { |
32 | | - "targetName": "lint" |
33 | | - } |
34 | | - }, |
35 | | - { |
36 | | - "plugin": "@nx/playwright/plugin", |
37 | | - "options": { |
38 | | - "targetName": "e2e" |
39 | | - } |
40 | | - } |
41 | | - ], |
42 | | - "generators": { |
43 | | - "@nx/react": { |
44 | | - "application": { |
45 | | - "babel": true, |
46 | | - "style": "scss", |
47 | | - "linter": "eslint", |
48 | | - "bundler": "vite" |
49 | | - }, |
50 | | - "component": { |
51 | | - "style": "scss" |
52 | | - }, |
53 | | - "library": { |
54 | | - "style": "scss", |
55 | | - "linter": "eslint", |
56 | | - "unitTestRunner": "vitest" |
57 | | - } |
58 | | - } |
59 | | - } |
| 2 | + "$schema": "./node_modules/nx/schemas/nx-schema.json", |
| 3 | + "defaultProject": "react-kit-demo", |
| 4 | + "namedInputs": { |
| 5 | + "default": ["{projectRoot}/**/*", "sharedGlobals"], |
| 6 | + "production": [ |
| 7 | + "default", |
| 8 | + "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", |
| 9 | + "!{projectRoot}/tsconfig.spec.json", |
| 10 | + "!{projectRoot}/.eslintrc.json", |
| 11 | + "!{projectRoot}/eslint.config.js" |
| 12 | + ], |
| 13 | + "sharedGlobals": [] |
| 14 | + }, |
| 15 | + "plugins": [ |
| 16 | + { |
| 17 | + "plugin": "@nx/vite/plugin", |
| 18 | + "options": { |
| 19 | + "buildTargetName": "build", |
| 20 | + "testTargetName": "test", |
| 21 | + "serveTargetName": "serve", |
| 22 | + "previewTargetName": "preview", |
| 23 | + "serveStaticTargetName": "serve-static" |
| 24 | + } |
| 25 | + }, |
| 26 | + { "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint" } }, |
| 27 | + { "plugin": "@nx/playwright/plugin", "options": { "targetName": "e2e" } } |
| 28 | + ], |
| 29 | + "generators": { |
| 30 | + "@nx/react": { |
| 31 | + "application": { "babel": true, "style": "scss", "linter": "eslint", "bundler": "vite" }, |
| 32 | + "component": { "style": "scss" }, |
| 33 | + "library": { "style": "scss", "linter": "eslint", "unitTestRunner": "vitest" } |
| 34 | + } |
| 35 | + }, |
| 36 | + "nxCloudId": "670ebadac0c313acbf9ee13c" |
60 | 37 | } |
0 commit comments