|
35 | 35 | ], |
36 | 36 | "globalNonBuildAffectingConfig": ["{workspaceRoot}/.eslintrc.cjs"], |
37 | 37 | "default": [ |
38 | | - "{projectRoot}/**/*", |
39 | 38 | "globalBuildAffectingConfig", |
40 | 39 | "globalNonBuildAffectingConfig", |
| 40 | + "{projectRoot}/**/*", |
41 | 41 | "!{projectRoot}/**/*.md", |
42 | | - "!{projectRoot}/**/build/**/*" |
| 42 | + "!{projectRoot}/build/**/*" |
43 | 43 | ], |
44 | 44 | "public": [ |
45 | 45 | "default", |
46 | 46 | "!{workspaceRoot}/.eslintrc.cjs", |
47 | 47 | "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", |
48 | 48 | "!{projectRoot}/.eslintrc.cjs", |
49 | 49 | "!{projectRoot}/tsconfig.eslint.json" |
| 50 | + ], |
| 51 | + "build": [ |
| 52 | + "{projectRoot}/build/**/*" |
50 | 53 | ] |
51 | 54 | }, |
52 | 55 | "targetDefaults": { |
53 | 56 | "test:lib": { |
54 | 57 | "dependsOn": ["^build"], |
55 | | - "inputs": ["default", "^public"], |
| 58 | + "inputs": ["default", "^public", "^build"], |
56 | 59 | "outputs": ["{projectRoot}/coverage"] |
57 | 60 | }, |
58 | 61 | "test:eslint": { |
59 | 62 | "dependsOn": ["^build"], |
60 | | - "inputs": ["default", "^public"] |
| 63 | + "inputs": ["default", "^public", "^build"] |
61 | 64 | }, |
62 | 65 | "test:types": { |
63 | 66 | "dependsOn": ["^build"], |
64 | | - "inputs": ["default", "^public"] |
| 67 | + "inputs": ["default", "^public", "^build"] |
65 | 68 | }, |
66 | 69 | "build": { |
67 | 70 | "dependsOn": ["^build"], |
68 | | - "inputs": ["default", "^public"], |
| 71 | + "inputs": ["default", "^public", "^build"], |
69 | 72 | "outputs": ["{projectRoot}/build/**/*"] |
70 | 73 | }, |
71 | 74 | "test:build": { |
72 | 75 | "dependsOn": ["build"], |
73 | | - "inputs": ["^public"] |
| 76 | + "inputs": ["^public", "^build"] |
74 | 77 | } |
75 | 78 | } |
76 | 79 | } |
0 commit comments