Skip to content
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

Add Astro web framework support #5527

Merged
merged 22 commits into from
Apr 13, 2023
Merged

Conversation

austincrim
Copy link
Contributor

@austincrim austincrim commented Feb 16, 2023

Description

In conjunction with FirebaseExtended/firebase-framework-tools#61, this PR adds Astro support to Firebase web frameworks.

A temp change was made in frameworks/index.ts to support ESM, but another PR (#5540) is open that should fix this. That PR should be merged before this one.

Scenarios Tested

Tested with the Astro skeleton template, including static site generation, API routes, and partial hydration with a Svelte component.

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz
austincrim and others added 3 commits March 16, 2023 11:55

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@jamesdaniels jamesdaniels marked this pull request as ready for review April 12, 2023 03:52

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz
@codecov-commenter
Copy link

codecov-commenter commented Apr 12, 2023

Codecov Report

Patch coverage: 78.57% and project coverage change: +0.06 🎉

Comparison is base (8370680) 55.71% compared to head (5e18b23) 55.78%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5527      +/-   ##
==========================================
+ Coverage   55.71%   55.78%   +0.06%     
==========================================
  Files         322      324       +2     
  Lines       21836    21892      +56     
  Branches     4454     4462       +8     
==========================================
+ Hits        12166    12212      +46     
- Misses       8602     8606       +4     
- Partials     1068     1074       +6     
Impacted Files Coverage Δ
src/frameworks/astro/utils.ts 50.00% <50.00%> (ø)
src/frameworks/astro/index.ts 84.78% <84.78%> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Verified

This commit was signed with the committer’s verified signature.
leoortizz Leonardo Ortiz

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Copy link
Member

@jamesdaniels jamesdaniels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed a couple nits, added test coverage. Thanks!

@jamesdaniels jamesdaniels enabled auto-merge (squash) April 13, 2023 05:03
@jamesdaniels jamesdaniels merged commit cc4d85c into firebase:master Apr 13, 2023
ProfHercules pushed a commit to ProfHercules/firebase-tools that referenced this pull request May 5, 2023
Co-authored-by: James Daniels <jamesdaniels@google.com>
tonyjhuang pushed a commit that referenced this pull request May 22, 2023
Co-authored-by: James Daniels <jamesdaniels@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants