fix(dev): fix pnpm dev

This commit is contained in:
syuilo 2024-01-20 11:18:53 +09:00
parent 151e3bc940
commit f86d0186d2
3 changed files with 25 additions and 6 deletions

View File

@ -18,6 +18,7 @@
"@typescript-eslint/eslint-plugin": "6.19.0", "@typescript-eslint/eslint-plugin": "6.19.0",
"@typescript-eslint/parser": "6.19.0", "@typescript-eslint/parser": "6.19.0",
"eslint": "8.56.0", "eslint": "8.56.0",
"nodemon": "3.0.2",
"typescript": "5.3.3" "typescript": "5.3.3"
}, },
"files": [ "files": [

View File

@ -1059,6 +1059,9 @@ importers:
eslint: eslint:
specifier: 8.56.0 specifier: 8.56.0
version: 8.56.0 version: 8.56.0
nodemon:
specifier: 3.0.2
version: 3.0.2
typescript: typescript:
specifier: 5.3.3 specifier: 5.3.3
version: 5.3.3 version: 5.3.3
@ -1180,6 +1183,9 @@ importers:
eslint: eslint:
specifier: 8.56.0 specifier: 8.56.0
version: 8.56.0 version: 8.56.0
nodemon:
specifier: 3.0.2
version: 3.0.2
typescript: typescript:
specifier: 5.3.3 specifier: 5.3.3
version: 5.3.3 version: 5.3.3

View File

@ -28,6 +28,24 @@ await execa('pnpm', ['build-assets'], {
stderr: process.stderr, stderr: process.stderr,
}); });
await execa('pnpm', ['--filter', 'misskey-js', 'build'], {
cwd: _dirname + '/../',
stdout: process.stdout,
stderr: process.stderr,
});
await execa('pnpm', ['--filter', 'misskey-reversi', 'build'], {
cwd: _dirname + '/../',
stdout: process.stdout,
stderr: process.stderr,
});
await execa('pnpm', ['--filter', 'misskey-bubble-game', 'build'], {
cwd: _dirname + '/../',
stdout: process.stdout,
stderr: process.stderr,
});
execa('pnpm', ['build-pre', '--watch'], { execa('pnpm', ['build-pre', '--watch'], {
cwd: _dirname + '/../', cwd: _dirname + '/../',
stdout: process.stdout, stdout: process.stdout,
@ -58,12 +76,6 @@ execa('pnpm', ['--filter', 'sw', 'watch'], {
stderr: process.stderr, stderr: process.stderr,
}); });
execa('pnpm', ['--filter', 'misskey-js', 'watch'], {
cwd: _dirname + '/../',
stdout: process.stdout,
stderr: process.stderr,
});
execa('pnpm', ['--filter', 'misskey-reversi', 'watch'], { execa('pnpm', ['--filter', 'misskey-reversi', 'watch'], {
cwd: _dirname + '/../', cwd: _dirname + '/../',
stdout: process.stdout, stdout: process.stdout,