codeceptjs 4.0.5 → 4.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,9 +7,31 @@ title: Migrating from 3.x to 4.x
7
7
 
8
8
  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.
9
9
 
10
- > Migrate automatically! Install CodeceptJS skills `npx skills add codeceptjs/skills` and run `/codeceptjs-3-to-4-migration` in your coding agent
10
+ ## Migrate Automatically with an Agent
11
11
 
12
- This guide tells you exactly what to change in your project to upgrade.
12
+ 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.
13
+
14
+ Install CodeceptJS 4:
15
+
16
+ ```bash
17
+ npm install codeceptjs@4
18
+ ```
19
+
20
+ Then install the skills bundle. It works the same in Claude Code or any other agent:
21
+
22
+ ```bash
23
+ npx skills add codeceptjs/skills
24
+ ```
25
+
26
+ The bundle ships a `migrate-codeceptjs-4` skill. Point an agent at the project and run it:
27
+
28
+ ```bash
29
+ claude "/migrate-codeceptjs-4"
30
+ ```
31
+
32
+ It reads your config and tests, applies the mechanical changes, runs the suite, and fixes what breaks.
33
+
34
+ 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.
13
35
 
14
36
  ## 1. Update Node and Package
15
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeceptjs",
3
- "version": "4.0.5",
3
+ "version": "4.0.6",
4
4
  "type": "module",
5
5
  "description": "Supercharged End 2 End Testing Framework for NodeJS",
6
6
  "keywords": [