tink-crypto package from npm, only to build from source).
Check out source code and run
bazel build. It will download dependencies and do all the other npm-related stuff automatically.
yarn(or, if you don't have the Yarn CLI installed globally,
npx yarn) to update
We‘re currently using a pretty ad-hoc method of depending on protos from TypeScript code; it involves feeding the output from one build toolchain into a different one. The implementation is in
internal/ts_library_from_closure.bzl. Note that it’s also necessary to add any new protos to
There's no support for code splitting right now;
index.ts is the sole entry point and everything has to be directly or indirectly exported from there.