Skip to content
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

Roadmap to v1.0.0 #449

Open
3 tasks
danielroe opened this issue Dec 13, 2024 · 2 comments
Open
3 tasks

Roadmap to v1.0.0 #449

danielroe opened this issue Dec 13, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@danielroe
Copy link
Member

danielroe commented Dec 13, 2024

With the release of unbuild v3, the EOL status of Nuxt 2, and looking forward to Nuxt 4, we're going to take the opportunity to release v1 of @nuxt/module-builder, with a range of breaking changes.

🚧 TODO

  • document that __filename and __dirname are no longer supported (and raise PRs to ecosystem modules)
  • create full migration guide explaining node10 -> bundler module resolution
  • explain that we no longer support CJS (as this was only required for Nuxt v2)

🧪 Testing v1

It is possible to try out the current state of the module builder by installing @nuxt/module-builder@alpha. (Expect breaking changes if you are trying out the alpha release.)

✨ Changelog

🚀 Enhancements

  • ⚠️ Upgrade to unbuild v3 (#447)
  • ⚠️ Remove support for node10 resolution + cjs (#448)

🩹 Fixes

  • Mark nuxi as optional peerDep (29a42ae)
  • Drop @nuxt/kit peer dependency & remove optionality for nuxi (5936063)
  • build: Handle windows path names (#399)

📖 Documentation

  • Update example build script (#359)
  • Update link to downloads count badge (9804e9e)
  • Describe configuring unbuild (#440)

🏡 Chore

  • Use tinyexec in test suite (7ff8ef1)
  • Fix links (2e57eb2)
  • Pin typescript until issue with vue-tsc is resolved (994135d)

✅ Tests

  • Await file snapshot assertions (16930b4)
  • Assert current vue snapshot behaviour (#444)

⚠️ Breaking Changes

  • ⚠️ Upgrade to unbuild v3 (#447)
  • ⚠️ Remove support for node10 resolution + cjs (#448)

❤️ Contributors

@BobbieGoede
Copy link
Member

I just tried out the alpha in nuxt-i18n locally, it kept hanging on https://github.com/unjs/mkdist/blob/main/src/make.ts#L56 so I couldn't build. In the middle of some refactors, so no reproduction for now.

The freezing/hanging reminded me of nuxt/nuxt#30137 (comment) and it seems to be related since the build succeeds after I replaced the tinyglobby usage with fast-glob in mkdist. I wonder if this will be an issue in other modules, it looks like you didn't run into this with danielroe/nuxt-workers#60 🤔

@BobbieGoede
Copy link
Member

I gave it another try and building works fine now (BobbieGoede/i18n#60, https://github.com/BobbieGoede/i18n/actions/runs/12391918988/job/34590001748?pr=60)!

I'm guessing the previous issue was resolved by unjs/mkdist#265 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants