mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
James Kuszmaul 28e858c855
[TS/Bazel] Minor improvements to typescript.bzl (#7300)
* Move reflection_ts_fbs into a separate directory (#7342)

Right now, reflection_ts_fbs target is in reflection/BUILD.bazel.

This is not ideal because reflection:reflection_fbs_schema is referenced
from :flatc in the root. Thus, for any Bazel projects that want to
include flatbuffers, they need to include npm / yarn_install and nodejs
support all because reflection/BUILD.bazel loads typescript.bzl and that
requires all TypeScript things.

This PR separated that target into a different subdirectory, freeing
root BUILD.bazel from that dependency.

* Minor improvements to typescript.bzl

* Uses @...// dependencies so that flatbuffers can actually
  be used as an external repo (had forgotten to upstream this earlier).
* Allows using flatbuffer_ts_library to generate reflection schemas
  in the same way that flatbuffer_cc_library does (but default it
  to off to avoid behavioral changes).
* Pass through a package_name attribute to flatbuffer_ts_library to
  allow non-relative imports of generated typescript code.

Co-authored-by: Liu Liu <i@liuliu.me>
2022-08-05 22:04:05 -07:00
.bazelci
.github Disable Android on Linux CI build 2022-06-14 15:46:48 -07:00
.travis
android [Kotlin] Update gradle to 7.4.1 and simplify config files. (#7231) 2022-04-08 11:23:13 -07:00
bazel
benchmarks Started to migrate to target_compile_options (#7222) 2022-04-06 13:25:43 -07:00
CMake
conan
dart Fix references to LICENSE file (#7377) 2022-07-07 16:06:19 -07:00
docs replace io/ioutil to os (#7281) 2022-06-14 15:10:57 -07:00
go
grpc fix(#7360): grpc used deprecated functions (#7361) 2022-07-26 15:10:13 -07:00
include/flatbuffers Fix FlexBuffers Verifier tracking vectors reuse at wrong offset 2022-08-05 10:45:01 -07:00
java/com/google/flatbuffers
js
kotlin [Kotlin] Remove download benchmark files dependency (#7314) 2022-06-14 15:49:42 -07:00
lobster
lua
mjs
net/FlatBuffers Add overloads for C# ByteBuffer/FlatBufferBuilder to allow adding vector blocks from ArraySegments or IntPtr (#7193) 2022-04-01 13:35:07 -07:00
php
python Implement optional scalars for Python (#7318) 2022-06-13 09:16:00 -04:00
reflection [TS/Bazel] Minor improvements to typescript.bzl (#7300) 2022-08-05 22:04:05 -07:00
rust Rust: fix a name conflict when building with "no_std" feature (#7268) 2022-04-25 13:09:41 -04:00
samples Add explicit return types to lobster generated code (#7312) 2022-05-23 10:50:01 -07:00
scripts Implement optional scalars for Python (#7318) 2022-06-13 09:16:00 -04:00
snap
src Compilation issue msys2 (#7403) 2022-08-05 10:10:58 -04:00
swift Adds full supposed for Wasm in the swift lib (#7328) 2022-05-29 20:56:33 +02:00
tests [TS] fix incorrect reverse when writting array of structs (#7271) 2022-08-05 22:00:16 -07:00
ts [TS] fix incorrect reverse when writting array of structs (#7271) 2022-08-05 22:00:16 -07:00
.clang-format
.editorconfig
.eslintrc.js
.gitattributes
.gitignore Started to migrate to target_compile_options (#7222) 2022-04-06 13:25:43 -07:00
.travis.yml
BUILD.bazel code gen flexbuffer verifier (#7207) 2022-04-05 16:29:42 -07:00
build_defs.bzl
CMakeLists.txt Remove asserting in verifier for flattests 2022-06-14 20:53:28 -07:00
composer.json
conanfile.py
CONTRIBUTING.md
Formatters.md
LICENSE.txt
package.json
pom.xml
readme.md Update readme.md (#7257) 2022-04-20 09:49:35 -07:00
SECURITY.md
swift.swiftformat
tsconfig.json
tsconfig.mjs.json
typescript.bzl [TS/Bazel] Minor improvements to typescript.bzl (#7300) 2022-08-05 22:04:05 -07:00
WORKSPACE
yarn.lock

logo FlatBuffers

Build status Fuzzing Status Join the chat at https://gitter.im/google/flatbuffers Discord Chat Twitter Follow Twitter Follow

FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.

Go to our landing page to browse our documentation.

Supported operating systems

  • Windows
  • MacOS X
  • Linux
  • Android
  • And any others with a recent C++ compiler.

Supported programming languages

  • C++
  • C#
  • C
  • Dart
  • Go
  • Java
  • JavaScript
  • Lobster
  • Lua
  • PHP
  • Python
  • Rust
  • Swift
  • TypeScript

and more in progress...

Contribution

To contribute to this project, see CONTRIBUTING.

Security

Please see our Security Policy for reporting vulnerabilities.

Licensing

Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.