mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
* feat(design-system): pre-port of roleypoly/ui * feat(design-system): port molecules * chore(design-system): prettier * feat(design-system): add intro card and MDX components * fix(common/utils): hack fixtures test data moved to design-system, update accordingly * chore: document protoReflection.ts * fix(design-system): some molecules missed the magic fuckery * ci: keep going on bazel test failures * fix(design-system): server masthead molecule missed the magic fuckery * chore: fix ts paths * chore: fix docker publisher * chore: fix docker publisher names * chore(discord-bot): fix publisher * chore(discord-bot): fix publisher
22 lines
717 B
Python
22 lines
717 B
Python
def render_deps(deps = []):
|
|
output_deps = []
|
|
|
|
has_added_grpc_deps = False
|
|
|
|
for dep in deps:
|
|
if dep.startswith("//src/rpc"):
|
|
output_deps.append(dep + ":ts")
|
|
output_deps.append(dep + ":ts_proto")
|
|
if has_added_grpc_deps == False:
|
|
output_deps.extend([
|
|
"@npm//google-protobuf",
|
|
"@npm//@types/google-protobuf",
|
|
"@npm//@improbable-eng/grpc-web",
|
|
])
|
|
has_added_grpc_deps = True
|
|
elif dep.startswith("//") or dep.startswith("@npm//"):
|
|
output_deps.append(dep)
|
|
else:
|
|
output_deps.append("@npm//" + dep)
|
|
|
|
return output_deps
|