@haibun/utils 1.51.9 → 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.9",
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.9", "@haibun/core": "1.51.9" }
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 \
@@ -51,6 +51,6 @@ echo "About to run $COMMAND_TO_RECORD"
51
51
  eval "$COMMAND_TO_RECORD"
52
52
  echo "created file://${HOST_PROJECT_DIR}/walkthrough.webm"
53
53
  SLEEPTIME=5000
54
- echo "Waiting for $SLEEPTIME to allow the recording to finish..."
54
+ echo "Waiting for $SLEEPTIME seconds to allow the recording to finish..."
55
55
  sleep $SLEEPTIME
56
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