do yarn cache clean --all in clean-all.js
				
					
				
			This commit is contained in:
		
							parent
							
								
									4903af9598
								
							
						
					
					
						commit
						63d8b7986b
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -1,3 +1,4 @@ | ||||||
|  | const { execSync } = require('child_process'); | ||||||
| const fs = require('fs'); | const fs = require('fs'); | ||||||
| 
 | 
 | ||||||
| (async () => { | (async () => { | ||||||
|  | @ -12,5 +13,9 @@ const fs = require('fs'); | ||||||
| 
 | 
 | ||||||
| 	fs.rmSync(__dirname + '/../built', { recursive: true, force: true }); | 	fs.rmSync(__dirname + '/../built', { recursive: true, force: true }); | ||||||
| 	fs.rmSync(__dirname + '/../node_modules', { recursive: true, force: true }); | 	fs.rmSync(__dirname + '/../node_modules', { recursive: true, force: true }); | ||||||
| 	fs.rmSync(__dirname + '/../.yarn/cache', { recursive: true, force: true }); | 
 | ||||||
|  | 	execSync('yarn cache clean --all', { | ||||||
|  | 		cwd: __dirname + '/../', | ||||||
|  | 		stdio: 'inherit', | ||||||
|  | 	}); | ||||||
| })(); | })(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue