My protos are defined in a directory src/main/proto. I've placed the protop.json file in the same directory. https://github.com/noel-yap/setter-for-catan-sb/blob/use-protop/src/main/proto/protop.json
In a client project, I've created protop.json as:
{
"organization" : "noelyap",
"name" : "setter-for-catan-tsx",
"version" : "0.1.0",
"include" : [ "." ],
"private": true,
"dependencies" : {
"noelyap/setter-for-catan": "git:https://github.com/noel-yap/setter-for-catan-sb/tree/use-protop/src/main/proto"
}
}
When I run protop sync, it errors with Could not find package noelyap/setter-for-catan https://github.com/noel-yap/setter-for-catan-sb/tree/use-protop/src/main/proto.
I've created a Stackoverflow question for this, too: https://stackoverflow.com/questions/63219696/where-to-place-protop-json-file
My protos are defined in a directory
src/main/proto. I've placed theprotop.jsonfile in the same directory. https://github.com/noel-yap/setter-for-catan-sb/blob/use-protop/src/main/proto/protop.jsonIn a client project, I've created
protop.jsonas:When I run
protop sync, it errors withCould not find package noelyap/setter-for-catan https://github.com/noel-yap/setter-for-catan-sb/tree/use-protop/src/main/proto.I've created a Stackoverflow question for this, too: https://stackoverflow.com/questions/63219696/where-to-place-protop-json-file