pulumi/sdk
Pat Gavlin 7273bc02c9
[display] Enable WASM compilation (#16246)
These changes contain some minor refactorings to conditionally disable
the use of packages that are cannot be built for `GOOS=js GOARCH=wasm`.
With these edits, `pkg/display` can be built targeting WASM.

These changes act as a safeguard to ensure that we are not adding
additional code that will _prevent_ building `pkg/display` for WASM
targets. They are not sufficient to produce a version of the display
renderer that is appropriate for actual use in a WASM environment:

- The current renderer API is not well-suited for use outside the
context of the CLI
- The current event stream format has no versioning data
- Actually building this code into a WASM module results in an
unpleasantly large file (70M uncompressed, 13M gzipped)

These changes also add a size gate for the built WASM module. The gate
is set to the 110% of the size of the WASM module as of this commit. Our
goal is to lower the size of the WASM module over time; as we do so we
will tighten this gate.

Part of #13258.
2024-05-24 20:27:56 +00:00
..
go [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
nodejs Prepare for v3.117.0 release (#16256) 2024-05-24 15:29:40 +00:00
proto/go RegisterProvider engine work (#16241) 2024-05-23 06:16:59 +00:00
python Prepare for v3.117.0 release (#16256) 2024-05-24 15:29:40 +00:00
.version Prepare for v3.117.0 release (#16256) 2024-05-24 15:29:40 +00:00
README.md Cleanup sdk/README.md 2023-01-03 17:12:12 -05:00
go.mod Bump the go_modules group across 2 directories with 1 update (#16236) 2024-05-21 05:23:56 +00:00
go.sum Bump the go_modules group across 2 directories with 1 update (#16236) 2024-05-21 05:23:56 +00:00
version.go Move .version to /sdk and embed it (#15185) 2024-01-19 14:11:17 +00:00

README.md

Pulumi Language SDKs

This directory contains Pulumi SDKs for the following languages:

See the respective READMEs for information about installing and using these libraries.

The language providers work by implementing gRPC interfaces defined in the top level directory proto.