Closed blqke closed 4 months ago
๐ @blqke
๐ Thanks for opening this pull request!
Please follow the contributing guidelines. And we use semantic commit messages to streamline the release process.
Examples of commit messages with semantic prefixes:
fix: interval for sending a request in the base service
feat: add new NAME service
docs: example of using the NAME service
If you like this project, please โญ star our repo.
Hi, I saw that nuxt changed the structure. Thank you for your PR. I will do a merge of your commit shortly
๐ @blqke Congrats on merging your first pull request! ๐
Nuxt 4 introduces a new default directory structure
With this new structure enabled on a Nuxt 3 project using the following configuration:
This module is not working anymore, because the module resolve cron directory to
<srcDir>
which isapp/
by default, and therefore tries to resolveapp/server/cron/
by default, and notserver/cron/
,Check it here -> https://stackblitz.com/edit/github-hessqh?file=src/module.ts
I believe it should try to resolve
<serverDir>
, which by default is<rootDir>/server
whencompatibilityVersion:
is set to 4, andย<srcDir>/server
otherwise.I believe there is no breaking change for those who havent migrated to the new structure.