|
83 | 83 | ] |
84 | 84 | }, |
85 | 85 | "lint:js": { |
86 | | - "cache": false, |
| 86 | + "inputs": [ |
| 87 | + "{app,components,hooks,i18n,layouts,middlewares,pages,providers,types,util}/**/*.{ts,tsx,mjs}", |
| 88 | + "{next-data,scripts,i18n}/**/*.{mjs,json}", |
| 89 | + "{.storybook,public}/**/*.{ts,js,json}", |
| 90 | + "*.{json,ts,tsx}" |
| 91 | + ], |
87 | 92 | "outputs": [".eslintjscache"] |
88 | 93 | }, |
89 | 94 | "lint:md": { |
90 | | - "cache": false, |
| 95 | + "inputs": ["{app,pages}/**/*.{md,mdx}", "*.{md,mdx}"], |
91 | 96 | "outputs": [".eslintmdcache"] |
92 | 97 | }, |
93 | 98 | "lint:css": { |
94 | | - "cache": false, |
| 99 | + "inputs": ["{app,components,layouts,pages,styles}/**/*.css"], |
95 | 100 | "outputs": [".stylelintcache"] |
96 | 101 | }, |
97 | | - "lint": { |
98 | | - "cache": false, |
99 | | - "outputs": [".eslintjscache", ".eslintmdcache", ".stylelintcache"] |
100 | | - }, |
101 | 102 | "lint:fix": { |
102 | | - "cache": false, |
103 | | - "outputs": [".eslintjscache", ".eslintmdcache", ".stylelintcache"] |
| 103 | + "cache": false |
104 | 104 | }, |
105 | 105 | "prettier": { |
106 | | - "cache": false, |
107 | 106 | "outputs": [".prettiercache"] |
108 | 107 | }, |
109 | 108 | "prettier:fix": { |
110 | | - "cache": false, |
111 | | - "outputs": [".prettiercache"] |
| 109 | + "cache": false |
112 | 110 | }, |
113 | 111 | "format": { |
114 | | - "cache": false, |
115 | | - "outputs": [ |
116 | | - ".eslintjscache", |
117 | | - ".eslintmdcache", |
118 | | - ".stylelintcache", |
119 | | - ".prettiercache" |
120 | | - ] |
| 112 | + "cache": false |
121 | 113 | }, |
122 | 114 | "storybook": { |
123 | 115 | "cache": false, |
|
143 | 135 | "*.{md,mdx,json,ts,tsx,mjs,yml}" |
144 | 136 | ], |
145 | 137 | "outputs": ["coverage/**", "junit.xml"] |
146 | | - }, |
147 | | - "test": { |
148 | | - "inputs": [ |
149 | | - "{app,components,hooks,i18n,layouts,middlewares,pages,providers,types,util}/**/*.{ts,tsx,mjs}", |
150 | | - "{app,components,layouts,pages,styles}/**/*.css", |
151 | | - "{next-data,scripts,i18n}/**/*.{mjs,json}", |
152 | | - "{app,pages}/**/*.{mdx,md}", |
153 | | - "*.{md,mdx,json,ts,tsx,mjs,yml}" |
154 | | - ], |
155 | | - "outputs": ["coverage/**", "junit.xml"] |
156 | 138 | } |
157 | 139 | } |
158 | 140 | } |
0 commit comments