[TS/JS] New gen TS code gen prequel to preserve history (#6404)
authorBjörn Harrtell <bjornharrtell@users.noreply.github.com>
Thu, 14 Jan 2021 19:34:44 +0000 (20:34 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Jan 2021 19:34:44 +0000 (11:34 -0800)
* Rename idl_gen_js_ts to idl_gen_ts to preserve history

* Change build related files

.github/labeler.yml
CMakeLists.txt
src/BUILD
src/idl_gen_ts.cpp [moved from src/idl_gen_js_ts.cpp with 100% similarity]

index 1f4a17b..6d4ee88 100644 (file)
@@ -22,11 +22,11 @@ swift:
 
 javascript:
   - '**/*.js'
-  - src/idl_gen_js_ts.cpp
+  - src/idl_gen_ts.cpp
 
 typescript:
   - '**/*.ts'
-  - src/idl_gen_js_ts.cpp
+  - src/idl_gen_ts.cpp
   - grpc/flatbuffers-js-grpc/**/*.ts
 
 golang:
index 6e2b32b..fdfef1b 100644 (file)
@@ -98,7 +98,7 @@ set(FlatBuffers_Compiler_SRCS
   src/idl_gen_kotlin.cpp
   src/idl_gen_go.cpp
   src/idl_gen_java.cpp
-  src/idl_gen_js_ts.cpp
+  src/idl_gen_ts.cpp
   src/idl_gen_php.cpp
   src/idl_gen_python.cpp
   src/idl_gen_lobster.cpp
index 471d5da..675b5eb 100644 (file)
--- a/src/BUILD
+++ b/src/BUILD
@@ -47,7 +47,7 @@ cc_library(
         "idl_gen_go.cpp",
         "idl_gen_grpc.cpp",
         "idl_gen_java.cpp",
-        "idl_gen_js_ts.cpp",
+        "idl_gen_ts.cpp",
         "idl_gen_json_schema.cpp",
         "idl_gen_kotlin.cpp",
         "idl_gen_lobster.cpp",
similarity index 100%
rename from src/idl_gen_js_ts.cpp
rename to src/idl_gen_ts.cpp