taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 33563ee3f12380a31d888e1aec5d44f94b8bfad1
parent 2cc7c80ad97511c9a5d7055956157474dfd9e613
Author: Florian Dold <florian@dold.me>
Date:   Wed, 20 May 2026 22:34:10 +0200

improve dependency counting

Diffstat:
Mcontrib/count-deps | 15+++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/contrib/count-deps b/contrib/count-deps @@ -1,9 +1,20 @@ #!/bin/bash +# This file has been placed in the public domain. +# Helper for printing some basic stats about dependencies. +# The number of basic deps is the one we care about most, +# since these need to be present for every build. +# The qa-tooling dependencies are only used on demand. + +DEPS_ALL_DIRECT=$(pnpm ls -r --depth=0 --json | jq '[.. | select(.from? and .version?) | select(.version | startswith("link:") or startswith("workspace:") | not) | "\(.from)@\(.version)"] | unique | length') DEPS_ALL=$(pnpm ls -r --depth Infinity --json | jq '[.. | objects | select(.from? and .version?) | select(.version | startswith("link:") or startswith("workspace:") | not) | "\(.from)@\(.version)"] | unique | length') +DEPS_BASIC_DIRECT=$(pnpm ls -r --depth=0 --json --filter !@gnu-taler/qa-tooling | jq '[.. | select(.from? and .version?) | select(.version | startswith("link:") or startswith("workspace:") | not) | "\(.from)@\(.version)"] | unique | length') DEPS_BASIC=$(pnpm ls -r --depth Infinity --json --filter !@gnu-taler/qa-tooling | jq '[.. | objects | select(.from? and .version?) | select(.version | startswith("link:") or startswith("workspace:") | not) | "\(.from)@\(.version)"] | unique | length') -echo basic dependencies: $DEPS_BASIC -echo all dependencies: $DEPS_ALL +echo basic direct $DEPS_BASIC_DIRECT +echo basic transitive $DEPS_BASIC + +echo all direct $DEPS_ALL_DIRECT +echo all transitive $DEPS_ALL