Skip to content

Commit 5815abf

Browse files
author
DavertMik
committed
updated announcement
1 parent 241093d commit 5815abf

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

src/content/docs/migration-4.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,31 @@ title: Migrating from 3.x to 4.x
44
<!-- Auto-generated by scripts/sync-codeceptjs-docs.mjs from codeceptjs/CodeceptJS@4.x. Do not edit. -->
55
CodeceptJS 4.x is a major release. It moves the codebase from CommonJS to native ESM, drops several long-deprecated helpers and plugins, replaces legacy plugins with first-class APIs, and bumps most third-party dependencies.
66

7-
> Migrate automatically! Install CodeceptJS skills `npx skills add codeceptjs/skills` and run `/codeceptjs-3-to-4-migration` in your coding agent
7+
## Migrate Automatically with an Agent
88

9-
This guide tells you exactly what to change in your project to upgrade.
9+
The fastest way to upgrade is to let an AI agent do it. This release is mechanical enough that an agent handles most of it end-to-end.
10+
11+
Install CodeceptJS 4:
12+
13+
```bash
14+
npm install codeceptjs@4
15+
```
16+
17+
Then install the skills bundle. It works the same in Claude Code or any other agent:
18+
19+
```bash
20+
npx skills add codeceptjs/skills
21+
```
22+
23+
The bundle ships a `migrate-codeceptjs-4` skill. Point an agent at the project and run it:
24+
25+
```bash
26+
claude "/migrate-codeceptjs-4"
27+
```
28+
29+
It reads your config and tests, applies the mechanical changes, runs the suite, and fixes what breaks.
30+
31+
The rest of this guide documents every change the skill makes — read it if you prefer to migrate by hand, or to review what the agent did.
1032

1133
## 1. Update Node and Package
1234

0 commit comments

Comments
 (0)