forked from mirror/misskey
do yarn cache clean --all
in clean-all.js
This commit is contained in:
parent
4903af9598
commit
63d8b7986b
@ -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…
Reference in New Issue
Block a user