wxt icon indicating copy to clipboard operation
wxt copied to clipboard

feat: New `@wxt-dev/analytics` package

Open aklinker1 opened this issue 1 year ago • 2 comments

aklinker1 avatar Jul 02 '24 20:07 aklinker1

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
Latest commit 1b54299c5047588ab6edb586347ceea12b8feb19
Latest deploy log https://app.netlify.com/sites/creative-fairy-df92c4/deploys/67c68396f8e7c100080ebf8f
Deploy Preview https://deploy-preview-790--creative-fairy-df92c4.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jul 02 '24 20:07 netlify[bot]

Alright, the app config resolution error has been solved, but new error popped up.

The analytics export isn't a singleton during development. Sometimes it uses the optimized dependency inside node_modules/.vite/deps/@wxt-dev/analytics and sometimes the non-optimized dependency node_modules/@wxt-dev/analytics...

Tried excluding @wxt-dev/analytics from optimization, but that didn't work. Never delt with this before with Vite, so I don't have an immediate solution...

aklinker1 avatar Jul 23 '24 17:07 aklinker1

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.17%. Comparing base (78f97f3) to head (1509809). Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #790      +/-   ##
==========================================
+ Coverage   81.12%   81.17%   +0.04%     
==========================================
  Files         128      128              
  Lines        6285     6285              
  Branches     1071     1070       -1     
==========================================
+ Hits         5099     5102       +3     
+ Misses       1171     1168       -3     
  Partials       15       15              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Dec 30 '24 02:12 codecov[bot]

Alright, this is ready to be released. Will be releasing it as v0.4.0 until some more people have tried it out and have validated the API design.

aklinker1 avatar Dec 30 '24 02:12 aklinker1

Open in Stackblitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@790
@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@790
@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@790
@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@790
@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@790
@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@790
@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@790
@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@790
@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@790
wxt

npm i https://pkg.pr.new/wxt@790

commit: 1b54299

pkg-pr-new[bot] avatar Dec 30 '24 02:12 pkg-pr-new[bot]

Gonna wait for #1085 to merge.

aklinker1 avatar Jan 05 '25 16:01 aklinker1

Gonna wait for #1085 to merge.

Nope, I'm gonna merge this. PR has been open for too long, and last I checked, the module worked great. So no reason to wait.

aklinker1 avatar Mar 04 '25 04:03 aklinker1

Thanks for helping make WXT better!

github-actions[bot] avatar Mar 04 '25 04:03 github-actions[bot]