mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 16:13:08 +02:00
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');
|
||||
|
||||
(async () => {
|
||||
|
@ -12,5 +13,9 @@ const fs = require('fs');
|
|||
|
||||
fs.rmSync(__dirname + '/../built', { 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…
Reference in a new issue