mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
a3415159be
This reverts commit 36283b9a358886bfcf6f40c04b5bed1fe6088ff5.
21 lines
858 B
JavaScript
21 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'
|
|
});
|
|
})();
|