@webship-js/codeigniter-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
|
@@ -31,7 +31,7 @@ that must fail and the development lane; see
|
|
|
31
31
|
|
|
32
32
|
## From nothing to a green run
|
|
33
33
|
|
|
34
|
-
What the machine needs: Docker, [DDEV](https://ddev.com), git, python3, and Node.js
|
|
34
|
+
What the machine needs: Docker, [DDEV](https://ddev.com), git, python3, and Node.js 24 or later with npm. PHP, Composer and the database run in DDEV's containers.
|
|
35
35
|
|
|
36
36
|
**1. The app.** The pack's own build script (the one CI runs) makes a new app in a DDEV project (type `php`, docroot `public`) with Composer: the app starter (`composer create-project codeigniter4/appstarter`), then the auth library (`composer require codeigniter4/shield` and its own `spark shield:setup`). It turns on CSRF protection for every form, adds four pages (see [A test app](#a-test-app)), creates the accounts of [Test users](#test-users), and runs the app as a live app runs (`CI_ENVIRONMENT = production`). It takes about a minute.
|
|
37
37
|
|
|
@@ -155,7 +155,7 @@ Not tested: completing a registration (the suite never creates an account), the
|
|
|
155
155
|
|
|
156
156
|
## Requirements
|
|
157
157
|
|
|
158
|
-
- Node.js
|
|
158
|
+
- Node.js 24 or later
|
|
159
159
|
- A webship-js 2.0 test project (webship-js 2.0.16 or later)
|
|
160
160
|
- An app made from the official app starter with the official auth library, and accounts on it for the suite
|
|
161
161
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webship-js/codeigniter-steps",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Cucumber step definitions for apps made from the official app starter with the official auth library, a plugin for webship-js (Playwright and Cucumber): the session and the login link through the mail, remembering a login, registration refusals, groups and permissions, error and success messages, the welcome page, the error pages, the CSRF refusal, and the debug toolbar and debug page checks.",
|
|
5
5
|
"main": "tests/step-definitions/codeigniter-session.steps.js",
|
|
6
6
|
"files": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
|
-
"node": ">=
|
|
52
|
+
"node": ">= 24.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"webship-js": "^2.0.16"
|