Commit Graph

5 Commits

Author SHA1 Message Date
Fraser Waters c2f55f8fd7
Clean up unused import warnings ()
There were a load of warnings such as the below, when building the
protobufs:
```
warning: Import google/protobuf/empty.proto is unused.
```

This removes the unused imports.
2024-03-04 13:01:25 +00:00
Fraser Waters 9ca0fb2b8f
Fix recursive fixups in JavaScript protobuf generation ()
The proto/generate.sh script was trying to do some sed based fixups to
the generated javascript files but wasn't correctly fixing up nested
files.
2023-11-10 13:31:14 +00:00
Fraser Waters 202491bfea
Update grpc-tools and use grpc_js option rather than sed ()
The codegen and test files changed because the old sed script wasn't
correctly fixing up those files, see
https://github.com/pulumi/pulumi/pull/14424 for more on attempting to
fix those scripts. But this gets rid of one of those sed scripts
entirely.
2023-10-27 18:14:20 +00:00
Fraser Waters 1a38eadc69 gRPC for GenerateProject/Program/Package
This changes codegen to be invoked via gRPC from pkg, rather than
invoking pkg/codegen directly.

Consider it a proof-of-concept for moving codegen to a gRPC interface
without the worries of forwards-backwards compatability (because we ship
language plugins at a fixed version side-by-side to users).
2023-05-06 13:14:59 +01:00
Fraser Waters 02489dbbb7 Add mapping service to converter 2023-03-24 17:09:17 +00:00