@webship-js/nextjs-steps 2.0.0 → 2.0.1
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.
- package/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ pull request, then the assertions that must fail; see
|
|
|
40
40
|
|
|
41
41
|
## From nothing to a green run
|
|
42
42
|
|
|
43
|
-
What the machine needs: Docker, [DDEV](https://ddev.com), git, python3, and Node.js
|
|
43
|
+
What the machine needs: Docker, [DDEV](https://ddev.com), git, python3, and Node.js 24 or later with npm. The app, its Node.js 24 and its PostgreSQL run in DDEV's containers.
|
|
44
44
|
|
|
45
45
|
**1. The app.** The pack's own build script (the one CI runs) makes the app in a DDEV project of type `generic`: the finished app of the official Learn course (a dashboard of invoices and customers with a login), made with `create-next-app` from the course's example, moved to 16.4.6, its database (PostgreSQL 17, in a container of the project) seeded by the course's own seed, then the suite's own test data and the two accounts of [Test users](#test-users), then built for production and served by the web container. It takes about two minutes.
|
|
46
46
|
|
|
@@ -188,7 +188,7 @@ Not tested: the framework's own tests (it has its own); the app's own business l
|
|
|
188
188
|
|
|
189
189
|
## Requirements
|
|
190
190
|
|
|
191
|
-
- Node.js
|
|
191
|
+
- Node.js 24 or later
|
|
192
192
|
- A webship-js 2.0 test project (webship-js 2.0.16 or later)
|
|
193
193
|
- An app of the 15.x or 16.x line (proven on 15.5.29 and 16.4.6), served as a production build (the development server for the `@development` steps); for the session steps, a login form and an address that answers with the session (see [Accounts](#accounts))
|
|
194
194
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webship-js/nextjs-steps",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Cucumber step definitions for apps built with Next.js, a plugin for webship-js (Playwright and Cucumber): hydration, client-side navigation and the route announcer, prefetching, streaming and loading states, form actions and their pending states, the not-found and error pages, the image component's lazy and optimized images, static and dynamic pages, the production build and the development error overlay, and a login form with sessions, each step waiting on the framework's own signals, never on a clock.",
|
|
5
5
|
"main": "tests/step-definitions/nextjs-helpers.js",
|
|
6
6
|
"files": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
|
-
"node": ">=
|
|
54
|
+
"node": ">= 24.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"webship-js": "^2.0.16"
|