- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix: try update @nuxt/scripts
implementation
#391
Conversation
@danielroe |
I'll review later today. have you investigated the failing tests? |
@danielroe yes it's an issue with missing types introduced in Yizack@4b5577c But @Yizack can answer that why he maybe those changes. Were they needed in the src/runtime/components/NuxtTurnstile.vue ? |
The missing types issue comes from The changes in |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
Added a test to check if turnstile input elements are rendered after click on Load Turnstile button, this test will fail without the changes in Any feedback is welcome β€οΈπ |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #391 +/- ##
===========================================
+ Coverage 19.26% 29.34% +10.07%
===========================================
Files 12 12
Lines 493 351 -142
Branches 23 24 +1
===========================================
+ Hits 95 103 +8
+ Misses 398 248 -150 β View full report in Codecov by Sentry. π New features to boost your workflow:
|
thank you β€οΈ |
## [0.9.15](v0.9.14...v0.9.15) (2025-03-09) ### Bug Fixes * update to latest `@nuxt/scripts` implementation ([#391](#391)) ([94deb2c](94deb2c))
π This PR is included in version 0.9.15 π The release is available on: Your semantic-release bot π¦π |
On our end this issue is not fully resolved. We are getting:
If we run a fresh install without turnstile the install works without any errors. As soon as we add it back we get the error. Anyone else? |
Hello @StirStudios That issue doesn't seem to be related to this PR, does your project have other nuxt modules installed? it would be great if you can provide a reproduction link so maintainers can investigate further |
@Yizack you are totally right, with Nuxt 3.16.0 other changes were made to layers so it was causing an issue here:
Sorry for any confusion caused! |
π Linked issue
might fix #390
β Type of change
π Description
Tried to update the module to the latest
@nuxt/scripts@0.11.1
implementation andnuxt@3.16.0
Since the component needs to expose
reset
I assign it insideonLoaded
, just in case, I tried usingproxy
directly but the reset wasn't working