nuxt / typescript

TypeScript Support for Nuxt 2
https://typescript.nuxtjs.org
MIT License
567 stars 124 forks source link

fix(docs): fix missing content on some pages #610

Closed rchl closed 1 year ago

rchl commented 1 year ago

https://typescript.nuxtjs.org/cookbook/components/ is missing a lot of content in the script section for example:

Screenshot 2023-07-06 at 14 58 35

Based on my experience with docs and @nuxt/content-theme-docs, pinned versions to the ones that should work.

Also had to pin @babel/preset-env as new versions seemed to conflict with Nuxt (perhaps because is nuxt is not the latest but there are other issues when it is).

It does seem to fix issues locally but not sure it will also fix static build.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (0714ea2) 100.00% compared to head (da5dfbf) 100.00%.

:exclamation: Current head da5dfbf differs from pull request most recent head 5123831. Consider uploading reports for the commit 5123831 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #610 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 2 2 Lines 36 36 Branches 9 9 ========================================= Hits 36 36 ```

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

rchl commented 1 year ago

Seems OK now in the preview.

rchl commented 1 year ago

Didn't quite fix it, it seems. The request to https://api.github.com/repos/nuxt/typescript/releases that docs are making breaks it randomly (depends on timing).