flatbuffers/tests/ts
Austin Chick b8e3d215b8
[TS] Fix relative import paths of generated TypeScript code (#8880)
* Refactor logic that generates import paths in AddImport

* Add new tests to validate relative import path fix

* Generate goldens

* Generate example code

* Format TS generator file

* Revert "Format TS generator file"

This reverts commit 0f0b24aee9762b5ebac492af1560ab1e2a190581.

* Fix merge conflicts

---------

Co-authored-by: Björn Harrtell <bjornharrtell@users.noreply.github.com>
2026-02-17 10:22:32 +01:00
..
arrays_test_complex bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
bazel_repository_test_dir bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
com/company bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
foobar bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
longer-namespace/a/b bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
my-game [TS] Fix relative import paths of generated TypeScript code (#8880) 2026-02-17 10:22:32 +01:00
no_import_ext bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
optional-scalars [TS] Fix relative import paths of generated TypeScript code (#8880) 2026-02-17 10:22:32 +01:00
reflection bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
relative_imports [TS] Fix relative import paths of generated TypeScript code (#8880) 2026-02-17 10:22:32 +01:00
required-strings bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
test_dir bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
ts-undefined-for-optionals Add --ts-undefined-for-optionals command line option (#8861) 2026-02-04 13:37:41 +01:00
typescript bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
union-underlying-type bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
union_vector bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
BUILD.bazel Test external modules explicitly in CI (#8507) 2025-01-23 23:04:06 +00:00
foobar.d.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
foobar.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
foobar.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
JavaScriptComplexArraysTest.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
JavaScriptFlexBuffersTest.js [TS] Flexbuffers root vector fix (#8847) 2025-12-14 22:59:27 +01:00
JavaScriptRelativeImportPathTest.js [TS] Fix relative import paths of generated TypeScript code (#8880) 2026-02-17 10:22:32 +01:00
JavaScriptRequiredStringTest.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
JavaScriptTest.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
JavaScriptTestv1.cjs
JavaScriptUndefinedForOptionals.js Add --ts-undefined-for-optionals command line option (#8861) 2026-02-04 13:37:41 +01:00
JavaScriptUnionUnderlyingTypeTest.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
JavaScriptUnionVectorTest.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
monster_test.d.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
monster_test.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
monster_test.ts
monster_test_generated.cjs
monsterdata_javascript_wire.mon
my-game.d.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
my-game.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
my-game.ts
optional-scalars.ts
optional_scalars.ts
package.json
pnpm-lock.yaml
reflection.d.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
reflection.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
reflection.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
reflection_generated.cjs
required_strings_generated.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
required_strings_generated.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
table-a.d.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
table-a.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
table-a.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
tsconfig.json [TS] Fix relative import paths of generated TypeScript code (#8880) 2026-02-17 10:22:32 +01:00
tsconfig.node.json
typescript.d.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
typescript.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
typescript.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
typescript_include.ts
typescript_include_generated.cjs
typescript_keywords.d.ts
typescript_keywords.fbs
typescript_keywords.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
typescript_keywords.ts
typescript_keywords_generated.cjs
typescript_transitive_include.ts
typescript_transitive_include_generated.cjs
TypeScriptTest.py [TS] Fix relative import paths of generated TypeScript code (#8880) 2026-02-17 10:22:32 +01:00
unicode_test.mon
union-underlying-type.d.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
union-underlying-type.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
union-underlying-type.ts bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
union_underlying_type_test.d.ts
union_underlying_type_test.js bulk code format fix (#8707) 2025-09-23 21:50:27 -07:00
union_underlying_type_test.ts