The .proto backend previously emitted: package speckl.<name>.v1; option go_package = "github.com/sscoble/<name>/proto/.../v1;...v1"; hard-coded. Both fields are now overridable via the SpeckNode's protoPackage / goPackage fields (populated by top-of-file metadata in the .speckdl; see upcoming cycle 57 for the related oneof syntax which will also be reading from the same SpeckNode). For federated-meetup the overrides are: proto_package: "federated_meetup.v1" go_package: "github.com/sscoble/federated-meetup/proto/...;federated_meetupv1" The consumer Go code (internal/types/types.go, internal/group/) imports "federated_meetup/v1" — without this override, the generated proto would emit package "speckl.federated_meetup.v1" and the bindings would not match the imports, breaking the consuming project's build. Picks up a half-applied change left in the working tree from the v0.6 review-v2 session. dist/ is gitignored; tsc build was clean and all 39 baseline parser tests pass. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| dist | ||
| node_modules | ||
| out/speckl-compile | ||
| specs | ||
| src | ||
| test-output | ||
| test-output-rust/TigerBeetleLedger | ||
| .gitignore | ||
| .last-build | ||
| check-dist.sh | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||