-
Notifications
You must be signed in to change notification settings - Fork 77
feat: generate edge function tarballs #6568
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 28 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
b0bab6e
feat: deploy edge functions as tarballs
eduardoboucas d959b54
chore: cleanup
eduardoboucas 780b95a
refactor: abstract TS transpilation logic
eduardoboucas d3e77d0
chore: remove comment
eduardoboucas eb616ac
chore: fix test
eduardoboucas 828c05d
chore: update CI versions
eduardoboucas d22e87d
chore: remove node prefix
eduardoboucas 2ece335
Merge branch 'main' into feat/ef-tarball
eduardoboucas 840776a
fix: add type check
eduardoboucas ebcf3de
chore: support Node 14
eduardoboucas 6757215
Merge branch 'main' into feat/ef-tarball
eduardoboucas ccb5bcc
chore: update test
eduardoboucas 107b5bc
fix: fix test
eduardoboucas aba6353
fix: fix lint issue
eduardoboucas 7b99fd8
Merge branch 'main' into feat/ef-tarball
eduardoboucas 1bd36cf
refactor: use deno bundle
eduardoboucas 06e5536
chore: add comment
eduardoboucas 17c7d4e
chore: update Deno version
eduardoboucas 5091196
refactor: remove unused files
eduardoboucas 56eb725
chore: remove lock file
eduardoboucas 19f8e02
refactor: revert lock flag
eduardoboucas e6c83ff
fix: fix test
eduardoboucas d8b704b
chore: update Deno
eduardoboucas 10b288c
Merge branch 'main' into feat/ef-tarball
eduardoboucas db6a971
refactor: revert lock flag
eduardoboucas b89cb5e
chore: add debug log
eduardoboucas 638ae47
chore: add more debug
eduardoboucas a6b2333
refactor: fix path generation
eduardoboucas 7700a45
chore: clean up test util
eduardoboucas bc9e874
refactor: revert version bump
eduardoboucas 9d818e2
chore: simplify test
eduardoboucas 261772c
chore: do not use lock file
eduardoboucas 5d62045
Merge branch 'main' into feat/ef-tarball
eduardoboucas 4ceec14
fix: read feature flag
eduardoboucas 2204a2c
refactor: revert fixture change
eduardoboucas 070c47f
Merge branch 'main' into feat/ef-tarball
eduardoboucas 492a475
Merge branch 'main' into feat/ef-tarball
eduardoboucas 92603bb
fix: use stable hash
eduardoboucas b1a719b
fix: fix file type check
eduardoboucas 719b9c1
fix: improve sorting
eduardoboucas 514e77e
Merge branch 'main' into feat/ef-tarball
eduardoboucas 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,6 +1,7 @@ | ||
export enum BundleFormat { | ||
ESZIP2 = 'eszip2', | ||
JS = 'js', | ||
TARBALL = 'tar', | ||
} | ||
|
||
export interface Bundle { | ||
|
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unfortunate, as it's the only part of this PR that affects users not targeted by the feature flag. But
deno bundle
isn't available in previous versions.