-
Notifications
You must be signed in to change notification settings - Fork 156
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
broken build with 0.3.0 #301
Comments
Hey @pi0 🙂 Thanks for this issue, I will fix these soon. As Docus evolved and is currently under active development, the v0.3.0 includes few updates that needs a refactor of current projects using it. I will sent a PR on nuxt/vite right away, including these changes. Would you mind giving me a list of projects you have using Docus so I can do the same on each? Thank you a lot 🙏 |
Thanks for quick response. I will share more as recall (nuxt/http is using docus too). But I think it would be nicer if you can fix them in upstream (typescript dist is not really an ideal solution. please let me know if needing help) |
Update: nuxt/image is also using docus |
Thanks for updates 🙂; We will need to fix the issues you reported upstream for sure! Even with these issues fixed, the Docus core has been updated and so the projects using it will at least need an update PR. That is also a good opportunity to fix other issues inside Docus with feedback from theses repositories! I'm currently working on update of nuxt/vite docs, and already spotted few caveats that will also need to be fixed upstream. I think it will take some time though, is waiting for the next release before updating Docus okay? I would appreciate help on the tsconfig.json issue, what would be your recommandations about that, could this be fixed easily from my siroc.config? Thank you a lot for your help on this @pi0 🙏 |
Sure! We can do end to end testing using this repos. And no worries for now i pinned to 0.1.x (tailwind/jit dep is needed but that's okay). Will open a PR tomorrow for ts dist fix :) |
Update: https://tailwindcss.nuxtjs.org also uses Docus |
Moved to #303 |
Version
nuxt: 2.15.5
docus: 0.3.0
Reproduction Link
nuxt/vite@ab49689 (happening in CI)
Error 1:
possible fix: create
static/.gitkeep
in app directoryError 2 (fatal):
Possible fix: Avoid using
@nuxt/typescript-build
. Using either siroc or mkdist, you might convertts
files tojs
artifacts. This still keeps types while removing all typescript overhead (at least for nuxt2 which is via webpack loader instead of esbuild)Alternatives (not recommended): Create and distribute
tsconfig.json
file or disable typeCheck optionThe text was updated successfully, but these errors were encountered: