mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 04:59:06 +01:00
a3415159be
This reverts commit 36283b9a358886bfcf6f40c04b5bed1fe6088ff5.
22 lines
858 B
JavaScript
22 lines
858 B
JavaScript
const fs = require('fs');
|
|
const execa = require('execa');
|
|
|
|
(async () => {
|
|
fs.rmSync(__dirname + '/../packages/backend/built', { recursive: true, force: true });
|
|
fs.rmSync(__dirname + '/../packages/backend/node_modules', { recursive: true, force: true });
|
|
|
|
fs.rmSync(__dirname + '/../packages/client/built', { recursive: true, force: true });
|
|
fs.rmSync(__dirname + '/../packages/client/node_modules', { recursive: true, force: true });
|
|
|
|
fs.rmSync(__dirname + '/../packages/sw/built', { recursive: true, force: true });
|
|
fs.rmSync(__dirname + '/../packages/sw/node_modules', { recursive: true, force: true });
|
|
|
|
fs.rmSync(__dirname + '/../built', { recursive: true, force: true });
|
|
fs.rmSync(__dirname + '/../node_modules', { recursive: true, force: true });
|
|
|
|
execa('pnpm', ['store', 'prune'], {
|
|
cwd: __dirname + '/../',
|
|
stdio: 'inherit'
|
|
});
|
|
})();
|