~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/socialweb-computer-watch

The socialweb.computer market's live topology from Jetstreams and relays, deduplicated; capture and replay

0
0
main
12 lines · 752 B Raw History
#!/bin/sh
# Builds dist/: the page, its modules and the pinned dependencies it loads (node_modules from npm ci), and the web
# tile manifest (atlibs publish tile dist <name>).
set -eu
cd "$(dirname "$0")/.."
[ -d node_modules/d3 ] || npm ci --no-audit --no-fund >/dev/null
rm -rf dist && mkdir -p dist/node_modules/d3/dist dist/node_modules/@publicdomainrelay/atlibs/src
cp index.html main.js model.js source.js sources.js worker.js capture.mjs dedup.jq manifest.json dist/
cp node_modules/d3/dist/d3.min.js dist/node_modules/d3/dist/
cp -R node_modules/@publicdomainrelay/atlibs/src/run-module node_modules/@publicdomainrelay/atlibs/src/encoding dist/node_modules/@publicdomainrelay/atlibs/src/
find dist -name '*.test.mjs' -delete
echo "built dist/"