Gherkin Script
No security coverage
Provides a media entity of type gherkin to add internal gherkin script with field type widget and formatter.
1. Change the following in the root composer.json file:
Change
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
To
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"assets": {
"type": "composer",
"url": "https://asset-packagist.org"
}
},
2. Add the installer-paths for ACE in libraries
Change
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library"
],
To
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/ace": ["npm-asset/ace-builds"],
"web/libraries/{$name}": [
"type:drupal-library",
"type:bower-asset",
"type:npm-asset"
],
3. Add the following installer-types and drupal-libraries
"installer-types": [
"bower-asset",
"npm-asset"
],
"drupal-libraries": {
"library-directory": "web/libraries",
"libraries": [
{"name": "ace", "package": "npm-asset/ace-builds"}
]
},
4. Run the following composer require command
composer require 'drupal/gherkin:~1.0'
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.2 | Stable | Jan 4, 2025 |