diff --git a/packages/misskey-bubble-game/package.json b/packages/misskey-bubble-game/package.json index 806d693670..852c923c34 100644 --- a/packages/misskey-bubble-game/package.json +++ b/packages/misskey-bubble-game/package.json @@ -18,6 +18,7 @@ "@typescript-eslint/eslint-plugin": "6.19.0", "@typescript-eslint/parser": "6.19.0", "eslint": "8.56.0", + "nodemon": "3.0.2", "typescript": "5.3.3" }, "files": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0a80403725..c18cee30c7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1059,6 +1059,9 @@ importers: eslint: specifier: 8.56.0 version: 8.56.0 + nodemon: + specifier: 3.0.2 + version: 3.0.2 typescript: specifier: 5.3.3 version: 5.3.3 @@ -1180,6 +1183,9 @@ importers: eslint: specifier: 8.56.0 version: 8.56.0 + nodemon: + specifier: 3.0.2 + version: 3.0.2 typescript: specifier: 5.3.3 version: 5.3.3 diff --git a/scripts/dev.mjs b/scripts/dev.mjs index ed0ea1fb30..9b60af6570 100644 --- a/scripts/dev.mjs +++ b/scripts/dev.mjs @@ -28,6 +28,24 @@ await execa('pnpm', ['build-assets'], { 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'], { cwd: _dirname + '/../', stdout: process.stdout, @@ -58,12 +76,6 @@ execa('pnpm', ['--filter', 'sw', 'watch'], { stderr: process.stderr, }); -execa('pnpm', ['--filter', 'misskey-js', 'watch'], { - cwd: _dirname + '/../', - stdout: process.stdout, - stderr: process.stderr, -}); - execa('pnpm', ['--filter', 'misskey-reversi', 'watch'], { cwd: _dirname + '/../', stdout: process.stdout,