mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:50:42 +00:00
build(deps): trim runtime dependency graph
This commit is contained in:
@@ -21,5 +21,5 @@ docker_build_run qr-import-build \
|
||||
-f "$ROOT_DIR/scripts/e2e/Dockerfile.qr-import" \
|
||||
"$ROOT_DIR"
|
||||
|
||||
echo "Running qrcode-tui import smoke..."
|
||||
run_logged qr-import-run docker run --rm -t "$IMAGE_NAME" node -e "import('@vincentkoc/qrcode-tui').then(async (m)=>{process.stdout.write(await m.renderTerminal('qr-smoke',{small:true}))})"
|
||||
echo "Running qrcode import smoke..."
|
||||
run_logged qr-import-run docker run --rm -t "$IMAGE_NAME" node -e "import('qrcode').then(async (m)=>{const q=m.default??m;process.stdout.write(await q.toString('qr-smoke',{small:true,type:'terminal'}))})"
|
||||
|
||||
@@ -56,11 +56,6 @@
|
||||
],
|
||||
"risk": ["native", "parser", "untrusted-files"]
|
||||
},
|
||||
"@vincentkoc/qrcode-tui": {
|
||||
"owner": "core:qr-setup",
|
||||
"class": "default-runtime-initially",
|
||||
"risk": ["terminal-rendering"]
|
||||
},
|
||||
"ajv": {
|
||||
"owner": "core:json-schema-validation",
|
||||
"class": "core-runtime",
|
||||
@@ -142,11 +137,6 @@
|
||||
"class": "default-runtime-initially",
|
||||
"risk": ["provider-sdk", "network"]
|
||||
},
|
||||
"osc-progress": {
|
||||
"owner": "core:terminal-progress",
|
||||
"class": "core-runtime",
|
||||
"risk": ["terminal-rendering"]
|
||||
},
|
||||
"pdfjs-dist": {
|
||||
"owner": "plugin:document-extract",
|
||||
"class": "plugin-runtime",
|
||||
@@ -158,6 +148,11 @@
|
||||
"class": "core-runtime",
|
||||
"risk": ["network", "proxy"]
|
||||
},
|
||||
"qrcode": {
|
||||
"owner": "core:qr-setup",
|
||||
"class": "default-runtime-initially",
|
||||
"risk": ["terminal-rendering", "png-encoding"]
|
||||
},
|
||||
"semver": {
|
||||
"owner": "core:package-versioning",
|
||||
"class": "core-runtime",
|
||||
|
||||
Reference in New Issue
Block a user