@haibun/utils 1.51.7 → 1.51.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@haibun/utils",
3
3
  "type": "module",
4
- "version": "1.51.7",
4
+ "version": "1.51.10",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -27,5 +27,5 @@
27
27
  "author": "",
28
28
  "license": "ISC",
29
29
  "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5",
30
- "dependencies": { "@haibun/cli": "1.51.7", "@haibun/core": "1.51.7" }
30
+ "dependencies": { "@haibun/cli": "1.51.10", "@haibun/core": "1.51.10" }
31
31
  }
@@ -12,6 +12,7 @@ RUN apt-get update && apt-get install -y \
12
12
  xvfb \
13
13
  ffmpeg \
14
14
  curl \
15
+ vim-tiny \
15
16
  bash \
16
17
  software-properties-common \
17
18
  dbus-x11 \
@@ -1,4 +1,4 @@
1
- #!/usr/bin/sh
1
+ #!/usr/bin/bash
2
2
 
3
3
  RES=$(xdpyinfo | awk '/dimensions:/ {print $2}')
4
4
 
@@ -1,4 +1,4 @@
1
- #!/usr/bin/sh
1
+ #!/usr/bin/bash
2
2
 
3
3
  FFMPEG_PID=$(cat /tmp/ffmpeg.pid)
4
4
  if [ -z "$FFMPEG_PID" ]; then
@@ -49,6 +49,8 @@ echo "entrypoint is setting up the environment (logfile is $LOGFILE)"
49
49
 
50
50
  echo "About to run $COMMAND_TO_RECORD"
51
51
  eval "$COMMAND_TO_RECORD"
52
- echo "finalizing file://${HOST_PROJECT_DIR}/walkthrough.webm"
53
- sleep 5000
52
+ echo "created file://${HOST_PROJECT_DIR}/walkthrough.webm"
53
+ SLEEPTIME=5000
54
+ echo "Waiting for $SLEEPTIME seconds to allow the recording to finish..."
55
+ sleep $SLEEPTIME
54
56
 
@@ -1,4 +1,10 @@
1
1
  #!/usr/bin/sh
2
2
 
3
3
  set -e
4
+
5
+ if [ ! -d "node_modules/kokoro-js" ]; then
6
+ echo "kokoro-js not found, installing..."
7
+ npm install --no-save kokoro-js
8
+ fi
9
+
4
10
  node ./kokoro-speak.cjs output.wav "$*"; echo `pwd`/output.wav