Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/content/docs/1.getting-started/2.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
## Quick Start

Nuxt Scripts 2 requires Nuxt `^4.6.0 || ^5.0.0` and Unhead `^3.4.2`.
The supported Node.js range is `^22.22.3 || ^24.15.0 || >=26.0.0`.

Check warning on line 9 in docs/content/docs/1.getting-started/2.installation.md

View workflow job for this annotation

GitHub Actions / lint

"Node.js" should link to https://nodejs.org
Upgrade an existing project before installing:

```bash
npx nuxi@latest upgrade --force
```

Run:
Nuxt Scripts 2 is available on the `beta` channel. Run:

```bash
npx nuxi@latest module add scripts
pnpm exec nuxt module add @nuxt/scripts@beta
```

> [!TIP]
Expand All @@ -28,7 +28,7 @@
Install the same version as `@nuxt/scripts`, then restart Nuxt:

```bash
pnpm add -D @nuxt/scripts-devtools@2.0.0-beta.12
pnpm add -D @nuxt/scripts-devtools@beta
```

## Next Steps
Expand Down
4 changes: 2 additions & 2 deletions docs/content/docs/4.migration-guide/2.v1-to-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Run the dedicated migration CLI from the project root. Preview its changes first
if the project has dynamic Nuxt configuration:

```bash
npx @nuxt/scripts-cli migrate v2 --dry-run
npx @nuxt/scripts-cli migrate v2
pnpm dlx @nuxt/scripts-cli@beta migrate v2 --dry-run
pnpm dlx @nuxt/scripts-cli@beta migrate v2
```

The CLI handles static registry configuration and mechanical API renames. It
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-release-channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (!distTag || !output)
const names = ['@nuxt/scripts', '@nuxt/scripts-cli', '@nuxt/scripts-devtools']
const currentVersions = await Promise.all(names.map(async (name) => {
const response = await fetch(`https://registry.npmjs.org/${encodeURIComponent(name)}`, {
headers: { accept: 'application/vnd.npm.install-v1+json', 'cache-control': 'no-cache' },
headers: { 'accept': 'application/vnd.npm.install-v1+json', 'cache-control': 'no-cache' },
signal: AbortSignal.timeout(30000),
})
if (!response.ok)
Expand Down
Loading