File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -153,26 +153,6 @@ export async function clean(
153
153
} ,
154
154
] ,
155
155
} ,
156
- npm : {
157
- description :
158
- '`node_modules` folder in the current package, and optionally verify npm cache' ,
159
- tasks : [
160
- {
161
- label : 'Remove node_modules' ,
162
- action : ( ) => cleanDir ( `${ projectRoot } /node_modules` ) ,
163
- } ,
164
- ...( verifyCache
165
- ? [
166
- {
167
- label : 'Verify npm cache' ,
168
- action : async ( ) => {
169
- await execa ( 'npm' , [ 'cache' , 'verify' ] , { cwd : projectRoot } ) ;
170
- } ,
171
- } ,
172
- ]
173
- : [ ] ) ,
174
- ] ,
175
- } ,
176
156
bun : {
177
157
description : 'Bun cache' ,
178
158
tasks : [
@@ -216,6 +196,26 @@ export async function clean(
216
196
} ,
217
197
] ,
218
198
} ,
199
+ npm : {
200
+ description :
201
+ '`node_modules` folder in the current package, and optionally verify npm cache' ,
202
+ tasks : [
203
+ {
204
+ label : 'Remove node_modules' ,
205
+ action : ( ) => cleanDir ( `${ projectRoot } /node_modules` ) ,
206
+ } ,
207
+ ...( verifyCache
208
+ ? [
209
+ {
210
+ label : 'Verify npm cache' ,
211
+ action : async ( ) => {
212
+ await execa ( 'npm' , [ 'cache' , 'verify' ] , { cwd : projectRoot } ) ;
213
+ } ,
214
+ } ,
215
+ ]
216
+ : [ ] ) ,
217
+ ] ,
218
+ } ,
219
219
} ;
220
220
221
221
const groups = include ? include . split ( ',' ) : await promptForCaches ( COMMANDS ) ;
You can’t perform that action at this time.
0 commit comments