-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[TS/JS] Entry point per namespace and reworked 1.x compatible single file build #7510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
e93f88b
[TS/JS] Entry point per namespace
bjornharrtell 72cae79
Fix handling of outputpath and array_test
bjornharrtell b4a17f5
Attempt to fix generate_code
bjornharrtell 0d236af
Merge branch 'master' into ns-entry-points2
bjornharrtell fa26bdf
Fix cwd for ts in generate_code
bjornharrtell 95a7519
Merge branch 'master' into ns-entry-points
bjornharrtell 5ade15a
Attempt to fixup bazel and some docs
bjornharrtell 4a4e1db
Add --ts-flat-files to bazel build to get bundle
bjornharrtell a1e8d8f
Move to DEFAULT_FLATC_TS_ARGS
bjornharrtell c58e85c
Attempt to add esbuild
bjornharrtell 70e7d21
Attempt to use npm instead
bjornharrtell 784ffdd
Remove futile attempt to add esbuild
bjornharrtell 03b58f1
Attempt to as bazel esbuild
bjornharrtell f31b93c
Shuffle
bjornharrtell a2c1457
Upgrade bazel deps
bjornharrtell dabc775
Revert failed attempts to get bazel working
bjornharrtell 029cf87
Ignore flatc tests for now
bjornharrtell 25a36a5
Merge branch 'master' into ns-entry-points2
bjornharrtell 224c9c2
Merge branch 'master' into ns-entry-points
dbaileychess 4dabc0e
Merge branch 'master' into ns-entry-points
dbaileychess 1a99c1c
Merge branch 'master' into ns-entry-points
dbaileychess 92ac29b
Add esbuild dependency
dbaileychess 307dff8
`package.json` Include esbuild
dbaileychess 2d52888
`WORKSPACE` Add fetching esbuild binary
dbaileychess 6e35f16
Update WORKSPACE
dbaileychess 3a61085
Unfreeze Lockfile
dbaileychess a336904
Update WORKSPACE
dbaileychess 2ed44a3
Update BUILD.bazel
dbaileychess 0905de7
Merge branch 'master' into ns-entry-points
bjornharrtell 2ef1502
Rework to suggest instead of running external bundler
bjornharrtell 57a8cfb
Add esbuild generation to test script
bjornharrtell de00f0b
Prelim bundle test
bjornharrtell 8704e69
Run test JavaScriptTest from flatbuffers 1.x
bjornharrtell 6441b02
Deps upgrade
bjornharrtell 595bf4f
Clang format fix
bjornharrtell 11271d4
Revert bazel changes
bjornharrtell 63b28c6
Fix newline
bjornharrtell d558a58
Merge branch 'master' into ns-entry-points
dbaileychess 3de95e2
Merge branch 'master' into ns-entry-points
bjornharrtell 4aca077
Generate with type declarations
bjornharrtell 74e136e
Handle "empty" root namespace
bjornharrtell 7ac6be5
Adjust tests for typescript_keywords.ts
bjornharrtell 1b3e01f
Merge branch 'master' into ns-entry-points
bjornharrtell 6fafede
Separate test procedure for old node resolution module output
bjornharrtell 6c07d62
Fix rel path for root level re-exports
bjornharrtell 5f28a53
Bazel support for esbuild-based flatc
jkuszmaul 96ddf2c
Try to fix bazel build for when node isn't present on host
jkuszmaul 027bc8b
Auto formatting fixes
bjornharrtell 9ffa2ac
Fix missing generated code
bjornharrtell 2ae545b
Merge branch 'master' into ns-entry-points
bjornharrtell 5ee0c9f
Merge branch 'master' into ns-entry-points
dbaileychess File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export { HelloReply } from './models/hello-reply'; | ||
export { HelloRequest } from './models/hello-request'; | ||
// automatically generated by the FlatBuffers compiler, do not modify | ||
|
||
export * as models from './models.js'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// automatically generated by the FlatBuffers compiler, do not modify | ||
|
||
export { HelloReply } from './models/hello-reply.js'; | ||
export { HelloRequest } from './models/hello-request.js'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.