davidmcnamee / rules_prisma

Prisma ORM generator rules for Bazel
1 stars 0 forks source link

Not on bazel registry #1

Open Zemnmez opened 5 months ago

Zemnmez commented 5 months ago

Hi there, I'm unfamiliar with MODULE.bazel, I tried doing:

bazel_dep(name = "rules_prisma", version = "0.1.0")

and I got

thomas@DESKTOP-B82ERE8 ~/d/monorepo> bazel build //project/entryway/api:prisma_client
WARNING: Option 'experimental_remote_build_event_upload' is deprecated: Use --remote_build_event_upload instead
INFO: Invocation ID: 1aa461b2-c2ea-489e-ac13-21abd3ebffc1
INFO: Streaming build results to: https://app.buildbuddy.io/invocation/1aa461b2-c2ea-489e-ac13-21abd3ebffc1
ERROR: Error computing the main repository mapping: in module dependency chain <root> -> rules_prisma@0.1.0: module not found in registries: rules_prisma@0.1.0
INFO: Streaming build results to: https://app.buildbuddy.io/invocation/1aa461b2-c2ea-489e-ac13-21abd3ebffc1
Computing main repo mapping: 
    Fetching https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel
    Fetching https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel
    Fetching https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel
    Fetching https://bcr.bazel.build/modules/rules_java/7.1.0/MODULE.bazel
    Fetching https://bcr.bazel.build/modules/protobuf/3.19.6/MODULE.bazel
    Fetching https://bcr.bazel.build/modules/rules_python/metadata.json
    Fetching https://bcr.bazel.build/modules/zlib/1.3/MODULE.bazel

Commit: https://github.com/zemn-me/monorepo/pull/4667/commits/07536eff391dc63b1cc6e84acfde78a24973c9bc

davidmcnamee commented 5 months ago

Hi sorry, I should have archived this earlier. I don't believe this package works, I just ambitiously wrote what I wanted the API to look like. I also don't use bazel very much anymore, so this project has become a bit abandoned.

I think this repo might work better, but it may also require some updates: https://github.com/CooperBills/rules_prisma