Bot releases are hidden (Show)
Published by danielroe about 2 months ago
Published by danielroe about 2 months ago
--prerender
overrides --preset
(#392)-w
arg when updating pnpm root workspace (#449)c12
util to update config (#441)Published by danielroe 4 months ago
--dotenv
(#377)nitropack-nightly
when resolving nitro version (bfaf128)hmr.server
earlier in lifecycle (#420)nitro.output.dir
(#376)baseURL
for vite hmr ws upgrade (#370)Published by pi0 7 months ago
dev
: Support experimental runtime websocket (#348)module add
: Support module aliases and validate cwd
and pkg
(#362)module search
: Add stats to module search results (#221)typecheck
: Use resolve vue-tsc
and typescript
path (#264)cwd
from rootDir
(#350)add
: Strip .ts
and .vue
extension from name (#345)Published by pi0 8 months ago
.config/
dirWith this release, nuxi upgrades to the latest c12 version with support of .config/
dir for loading nuxt config (see config dir proposal for more info).
You can now alternatively use .config/nuxt.config.ts
or .config/nuxt.ts
to define your Nuxt configuration.
Make sure to renew the lock file or use npx nuxi upgrade --force
to install the latest c12 version.
Bundled dependencies upgraded backporting various ecosystem fixes.
.npmrc
with shamefully-hoist=true
anymore (#319).config/
dir and custom config extensions (#341)template
positional arg (#325)Published by pi0 11 months ago
--preset
arg (#290)buildDir
(#276)rootDir
to runTests
command (#284).includes
helper (#268)Published by pi0 about 1 year ago
baseUrl
to listen options (#236)localhost
over [::]
for internal networking (#242)-nightly
nuxt releases and publish nuxi-nightly
(#248)Published by pi0 about 1 year ago
Note
As always, usenpx nuxi upgrade
orbun x nuxi upgrade
to update the CLI in your projects.
Check withnuxi --version
to make sure on the latest version!
nuxi module add
command with nuxt/modules
db integrationThe 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)
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!
We now use localhost
by default for Windows and the default host (same as in Nuxt 3.7) for WSL2 and Docker Environments (https://github.com/unjs/listhen/pull/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: https://github.com/nuxt/cli/issues/209 🙏
1.x
and the dev
commandWe 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.
nuxi init --package-manager <npm|pnpm|yarn|bun>
(#97)nuxi module add
(#197)nuxi init --git-init
(#204)--no-fork
mode (fixes issues with bun) (#207)hook
to avoid race conditions (bc98376)node < 18
(#199)listen
hook (#206)module add
if install failed (#208)Published by pi0 about 1 year ago
logLevel
when running prepare
(#170)devServer
config (#166)undefined
(#182)Published by pi0 about 1 year ago
Published by pi0 about 1 year ago
Published by pi0 about 1 year ago
Published by pi0 about 1 year ago
--sourcemap
support to build-module
(#129)https
by default when devServer.https
options is set (#146)package.json
with json assertion (#151)--no-fork
and improve stability (#153)Published by pi0 about 1 year ago
nuxi dev
: Pass listener interface to the listen
hook (#120)nuxi dev
: Use truthy value of -o
(#125)nuxi dev
: Pass https
info to the vite HMR port (#126)nuxi dev
: Support WebSocket Upgrades (#127)nuxi devtools
: Define enable|disable
command as positional argument (#119)nuxi upgrade
: Prompt for force install (#111)start
(#124)Published by pi0 about 1 year ago
[email protected]
nuxi
(42106c6)HOST
, --host
and devServer.host
options (#105)-o
and -p
and deprecate ssl*
args (#106)nuxi-edge
(for now) (d1120b1)Published by danielroe about 1 year ago
nuxi info
(#503)nuxi init
(#659)prepare
step for nuxi dev/build (#689)--host
, --ssl-cert
, and --ssl-key
args (#993)engines.node
field and node.js version check (#1197)#storage
and #assets
types (#1377)typescript
options (#1940)typecheck
command using vue-tsc
(#2132)nuxi preview
command for local testing (#2162)listen
hook for dev (#2772).nuxtignore
support and isIgnored
kit utility (#3424)nuxi test
support (#3307)runCommand
(#3749)nuxi add
(#3841).env
when previewing builds (#4016)nuxi cleanup
command (#6125)app.config
with hmr and reactivity support (#6333)add
command (#3921)theme
config (#7131)unjs/giget
for nuxi init
(#7361)nuxi init
(#7404)--dotenv
for dev
, build
and preview
commands (#7660)[email protected]
and [email protected]
(#8218)nuxi build-module
command (#7610)utils/
directory (#8817)nuxt test
(#4578).npmrc
and setting for pnpm (#7407)ssr: false
(#18783)restart
hook is called (#19084)logLevel
(#19369)watch
option and refactor dev server restarting (#19530)devtools
when it's enabled (#20126)nuxi analyze
from cli (#20387)module add
command (#9)nuxi info
(604843137)writeTypes
utility (#22385)bun
package manager (#22673)dev
args (#88)_dev
command for testing purpose (#94).test
and hoist regexps where possible (#21011)nuxt
binraries (#512)app.vue
creation and removal (#597)nuxt3
for bridge projects (#663)NuxtWelcome
component from design (#745)components/
directory (#749)--port
arg (#919)@nuxt/kit
installed (#915)tsconfig
when generating buildDir
(#1161)build:error
hook (#1298)--template
flag (#1412)nuxi generate
to nuxt
on nuxt 2 (#1571)nuxi
command (f21d26c05)nuxi generate
(#1625)nuxi dev
with self signed certificate (#1699)#config
and useRuntimeConfig()
) (#1783)allowSyntheticDefaultImports
(#1827)prepare
command (#1971)usage
command (#2079)nuxt3
to dev deps in upgrade command (#2143)nuxi prepare
(#2409)nuxi dev --help
(#3372)builder
option for vite/webpack info (#3658)perfect-debounce
to handle trailing run of promise (#3679)experimental
key on bridge (#3763)NUXT_PORT
and NUXT_HOST
vars in dev mode (#3973)api
template to event format (#4183)rc
tag for upgrade command of nuxt (#4468)tsconfig
(#4595)nuxi init
output (#4612)NODE_ENV
(#5417)types
field (#5962).env
file before starting dev server (#6119)esmResolve
flag for jiti
(#6356)listhen
(#6434)nuxi upgrade
(#6514)server.port
and server.host
with listener info (#6595)nuxi upgrade
runs in rootDir (#6707)nuxt-edge
current releases (bridge) (#7193)https
through to vite-node (#7271)nuxi dev --https
(#7545)nuxi dev
(#7560)useNitro
(#7593)workspaceDir
in tsconfig include (#7726)defineNuxtConfig
for nuxi info
(#7728)workspaceDir
in tsconfig by default (#8256)pages
creation and removal dx (#8502)dist
from type checking (#8848)nuxi generate
(#9018)latest
tag (#9060)--template
flag (#9946)defu
in all places (#18624)devServer
options from nuxt config (#19055)giget
(48ea0c46d)distDir
is unlinked (#19131)payloadExtraction
warning only when unset (#18516)rootDir
when preparing project (#20401)devServer.https: true
(#20498).env
changes (#20501)--no-clear
config through to vite (#21262)@nuxt/ui-templates
from modulesDir
(#21836)nuxi generate
(#21860)runMain
(50ef441f2)experimental
option (58603415b)distDir
after first build (#22614)/cli
export for backwards compatibility (97a8029a4)nuxt-cli
to nuxi
(#430)nuxt3
(#439)p-debounce
everywhere (#977)nuxt.d.ts
within buildDir
(#1369)@nuxt/schema
and simplify kit (#2059)<buildDir>/types
(#3067)rimraf
dependency (#4308)citty
(#47)bundler
module resolution flag (#22142)generate
doc to include --dotenv
(#9991)unbuild
and pkg-types
(97d993a85)node
to export conditions (7b355e637)init
instructions (#3826)node:
prefix for built-in modules (#4384)nuxt/nuxt
(9bf672093)2.x
branch name (8559c8d67)@ts-ignore
and fix some issues (#20273)generateRoutesFromFiles
(#261, #1227)@nuxt/test-utils
(#3308)engines.node
field and node.js version check (#1197)nuxi init
(#7404)[email protected]
and [email protected]
(#8218)nuxt test
(#4578)nuxi generate
(#9018)