Monorepo for Tangled tangled.org

all: add go.mod files to non-go directories #4744

Open joshghiloni.me
targeting master from joshghiloni.me/tangled-core:feat/cleanup-go-module
Open opened by and assigned to joshghiloni.me
targeting master from joshghiloni.me/tangled-core:feat/cleanup-go-module

When the go module system packages a module for the proxy, it does not include subdirectories with go.mod files, as it assumes those are submodules. Because this monorepo has many non-go subdirectories, it can potentially package many files that are unneeded or even invalid for the go package (for example, fixtures named like DIDs, as colons are disallowed). By adding these go.mod files, the proxied package will be much smaller, and could even allow users to import core as a library (so that they can use the prebuilt lexicons, for example)

Signed-off-by: Josh Ghiloni tangled@joshghiloni.me

Commits 3

knot2: add go.mod to shrink root mod size
localinfra: add go.mod file
all: add go.mod files to non-go directories