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

[C3] Bump nuxi from 3.8.4 to 3.9.0 in /packages/create-cloudflare/src/frameworks #4001

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 21, 2023

Bumps nuxi from 3.8.4 to 3.9.0.

Release notes

Sourced from nuxi's releases.

v3.9.0

Note As always, use npx nuxi upgrade or bun x nuxi upgrade to update the CLI in your projects. Check with nuxi --version to make sure on the latest version!

🌟 What's New?

🐙 Smarter nuxi module add command with nuxt/modules db integration

The nuxi module add <name> is now integrated with the nuxt/modules database. This means you can simply install modules by their name, and the CLI will automatically detect and apply compatibility requirements. (#197)

📱 Single HMR port for vite

Previously, Nuxt 3 used a separate random port (default 24678) for Vite Hot-Module-Replacement support. This made it more challenging when you wanted to expose your development server to a mobile device or through a tunnel.

Now, you can simply use nuxi dev --tunnel to expose your development server to any device with HMR support!

😌 Mitigated issues with the default host

We now use localhost by default for Windows and the default host (same as in Nuxt 3.7) for WSL2 and Docker Environments (unjs/listhen#126). This mitigates performance issues related to using 127.0.0.1 as the default host.

If, after the upgrade, you are still experiencing a slow development server issue that was not present before 3.7, please reply in this thread: nuxt/cli#209 🙏

🐰 Compatibility issues with bun 1.x and the dev command

We now disable both forked mode and the dev server proxy when using bun --bun dev or bun --bun x nuxi dev for stability. This should resolve the dev server hanging issues.

Changelog

compare changes

🚀 Enhancements

  • dev: Reuse main dev port for vite HMR (#184)
  • mod-search: Filter mod search by compatible nuxt version (#134)
  • init: Support nuxi init --package-manager <npm|pnpm|yarn|bun> (#97)
  • Modules db integration with nuxi module add (#197)
  • init: Support nuxi init --git-init (#204)

🔥 Performance

  • dev: Avoid using proxy with --no-fork mode (fixes issues with bun) (#207)

🩹 Fixes

  • Use hook to avoid race conditions (bc98376)
  • Soft warning for node < 18 (#199)
  • Make dev proxy URL available for the listen hook (#206)
  • Use internal dev server URL for dev proxy (1316da6)
  • dev: Remove duplicate displayed URL in no-fork mode (dfb3651)

... (truncated)

Changelog

Sourced from nuxi's changelog.

v3.9.0

compare changes

🚀 Enhancements

  • dev: Reuse main dev port for vite hmr (#184)
  • mod-search: Filter mod search by compatible nuxt version (#134)
  • init: Support --package-manager (#97)
  • Modules db integration with nuxi module add (#197)
  • init: Support --git-init (#204)

🔥 Performance

  • dev: Avoid using proxy with --no-fork mode (#207)

🩹 Fixes

  • Use hook to avoid rece conditions (bc98376)
  • Soft warning for node < 18 (#199)
  • Make dev proxy url available for listen hook (#206)
  • Use internal dev server url for dev proxy (1316da6)
  • dev: Remove duplicate url in no-fork mode (dfb3651)
  • Prompt to abort module add if install failed (#208)

💅 Refactors

  • Remove unused dependencies and code (f0e0c94)

🏡 Chore

❤️ Contributors

Commits
  • 3428175 fix: prompt to abort module add if install failed (#208)
  • 68ba094 chore: update listhen and lockfile
  • f831d51 chore: update listhen
  • dfb3651 fix(dev): remove duplicate url in no-fork mode
  • 43bbe9b chore: update lockfile
  • d6a9904 perf(dev): avoid using proxy with --no-fork mode (#207)
  • 1316da6 fix: use internal dev server url for dev proxy
  • da8cdb6 feat(init): support --git-init (#204)
  • 942f9d1 chore(deps): update all non-major dependencies (#201)
  • b62e8e3 fix: make dev proxy url available for listen hook (#206)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [nuxi](https://github.com/nuxt/cli) from 3.8.4 to 3.9.0.
- [Release notes](https://github.com/nuxt/cli/releases)
- [Changelog](https://github.com/nuxt/cli/blob/main/CHANGELOG.md)
- [Commits](nuxt/cli@v3.8.4...v3.9.0)

---
updated-dependencies:
- dependency-name: nuxi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested review from a team as code owners September 21, 2023 10:36
@dependabot dependabot bot added c3 Relating to C3 (create-cloudflare) package dependency Relating to dependency updates labels Sep 21, 2023
@changeset-bot
Copy link

changeset-bot bot commented Sep 21, 2023

🦋 Changeset detected

Latest commit: ca991fd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
create-cloudflare Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #4001 (ca991fd) into main (7ba16cd) will increase coverage by 74.87%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           main    #4001       +/-   ##
=========================================
+ Coverage      0   74.87%   +74.87%     
=========================================
  Files         0      196      +196     
  Lines         0    11604    +11604     
  Branches      0     3044     +3044     
=========================================
+ Hits          0     8688     +8688     
- Misses        0     2916     +2916     

see 196 files with indirect coverage changes

@github-actions
Copy link
Contributor

github-actions bot commented Sep 21, 2023

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6260520071/npm-package-wrangler-4001

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6260520071/npm-package-wrangler-4001

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6260520071/npm-package-wrangler-4001 dev path/to/script.js
Additional artifacts:
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6260520071/npm-package-cloudflare-pages-shared-4001

Note that these links will no longer work once the GitHub Actions artifact expires.


wrangler@3.9.0 includes the following runtime dependencies:

Package Constraint Resolved
miniflare 3.20230918.0 3.20230918.0
workerd 1.20230904.0 1.20230904.0
workerd --version 1.20230904.0 2023-09-04

|

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

@dario-piotrowicz dario-piotrowicz merged commit fd39ae6 into main Sep 21, 2023
@dario-piotrowicz dario-piotrowicz deleted the dependabot/npm_and_yarn/packages/create-cloudflare/src/frameworks/nuxi-3.9.0 branch September 21, 2023 18:45
elithrar pushed a commit that referenced this pull request Sep 21, 2023
…/frameworks (#4001)

* [C3] Bump nuxi in /packages/create-cloudflare/src/frameworks

Bumps [nuxi](https://github.com/nuxt/cli) from 3.8.4 to 3.9.0.
- [Release notes](https://github.com/nuxt/cli/releases)
- [Changelog](https://github.com/nuxt/cli/blob/main/CHANGELOG.md)
- [Commits](nuxt/cli@v3.8.4...v3.9.0)

---
updated-dependencies:
- dependency-name: nuxi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* [C3] Update frameworks cli dependencies

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wrangler automated PR updater <wrangler@cloudflare.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c3 Relating to C3 (create-cloudflare) package dependency Relating to dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant