@nuxt/server
2.18.1 · 28 Jun 2024MIT163.2k / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxt/server From 2.5.1 to 2.6.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 5
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Deprecated2.6.0
Release by release
- Deprecated
postcss: Deprecate config support
- New
yarn:
yarn add nuxt ts-node - New
npm:
npm i nuxt ts-node - New
yarn:
yarn add -D @nuxt/typescript
- Deprecated
5 other lines we could not sort, mostly version bumps
- 2.6.0
Using yarn as the package manager is more preferred as Nuxt is internally being tested against yarn
- 2.6.0
Before upgrade ensure to remove
yarn.lock,package-lock.jsonandnode_modules - 2.6.0
After full install and testing, also consider upgrading other dependencies. The
yarn outdatedcommand can be used. - 2.6.0
Remove
nuxt-tsdependency (2.4 users only) - 2.6.0
Create an empty
tsconfig.jsonfile. Nuxt will automatically generate it with defaults at first run, then you can edit it to fit your needs
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.