Skip to content

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.

@jamesdaniels jamesdaniels marked this pull request as ready for review April 12, 2023 03:52
@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.

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
tonyjhuang pushed a commit that referenced this pull request May 22, 2023
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.

3 participants