speechflow 1.4.2 → 1.4.3
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/CHANGELOG.md +13 -0
- package/etc/stx.conf +17 -11
- package/package.json +6 -3
- package/speechflow-cli/etc/stx.conf +13 -13
- package/speechflow-cli/package.json +6 -6
- package/speechflow-cli/src/speechflow.ts +5 -5
- package/speechflow-ui-db/etc/stx.conf +17 -17
- package/speechflow-ui-db/package.json +2 -2
- package/speechflow-ui-db/src/app.vue +14 -7
- package/speechflow-ui-st/etc/stx.conf +17 -17
- package/speechflow-ui-st/package.json +2 -2
- /package/{speechflow-cli/etc → etc}/speechflow.yaml +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
ChangeLog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
+
1.4.3 (2025-08-06)
|
|
6
|
+
------------------
|
|
7
|
+
|
|
8
|
+
- IMPROVEMENT: better fatal error handling in main program
|
|
9
|
+
- IMPROVEMENT: better optical appearance of dashboard
|
|
10
|
+
- IMPROVEMENT: better reporting of STX build CWD
|
|
11
|
+
- UPGRADE: upgrade NPM dependencies
|
|
12
|
+
|
|
13
|
+
1.4.2 (2025-08-05)
|
|
14
|
+
------------------
|
|
15
|
+
|
|
16
|
+
- CLEANUP: various code cleanups
|
|
17
|
+
|
|
5
18
|
1.4.1 (2025-08-05)
|
|
6
19
|
------------------
|
|
7
20
|
|
package/etc/stx.conf
CHANGED
|
@@ -4,38 +4,38 @@
|
|
|
4
4
|
## Licensed under GPL 3.0 <https://spdx.org/licenses/GPL-3.0-only>
|
|
5
5
|
##
|
|
6
6
|
|
|
7
|
-
# (internal): just pass-through "npm install" operation
|
|
7
|
+
# [top-level] (internal): just pass-through "npm install" operation
|
|
8
8
|
post-install
|
|
9
9
|
npm --prefix speechflow-cli install && \
|
|
10
10
|
npm --prefix speechflow-ui-db install && \
|
|
11
11
|
npm --prefix speechflow-ui-st install
|
|
12
12
|
|
|
13
|
-
# automatically update all NPM dependencies
|
|
13
|
+
# [top-level] automatically update all NPM dependencies
|
|
14
14
|
upd
|
|
15
15
|
npx -y upd && \
|
|
16
16
|
(cd speechflow-cli && npx -y upd) && \
|
|
17
17
|
(cd speechflow-ui-db && npx -y upd) && \
|
|
18
18
|
(cd speechflow-ui-st && npx -y upd)
|
|
19
19
|
|
|
20
|
-
# lint components for development
|
|
20
|
+
# [top-level] lint components for development
|
|
21
21
|
lint
|
|
22
22
|
npm --prefix speechflow-cli start lint && \
|
|
23
23
|
npm --prefix speechflow-ui-db start lint && \
|
|
24
24
|
npm --prefix speechflow-ui-st start lint
|
|
25
25
|
|
|
26
|
-
# build components for production (full build)
|
|
26
|
+
# [top-level] build components for production (full build)
|
|
27
27
|
build
|
|
28
28
|
npm --prefix speechflow-cli start build && \
|
|
29
29
|
npm --prefix speechflow-ui-db start build && \
|
|
30
30
|
npm --prefix speechflow-ui-st start build
|
|
31
31
|
|
|
32
|
-
# (internal)
|
|
32
|
+
# [top-level] (internal) build components for development (partial build only)
|
|
33
33
|
build:dev
|
|
34
34
|
npm --prefix speechflow-cli start build && \
|
|
35
35
|
npm --prefix speechflow-ui-db start build && \
|
|
36
36
|
npm --prefix speechflow-ui-st start build
|
|
37
37
|
|
|
38
|
-
# (internal)
|
|
38
|
+
# [top-level] (internal) build components for development (continuous file watching)
|
|
39
39
|
build:dev:watch
|
|
40
40
|
watch "npm start build:dev" \
|
|
41
41
|
speechflow-cli/src \
|
|
@@ -43,27 +43,33 @@ build:dev:watch
|
|
|
43
43
|
speechflow-ui-st/src \
|
|
44
44
|
--wait=2 --interval=1
|
|
45
45
|
|
|
46
|
-
# (internal)
|
|
46
|
+
# [top-level] (internal) run command-line interface for production
|
|
47
47
|
run:dev:watch
|
|
48
48
|
wait-on -l "speechflow-cli/dst/speechflow.js" && \
|
|
49
49
|
cross-env NODE_OPTIONS="--no-warnings" \
|
|
50
|
-
nodemon --signal SIGINT -w speechflow-
|
|
50
|
+
nodemon --signal SIGINT -w speechflow-cli/dst --delay 1500ms \
|
|
51
51
|
speechflow-cli/dst/speechflow.js -- \
|
|
52
52
|
$SPEECHFLOW_OPTIONS
|
|
53
53
|
|
|
54
|
-
# (internal)
|
|
54
|
+
# [top-level] (internal) run command-line interface for development (continuous file watching)
|
|
55
55
|
run:dev
|
|
56
56
|
concurrently -p "[{name}]" -n "build,run" -c "blue,red" \
|
|
57
57
|
"npm start build:dev:watch" \
|
|
58
58
|
"npm start run:dev:watch"
|
|
59
59
|
|
|
60
|
-
#
|
|
60
|
+
# [top-level] test drive
|
|
61
|
+
test
|
|
62
|
+
node --enable-source-maps speechflow-cli/dst/speechflow.js \
|
|
63
|
+
-v info -c test@etc/speechflow.yaml \
|
|
64
|
+
-d audio:meter1:DE,text:text1:DE-Interim,text:text2:DE-Final,text:text3:EN,audio:meter2:EN
|
|
65
|
+
|
|
66
|
+
# [top-level] remove all generated artifacts (reverse of "npm start build")
|
|
61
67
|
clean
|
|
62
68
|
npm --prefix speechflow-cli start clean && \
|
|
63
69
|
npm --prefix speechflow-ui-db start clean && \
|
|
64
70
|
npm --prefix speechflow-ui-st start clean
|
|
65
71
|
|
|
66
|
-
# remove all generated artifacts (reverse of "npm install" and "npm start build")
|
|
72
|
+
# [top-level] remove all generated artifacts (reverse of "npm install" and "npm start build")
|
|
67
73
|
clean:dist
|
|
68
74
|
npm --prefix speechflow-cli start clean:dist && \
|
|
69
75
|
npm --prefix speechflow-ui-db start clean:dist && \
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "speechflow",
|
|
3
|
-
"version": "1.4.
|
|
4
|
-
"x-stdver": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
|
+
"x-stdver": "1.4.3-GA",
|
|
5
5
|
"x-release": "2025-08-06",
|
|
6
6
|
"homepage": "https://github.com/rse/speechflow",
|
|
7
7
|
"description": "Speech Processing Flow Graph",
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": "git+https://github.com/rse/speechflow.git"
|
|
17
17
|
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@rse/stx": "1.0.7"
|
|
20
|
+
},
|
|
18
21
|
"devDependencies": {
|
|
19
|
-
"@rse/stx": "1.0.7",
|
|
20
22
|
"nodemon": "3.1.10",
|
|
21
23
|
"watch": "1.0.2",
|
|
22
24
|
"concurrently": "9.2.0",
|
|
@@ -41,6 +43,7 @@
|
|
|
41
43
|
"scripts": {
|
|
42
44
|
"postinstall": "npm start post-install",
|
|
43
45
|
"start": "stx -v4 -c etc/stx.conf",
|
|
46
|
+
"test": "stx -v4 -c etc/stx.conf test",
|
|
44
47
|
"speechflow": "node --no-warnings speechflow-cli/dst/speechflow.js"
|
|
45
48
|
}
|
|
46
49
|
}
|
|
@@ -4,43 +4,43 @@
|
|
|
4
4
|
## Licensed under GPL 3.0 <https://spdx.org/licenses/GPL-3.0-only>
|
|
5
5
|
##
|
|
6
6
|
|
|
7
|
-
# make patches
|
|
7
|
+
# [speechflow-cli] make patches
|
|
8
8
|
patch-make
|
|
9
9
|
npm shrinkwrap && \
|
|
10
10
|
patch-package --patch-dir package.d "@ericedouard/vad-node-realtime" && \
|
|
11
11
|
shx rm -f npm-shrinkwrap.json
|
|
12
12
|
|
|
13
|
-
# [
|
|
13
|
+
# [speechflow-cli] (internal) apply patches
|
|
14
14
|
patch-apply
|
|
15
15
|
patch-package --patch-dir package.d
|
|
16
16
|
|
|
17
|
-
# multiview-style development dashboard
|
|
17
|
+
# [speechflow-cli] multiview-style development dashboard
|
|
18
18
|
dev
|
|
19
19
|
stmux -w always -m beep -e "built.in.+ms" -- \
|
|
20
20
|
[ -s 35% "stx lint-watch" : \
|
|
21
21
|
-s 15% "stx build-watch" : \
|
|
22
22
|
-s 30% "stx server-delay server-watch" ]
|
|
23
23
|
|
|
24
|
-
# static code analysis (linting)
|
|
24
|
+
# [speechflow-cli] static code analysis (linting)
|
|
25
25
|
lint:
|
|
26
26
|
tsc --project etc/tsconfig.json --noEmit && \
|
|
27
27
|
oxlint --config etc/oxlint.jsonc src/**/*.ts && \
|
|
28
28
|
biome lint --diagnostic-level=warn --config-path=etc/biome.jsonc src/*.ts && \
|
|
29
29
|
eslint --config etc/eslint.mjs src/**/*.ts
|
|
30
30
|
|
|
31
|
-
# static code analysis (linting) with file watching
|
|
31
|
+
# [speechflow-cli] static code analysis (linting) with file watching
|
|
32
32
|
lint-watch
|
|
33
33
|
nodemon --exec "stx lint" --watch src --ext ts
|
|
34
34
|
|
|
35
|
-
# code compilation/transpiling (building)
|
|
35
|
+
# [speechflow-cli] code compilation/transpiling (building)
|
|
36
36
|
build
|
|
37
37
|
tsc --project etc/tsconfig.json
|
|
38
38
|
|
|
39
|
-
# code compilation/transpiling (building) with file watching
|
|
39
|
+
# [speechflow-cli] code compilation/transpiling (building) with file watching
|
|
40
40
|
build-watch
|
|
41
41
|
nodemon --exec "stx build" --watch src --ext ts
|
|
42
42
|
|
|
43
|
-
# build all-in-one packages
|
|
43
|
+
# [speechflow-cli] build all-in-one packages
|
|
44
44
|
build-pkg
|
|
45
45
|
cd dst && \
|
|
46
46
|
targets="node24-linux-x64,node24-linux-arm64" && \
|
|
@@ -54,24 +54,24 @@ build-pkg
|
|
|
54
54
|
shx mv speechflow-macos-x64 speechflow-mac-x64 && \
|
|
55
55
|
shx mv speechflow-macos-arm64 speechflow-mac-a64
|
|
56
56
|
|
|
57
|
-
# [
|
|
57
|
+
# [speechflow-cli] (internal) wait for server
|
|
58
58
|
server-delay
|
|
59
59
|
delay 2.0
|
|
60
60
|
|
|
61
|
-
# run program
|
|
61
|
+
# [speechflow-cli] run program
|
|
62
62
|
server
|
|
63
63
|
node --enable-source-maps dst/speechflow.js -v info -c studio@etc/speechflow.yaml "$@"
|
|
64
64
|
|
|
65
|
-
# run program with file watching
|
|
65
|
+
# [speechflow-cli] run program with file watching
|
|
66
66
|
server-watch
|
|
67
67
|
cross-env NODE_OPTIONS="--enable-source-maps" \
|
|
68
68
|
nodemon --exec "stx server" --watch dst --ext ts --delay 1.0
|
|
69
69
|
|
|
70
|
-
# remove all files regularly generated
|
|
70
|
+
# [speechflow-cli] remove all files regularly generated
|
|
71
71
|
clean
|
|
72
72
|
shx rm -rf dst
|
|
73
73
|
|
|
74
|
-
# remove all files generated
|
|
74
|
+
# [speechflow-cli] remove all files generated
|
|
75
75
|
clean-dist : clean
|
|
76
76
|
shx rm -rf node_modules
|
|
77
77
|
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"flowlink": "1.0.0",
|
|
21
21
|
"js-yaml": "4.1.0",
|
|
22
22
|
"@gpeng/naudiodon": "2.4.1",
|
|
23
|
-
"@deepgram/sdk": "4.11.
|
|
23
|
+
"@deepgram/sdk": "4.11.2",
|
|
24
24
|
"deepl-node": "1.19.0",
|
|
25
|
-
"@elevenlabs/elevenlabs-js": "2.
|
|
25
|
+
"@elevenlabs/elevenlabs-js": "2.8.0",
|
|
26
26
|
"stream-transform": "3.4.0",
|
|
27
27
|
"get-stream": "9.0.1",
|
|
28
28
|
"@dotenvx/dotenvx": "1.48.4",
|
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
"luxon": "3.7.1",
|
|
57
57
|
"node-interval-tree": "2.1.2",
|
|
58
58
|
"wrap-text": "1.0.10",
|
|
59
|
-
"cli-table3": "0.6.5"
|
|
59
|
+
"cli-table3": "0.6.5",
|
|
60
|
+
"@rse/stx": "1.0.7"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
63
|
"eslint": "9.32.0",
|
|
@@ -67,8 +68,8 @@
|
|
|
67
68
|
"eslint-plugin-node": "11.1.0",
|
|
68
69
|
"@typescript-eslint/eslint-plugin": "8.39.0",
|
|
69
70
|
"@typescript-eslint/parser": "8.39.0",
|
|
70
|
-
"oxlint": "1.
|
|
71
|
-
"eslint-plugin-oxlint": "1.
|
|
71
|
+
"oxlint": "1.10.0",
|
|
72
|
+
"eslint-plugin-oxlint": "1.10.0",
|
|
72
73
|
"@biomejs/biome": "2.0.6",
|
|
73
74
|
"eslint-config-biome": "2.1.3",
|
|
74
75
|
|
|
@@ -89,7 +90,6 @@
|
|
|
89
90
|
"@yao-pkg/pkg": "6.6.0",
|
|
90
91
|
"typescript": "5.9.2",
|
|
91
92
|
"delay-cli": "2.0.0",
|
|
92
|
-
"@rse/stx": "1.0.7",
|
|
93
93
|
"cross-env": "10.0.0"
|
|
94
94
|
},
|
|
95
95
|
"overrides": {
|
|
@@ -189,14 +189,14 @@ type wsPeerInfo = {
|
|
|
189
189
|
|
|
190
190
|
/* catch uncaught exceptions */
|
|
191
191
|
process.on("uncaughtException", (err) => {
|
|
192
|
-
cli!.log("error", `uncaught exception: ${err.message}`)
|
|
192
|
+
cli!.log("error", `uncaught exception: ${err.message}\n${err.stack}`)
|
|
193
193
|
process.exit(1)
|
|
194
194
|
})
|
|
195
195
|
|
|
196
196
|
/* catch unhandled promise rejections */
|
|
197
197
|
process.on("unhandledRejection", (reason) => {
|
|
198
198
|
if (reason instanceof Error)
|
|
199
|
-
cli!.log("error", `unhandled rejection: ${reason.message}`)
|
|
199
|
+
cli!.log("error", `unhandled rejection: ${reason.message}\n${reason.stack}`)
|
|
200
200
|
else
|
|
201
201
|
cli!.log("error", `unhandled rejection: ${reason}`)
|
|
202
202
|
process.exit(1)
|
|
@@ -242,7 +242,7 @@ type wsPeerInfo = {
|
|
|
242
242
|
throw new Error(`failed to parse YAML configuration: ${err}`)
|
|
243
243
|
}
|
|
244
244
|
if (obj[id] === undefined)
|
|
245
|
-
throw new Error(`no such id "${id}" found in configuration file`)
|
|
245
|
+
throw new Error(`no such id "${id}" found in configuration file "${file}"`)
|
|
246
246
|
config = obj[id] as string
|
|
247
247
|
}
|
|
248
248
|
|
|
@@ -849,7 +849,7 @@ type wsPeerInfo = {
|
|
|
849
849
|
/* re-hook into uncaught exception handler */
|
|
850
850
|
process.removeAllListeners("uncaughtException")
|
|
851
851
|
process.on("uncaughtException", (err) => {
|
|
852
|
-
cli!.log("error", `uncaught exception: ${err.message}`)
|
|
852
|
+
cli!.log("error", `uncaught exception: ${err.message}\n${err.stack}`)
|
|
853
853
|
shutdown("exception")
|
|
854
854
|
})
|
|
855
855
|
|
|
@@ -857,7 +857,7 @@ type wsPeerInfo = {
|
|
|
857
857
|
process.removeAllListeners("unhandledRejection")
|
|
858
858
|
process.on("unhandledRejection", (reason) => {
|
|
859
859
|
if (reason instanceof Error)
|
|
860
|
-
cli!.log("error", `unhandled rejection: ${reason.message}`)
|
|
860
|
+
cli!.log("error", `unhandled rejection: ${reason.message}\n${reason.stack}`)
|
|
861
861
|
else
|
|
862
862
|
cli!.log("error", `unhandled rejection: ${reason}`)
|
|
863
863
|
shutdown("exception")
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
## Licensed under GPL 3.0 <https://spdx.org/licenses/GPL-3.0-only>
|
|
5
5
|
##
|
|
6
6
|
|
|
7
|
-
# (internal)
|
|
7
|
+
# [speechflow-ui-db] (internal) create patch set for NPM dependencies
|
|
8
8
|
patch-make
|
|
9
9
|
npm shrinkwrap && \
|
|
10
10
|
patch-package --patch-dir package.d \
|
|
@@ -12,67 +12,67 @@ patch-make
|
|
|
12
12
|
htmllint-cli && \
|
|
13
13
|
shx rm -f npm-shrinkwrap.json
|
|
14
14
|
|
|
15
|
-
# (internal)
|
|
15
|
+
# [speechflow-ui-db] (internal) apply patch set for NPM dependencies
|
|
16
16
|
patch-apply
|
|
17
17
|
patch-package --patch-dir package.d
|
|
18
18
|
|
|
19
|
-
# static code analysis (continuous file watching)
|
|
19
|
+
# [speechflow-ui-db] static code analysis (continuous file watching)
|
|
20
20
|
lint-watch
|
|
21
21
|
nodemon --exec "npm start lint" --watch src --ext html,styl,js,ts,vue
|
|
22
22
|
|
|
23
|
-
# static code analysis
|
|
23
|
+
# [speechflow-ui-db] static code analysis
|
|
24
24
|
lint : lint-vue-tsc lint-eslint lint-stylelint lint-htmllint
|
|
25
25
|
|
|
26
|
-
# static code analysis (Vue language)
|
|
26
|
+
# [speechflow-ui-db] static code analysis (Vue language)
|
|
27
27
|
lint-vue-tsc
|
|
28
28
|
vue-tsc --project etc/tsc-client.json --noEmit
|
|
29
29
|
|
|
30
|
-
# static code analysis (TypeScript language)
|
|
30
|
+
# [speechflow-ui-db] static code analysis (TypeScript language)
|
|
31
31
|
lint-eslint
|
|
32
32
|
eslint --config etc/eslint.mjs src/**/*.vue src/**/*.ts
|
|
33
33
|
|
|
34
|
-
# static code analysis (CSS/Stylus languages)
|
|
34
|
+
# [speechflow-ui-db] static code analysis (CSS/Stylus languages)
|
|
35
35
|
lint-stylelint
|
|
36
36
|
stylelint --config etc/stylelint.yaml src/**/*.styl src/**/*.vue
|
|
37
37
|
|
|
38
|
-
# static code analysis (HTML language)
|
|
38
|
+
# [speechflow-ui-db] static code analysis (HTML language)
|
|
39
39
|
lint-htmllint
|
|
40
40
|
htmllint --rc etc/htmllint.json src/**/*.html
|
|
41
41
|
|
|
42
|
-
# build components for production
|
|
42
|
+
# [speechflow-ui-db] build components for production
|
|
43
43
|
build
|
|
44
44
|
npm start build-client
|
|
45
45
|
|
|
46
|
-
# build components for development
|
|
46
|
+
# [speechflow-ui-db] build components for development
|
|
47
47
|
build-dev
|
|
48
48
|
npm start build-client-dev
|
|
49
49
|
|
|
50
|
-
# build client components for production
|
|
50
|
+
# [speechflow-ui-db] build client components for production
|
|
51
51
|
build-client
|
|
52
52
|
vite --config etc/vite-client.mts build --mode production
|
|
53
53
|
|
|
54
|
-
# build client components for development
|
|
54
|
+
# [speechflow-ui-db] build client components for development
|
|
55
55
|
build-client-dev
|
|
56
56
|
vite --config etc/vite-client.mts build --mode development
|
|
57
57
|
|
|
58
|
-
# build client components for development (continuous file watching)
|
|
58
|
+
# [speechflow-ui-db] build client components for development (continuous file watching)
|
|
59
59
|
build-client-dev-watch
|
|
60
60
|
cross-env NODE_OPTIONS="--max-old-space-size=4096" \
|
|
61
61
|
vite --config etc/vite-client.mts build --mode development --watch
|
|
62
62
|
|
|
63
|
-
# run server
|
|
63
|
+
# [speechflow-ui-db] run server
|
|
64
64
|
server
|
|
65
65
|
serve -d --listen 12345 --single dst
|
|
66
66
|
|
|
67
|
-
# remove all development-only NPM dependencies
|
|
67
|
+
# [speechflow-ui-db] remove all development-only NPM dependencies
|
|
68
68
|
prune
|
|
69
69
|
npm prune --omit=dev
|
|
70
70
|
|
|
71
|
-
# remove all generated artifacts (reverse of "npm start build")
|
|
71
|
+
# [speechflow-ui-db] remove all generated artifacts (reverse of "npm start build")
|
|
72
72
|
clean
|
|
73
73
|
shx rm -rf dst-stage1 dst-stage2
|
|
74
74
|
|
|
75
|
-
# remove all generated artifacts (reverse of "npm install" and "npm start build")
|
|
75
|
+
# [speechflow-ui-db] remove all generated artifacts (reverse of "npm install" and "npm start build")
|
|
76
76
|
clean:dist : clean
|
|
77
77
|
shx rm -f package-lock.json && \
|
|
78
78
|
shx rm -rf node_modules
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"axios": "1.11.0",
|
|
21
21
|
"typopro-web": "4.2.7",
|
|
22
22
|
"@fortawesome/fontawesome-free": "7.0.0",
|
|
23
|
-
"patch-package": "8.0.0"
|
|
23
|
+
"patch-package": "8.0.0",
|
|
24
|
+
"@rse/stx": "1.0.7"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"vite": "7.0.6",
|
|
@@ -57,7 +58,6 @@
|
|
|
57
58
|
"typescript": "5.9.2",
|
|
58
59
|
"vue-tsc": "3.0.5",
|
|
59
60
|
"delay-cli": "2.0.0",
|
|
60
|
-
"@rse/stx": "1.0.7",
|
|
61
61
|
"cross-env": "10.0.0",
|
|
62
62
|
"serve": "14.2.4"
|
|
63
63
|
},
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
}">
|
|
17
17
|
<div class="audio-value">
|
|
18
18
|
{{ (block.value as number).toFixed(1) }}
|
|
19
|
+
<div class="audio-unit">LUFS-S</div>
|
|
19
20
|
</div>
|
|
20
21
|
</div>
|
|
21
22
|
<div class="audio-name">
|
|
@@ -43,10 +44,10 @@
|
|
|
43
44
|
<style lang="stylus">
|
|
44
45
|
.app
|
|
45
46
|
position: relative
|
|
46
|
-
width: 100vw
|
|
47
|
-
height: 100vh
|
|
47
|
+
width: calc(100vw - 2 * 1vw)
|
|
48
|
+
height: calc(100vh - 2 * 1vw)
|
|
48
49
|
margin: 0
|
|
49
|
-
padding:
|
|
50
|
+
padding: 1vw
|
|
50
51
|
display: flex
|
|
51
52
|
flex-direction: column
|
|
52
53
|
justify-content: center
|
|
@@ -61,6 +62,8 @@
|
|
|
61
62
|
.block
|
|
62
63
|
height: calc(100% - 0.5vw)
|
|
63
64
|
margin-right: 0.5vw
|
|
65
|
+
&:last-child
|
|
66
|
+
margin-right: 0
|
|
64
67
|
&:has(.audio-col)
|
|
65
68
|
width: 10vw
|
|
66
69
|
&:has(.text-col)
|
|
@@ -69,7 +72,7 @@
|
|
|
69
72
|
flex-basis: 0
|
|
70
73
|
.audio-col
|
|
71
74
|
width: 10vw
|
|
72
|
-
height:
|
|
75
|
+
height: 100%
|
|
73
76
|
display: flex
|
|
74
77
|
flex-direction: column
|
|
75
78
|
align-items: flex-end
|
|
@@ -84,9 +87,13 @@
|
|
|
84
87
|
background-color: var(--color-acc-fg-3)
|
|
85
88
|
.audio-value
|
|
86
89
|
width: 100%
|
|
87
|
-
font-size:
|
|
90
|
+
font-size: 2.5vw
|
|
88
91
|
text-align: center
|
|
89
92
|
color: var(--color-std-bg-0)
|
|
93
|
+
.audio-unit
|
|
94
|
+
font-size: 1.5vw
|
|
95
|
+
margin-top: -0.5vw
|
|
96
|
+
margin-bottom: 0.5vw
|
|
90
97
|
.audio-name
|
|
91
98
|
width: 100%
|
|
92
99
|
text-align: center
|
|
@@ -95,7 +102,7 @@
|
|
|
95
102
|
font-size: 2vw
|
|
96
103
|
.text-col
|
|
97
104
|
width: 100%
|
|
98
|
-
height:
|
|
105
|
+
height: 100%
|
|
99
106
|
overflow-x: hidden
|
|
100
107
|
overflow-y: scroll
|
|
101
108
|
display: flex
|
|
@@ -106,7 +113,7 @@
|
|
|
106
113
|
width: calc(100% - 2 * 1.0vw)
|
|
107
114
|
background-color: var(--color-acc-bg-3)
|
|
108
115
|
color: var(--color-acc-fg-3)
|
|
109
|
-
border-radius:
|
|
116
|
+
border-radius: 0.5vw
|
|
110
117
|
font-size: 1.5vw
|
|
111
118
|
padding: 0.5vw 1.0vw
|
|
112
119
|
margin-bottom: 0.5vw
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
## Licensed under GPL 3.0 <https://spdx.org/licenses/GPL-3.0-only>
|
|
5
5
|
##
|
|
6
6
|
|
|
7
|
-
# (internal)
|
|
7
|
+
# [speechflow-ui-st] (internal) create patch set for NPM dependencies
|
|
8
8
|
patch-make
|
|
9
9
|
npm shrinkwrap && \
|
|
10
10
|
patch-package --patch-dir package.d \
|
|
@@ -12,67 +12,67 @@ patch-make
|
|
|
12
12
|
htmllint-cli && \
|
|
13
13
|
shx rm -f npm-shrinkwrap.json
|
|
14
14
|
|
|
15
|
-
# (internal)
|
|
15
|
+
# [speechflow-ui-st] (internal) apply patch set for NPM dependencies
|
|
16
16
|
patch-apply
|
|
17
17
|
patch-package --patch-dir package.d
|
|
18
18
|
|
|
19
|
-
# static code analysis (continuous file watching)
|
|
19
|
+
# [speechflow-ui-st] static code analysis (continuous file watching)
|
|
20
20
|
lint-watch
|
|
21
21
|
nodemon --exec "npm start lint" --watch src --ext html,styl,js,ts,vue
|
|
22
22
|
|
|
23
|
-
# static code analysis
|
|
23
|
+
# [speechflow-ui-st] static code analysis
|
|
24
24
|
lint : lint-vue-tsc lint-eslint lint-stylelint lint-htmllint
|
|
25
25
|
|
|
26
|
-
# static code analysis (Vue language)
|
|
26
|
+
# [speechflow-ui-st] static code analysis (Vue language)
|
|
27
27
|
lint-vue-tsc
|
|
28
28
|
vue-tsc --project etc/tsc-client.json --noEmit
|
|
29
29
|
|
|
30
|
-
# static code analysis (TypeScript language)
|
|
30
|
+
# [speechflow-ui-st] static code analysis (TypeScript language)
|
|
31
31
|
lint-eslint
|
|
32
32
|
eslint --config etc/eslint.mjs src/**/*.vue src/**/*.ts
|
|
33
33
|
|
|
34
|
-
# static code analysis (CSS/Stylus languages)
|
|
34
|
+
# [speechflow-ui-st] static code analysis (CSS/Stylus languages)
|
|
35
35
|
lint-stylelint
|
|
36
36
|
stylelint --config etc/stylelint.yaml src/**/*.styl src/**/*.vue
|
|
37
37
|
|
|
38
|
-
# static code analysis (HTML language)
|
|
38
|
+
# [speechflow-ui-st] static code analysis (HTML language)
|
|
39
39
|
lint-htmllint
|
|
40
40
|
htmllint --rc etc/htmllint.json src/**/*.html
|
|
41
41
|
|
|
42
|
-
# build components for production
|
|
42
|
+
# [speechflow-ui-st] build components for production
|
|
43
43
|
build
|
|
44
44
|
npm start build-client
|
|
45
45
|
|
|
46
|
-
# build components for development
|
|
46
|
+
# [speechflow-ui-st] build components for development
|
|
47
47
|
build-dev
|
|
48
48
|
npm start build-client-dev
|
|
49
49
|
|
|
50
|
-
# build client components for production
|
|
50
|
+
# [speechflow-ui-st] build client components for production
|
|
51
51
|
build-client
|
|
52
52
|
vite --config etc/vite-client.mts build --mode production
|
|
53
53
|
|
|
54
|
-
# build client components for development
|
|
54
|
+
# [speechflow-ui-st] build client components for development
|
|
55
55
|
build-client-dev
|
|
56
56
|
vite --config etc/vite-client.mts build --mode development
|
|
57
57
|
|
|
58
|
-
# build client components for development (continuous file watching)
|
|
58
|
+
# [speechflow-ui-st] build client components for development (continuous file watching)
|
|
59
59
|
build-client-dev-watch
|
|
60
60
|
cross-env NODE_OPTIONS="--max-old-space-size=4096" \
|
|
61
61
|
vite --config etc/vite-client.mts build --mode development --watch
|
|
62
62
|
|
|
63
|
-
# run server
|
|
63
|
+
# [speechflow-ui-st] run server
|
|
64
64
|
server
|
|
65
65
|
serve -d --listen 12345 --single dst
|
|
66
66
|
|
|
67
|
-
# remove all development-only NPM dependencies
|
|
67
|
+
# [speechflow-ui-st] remove all development-only NPM dependencies
|
|
68
68
|
prune
|
|
69
69
|
npm prune --omit=dev
|
|
70
70
|
|
|
71
|
-
# remove all generated artifacts (reverse of "npm start build")
|
|
71
|
+
# [speechflow-ui-st] remove all generated artifacts (reverse of "npm start build")
|
|
72
72
|
clean
|
|
73
73
|
shx rm -rf dst-stage1 dst-stage2
|
|
74
74
|
|
|
75
|
-
# remove all generated artifacts (reverse of "npm install" and "npm start build")
|
|
75
|
+
# [speechflow-ui-st] remove all generated artifacts (reverse of "npm install" and "npm start build")
|
|
76
76
|
clean:dist : clean
|
|
77
77
|
shx rm -f package-lock.json && \
|
|
78
78
|
shx rm -rf node_modules
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"axios": "1.11.0",
|
|
23
23
|
"typopro-web": "4.2.7",
|
|
24
24
|
"@fortawesome/fontawesome-free": "7.0.0",
|
|
25
|
-
"patch-package": "8.0.0"
|
|
25
|
+
"patch-package": "8.0.0",
|
|
26
|
+
"@rse/stx": "1.0.7"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"vite": "7.0.6",
|
|
@@ -59,7 +60,6 @@
|
|
|
59
60
|
"typescript": "5.9.2",
|
|
60
61
|
"vue-tsc": "3.0.5",
|
|
61
62
|
"delay-cli": "2.0.0",
|
|
62
|
-
"@rse/stx": "1.0.7",
|
|
63
63
|
"cross-env": "10.0.0",
|
|
64
64
|
"serve": "14.2.4",
|
|
65
65
|
|
|
File without changes
|