pulumi/sdk/proto
Sean Gillespie 1d5526d292
Work around commonjs protoc bug (#2403)
* Work around commonjs protoc bug

When compiling with the commonjs target, the protoc compiler still emits
references to Closure Compiler-isms that whack global state onto the
global object. This is particularly bad for us since we expect to be
able to make backwards-compatible changes to our Protobuf definitions
without breaking things, and this bug makes it impossible to do so.

To remedy the bug, this commit hacks the output of protoc (again) with
sed in order to avoid ever touching the global object. Everything still
works fine because the commonjs target (correctly) exports the protobuf
message types via the module system - it's just not writing to global
anymore.

* Fix status.proto

* Don't hack status.proto
2019-01-29 17:07:47 -08:00
..
go Implement more precise delete-before-replace semantics. (#2369) 2019-01-28 09:46:30 -08:00
analyzer.proto Add license headers 2018-05-22 15:02:47 -07:00
Dockerfile Use nightly protoc gRPC plugin for node (#1948) 2018-09-17 15:16:31 -07:00
engine.proto Move management of root resource state to engine (#1944) 2018-09-18 11:47:34 -07:00
errors.proto Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00
generate.sh Work around commonjs protoc bug (#2403) 2019-01-29 17:07:47 -08:00
grpc_version.txt Add Cancel to gRPC resource provider interface 2018-07-15 11:05:44 -10:00
language.proto Add license headers 2018-05-22 15:02:47 -07:00
plugin.proto Add license headers 2018-05-22 15:02:47 -07:00
provider.proto Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
resource.proto Implement more precise delete-before-replace semantics. (#2369) 2019-01-28 09:46:30 -08:00
status.proto Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00