@shumai-one/shumai-transcode 0.0.8 → 0.0.10

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.
@@ -113,7 +113,8 @@ console.log(`ℹ️ [shumai-transcode] Running from CWD: ${process.cwd()}`)
113
113
  console.log(`ℹ️ [shumai-transcode] DATABASE_URL is: ${process.env.DATABASE_URL ? '(defined)' : '(undefined)'}`)
114
114
 
115
115
  const prismaSchemaPath = join(__dirname, '..', 'prisma', 'schema.prisma')
116
- if (existsSync(prismaSchemaPath)) {
116
+ const isUtilityCommand = process.argv.includes('stop') || process.argv.includes('logs')
117
+ if (existsSync(prismaSchemaPath) && !isUtilityCommand) {
117
118
  console.log('🔄 Running database migrations...')
118
119
  activeProcess = spawn(
119
120
  binaryPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shumai-one/shumai-transcode",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "Media transcoding worker for the shumai media workspace",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,15 +22,16 @@
22
22
  "@temporalio/client": "1.17.2",
23
23
  "@temporalio/worker": "1.17.2",
24
24
  "@temporalio/workflow": "1.17.2",
25
- "prisma": "7.8.0"
25
+ "prisma": "7.8.0",
26
+ "zod": "4.4.3"
26
27
  },
27
28
  "optionalDependencies": {
28
- "@shumai-one/shumai-transcode-darwin-arm64": "0.0.8",
29
- "@shumai-one/shumai-transcode-darwin-x64": "0.0.8",
30
- "@shumai-one/shumai-transcode-linux-arm64": "0.0.8",
31
- "@shumai-one/shumai-transcode-linux-x64": "0.0.8",
32
- "@shumai-one/shumai-transcode-win32-arm64": "0.0.8",
33
- "@shumai-one/shumai-transcode-win32-x64": "0.0.8"
29
+ "@shumai-one/shumai-transcode-darwin-arm64": "0.0.10",
30
+ "@shumai-one/shumai-transcode-darwin-x64": "0.0.10",
31
+ "@shumai-one/shumai-transcode-linux-arm64": "0.0.10",
32
+ "@shumai-one/shumai-transcode-linux-x64": "0.0.10",
33
+ "@shumai-one/shumai-transcode-win32-arm64": "0.0.10",
34
+ "@shumai-one/shumai-transcode-win32-x64": "0.0.10"
34
35
  },
35
36
  "repository": {
36
37
  "type": "git",