mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-17 13:06:47 +02:00
chore: updated gapic-generator-typescript WORKSPACE section to match the latest from the generator chore: added Required Typecheck Performance Selection section to .bazelrc feat: add protobufjs 2023 edition support feat: selective gapic support for typescript generation fix: catch dangling promises PiperOrigin-RevId: 751558264
26 lines
No EOL
1.2 KiB
Text
26 lines
No EOL
1.2 KiB
Text
# To make proto_library rules to include source info in the descriptor
|
|
build --protocopt=--include_source_info
|
|
build --protocopt=--experimental_allow_proto3_optional
|
|
# New boringssl requires C++14
|
|
build --repo_env=BAZEL_CXXOPTS="-std=c++14"
|
|
|
|
# This is to avoid JVM SIGBUS crashes on highly parallel builds,
|
|
# see https://github.com/bazelbuild/bazel/issues/3236 for more details
|
|
build --enable_platform_specific_config
|
|
build:linux --sandbox_tmpfs_path=/tmp
|
|
|
|
# Do not create bazel-* symlinks in the workspace directory
|
|
build:linux --experimental_convenience_symlinks=ignore
|
|
test:linux --experimental_convenience_symlinks=ignore
|
|
run:linux --experimental_convenience_symlinks=ignore
|
|
|
|
### Required Typecheck Performance Selection
|
|
# passes an argument `--skipLibCheck` to *every* spawn of tsc
|
|
# Bazel 6.4 or greater: 'common' means 'any command that supports this flag'
|
|
common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
|
|
|
|
# Between Bazel 6.0 and 6.3, you need all of this, to avoid discarding the analysis cache:
|
|
build --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
|
|
fetch --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
|
|
query --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
|
|
### END Required Typecheck Performance Selection |