Skip to content

Conversation

@feugy
Copy link
Member

@feugy feugy commented Nov 8, 2024

🖖 What's in there?

As part of documenting route support, this PR:

  • exposes typescript types for BeforeSend and BeforeSendEvent
  • shows working example for each framework

🤺 How to test?

On preview deployments, with console open, you will see relevant logs before sending page views.

🔬Notes to reviewers

apps/astro/src/components/BaseHead.astro was unused, I've removed it, and I've moved Sveltekit layout from js to ts.
The way in Astro to pass beforeSend is by exposing a global function (we do the same in SpeedInsights, there's no built-in support for non-serializable props in Astro).

@feugy feugy requested a review from a team November 8, 2024 08:49
@vercel
Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
analytics-astro ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 9:05am
analytics-next15 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 9:05am
analytics-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 9:05am
analytics-nuxt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 9:05am
analytics-remix ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 9:05am
analytics-sveltekit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 9:05am
analytics-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 9:05am

@socket-security
Copy link

socket-security bot commented Nov 8, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@astrojs/ts-plugin@1.10.4 Transitive: filesystem +11 6.69 MB fredkschott
npm/astro@4.16.10 Transitive: environment, eval, filesystem, network, shell +305 60.5 MB fredkschott

🚮 Removed packages: npm/astro@4.10.0

View full report↗︎

@feugy feugy merged commit c09b649 into main Nov 12, 2024
@feugy feugy deleted the damien/log-827-deploy-route-support-for-other-framework-docs branch November 12, 2024 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants