@shumai-one/shumai-transcode 0.0.3 → 0.0.4

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.
@@ -52,8 +52,14 @@ if (!binaryPath) {
52
52
  process.exit(1)
53
53
  }
54
54
 
55
- const child = spawn(binaryPath, process.argv.slice(2), {
55
+ const appJsPath = join(__dirname, 'shumai-transcode-app.js')
56
+
57
+ const child = spawn(binaryPath, ['run', appJsPath, ...process.argv.slice(2)], {
56
58
  stdio: 'inherit',
59
+ env: {
60
+ ...process.env,
61
+ BUN_BE_BUN: '1',
62
+ },
57
63
  })
58
64
 
59
65
  child.on('close', (code) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shumai-one/shumai-transcode",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Media transcoding worker for the shumai media workspace",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,12 +23,12 @@
23
23
  "prisma": "7.8.0"
24
24
  },
25
25
  "optionalDependencies": {
26
- "@shumai-one/shumai-transcode-darwin-arm64": "0.0.3",
27
- "@shumai-one/shumai-transcode-darwin-x64": "0.0.3",
28
- "@shumai-one/shumai-transcode-linux-arm64": "0.0.3",
29
- "@shumai-one/shumai-transcode-linux-x64": "0.0.3",
30
- "@shumai-one/shumai-transcode-win32-arm64": "0.0.3",
31
- "@shumai-one/shumai-transcode-win32-x64": "0.0.3"
26
+ "@shumai-one/shumai-transcode-darwin-arm64": "0.0.4",
27
+ "@shumai-one/shumai-transcode-darwin-x64": "0.0.4",
28
+ "@shumai-one/shumai-transcode-linux-arm64": "0.0.4",
29
+ "@shumai-one/shumai-transcode-linux-x64": "0.0.4",
30
+ "@shumai-one/shumai-transcode-win32-arm64": "0.0.4",
31
+ "@shumai-one/shumai-transcode-win32-x64": "0.0.4"
32
32
  },
33
33
  "repository": {
34
34
  "type": "git",