create-aomex 0.0.44 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { execSync, spawn } from 'node:child_process';
|
|
2
2
|
import process from 'node:process';
|
|
3
3
|
|
|
4
|
-
execSync('docker compose -f docker-compose.yml down', { stdio: 'inherit' });
|
|
4
|
+
execSync('docker compose -f docker-compose.yml down --timestamps', { stdio: 'inherit' });
|
|
5
5
|
|
|
6
|
-
const docker = spawn('docker compose -f docker-compose.yml up --
|
|
6
|
+
const docker = spawn('docker compose -f docker-compose.yml up --wait', {
|
|
7
7
|
stdio: ['inherit', 'inherit', 'pipe'],
|
|
8
8
|
shell: true,
|
|
9
9
|
});
|
|
@@ -19,7 +19,7 @@ await new Promise((resolve) => {
|
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
const server = spawn(
|
|
22
|
-
'npx prisma
|
|
22
|
+
'npx prisma generate && npx prisma migrate deploy && node --import tsx/esm --watch src/web.ts',
|
|
23
23
|
{ stdio: 'inherit', shell: true },
|
|
24
24
|
);
|
|
25
25
|
|