acromedia / drupal-scaffold
Provides a development environment compatible with Acro Standards
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:local-dev
This package is auto-updated.
Last update: 2024-10-29 05:47:23 UTC
README
This package aims to be all you need to meet full Acro Standards development specifications on your project.
INSTALLATION
Composer
-
You will need to specifically allow non-standard scaffold packages. Add the following to your composer.json
"extra": { "drupal-scaffold": { "allowed-packages": [ "acromedia/drupal-scaffold" ], "locations": { "web-root": "./web", "project-root": "." } } }
-
Use composer to add package as a dev dependency
composer require acromedia/drupal-scaffold --dev
-
(Optional) Setup your project name
inv setname
This will set the correct project name in the lando and phpunit config, otherwise you will have to do so manually
Overridding
Invoke
This package provides standard tasks but you can also provide your own. It is recommended to provide your own additional tasks as opposed to overriding the existing tasks. Since everything is python based, you can also call on individual functions.
Lando
This package provides a .lando.base.yml
with a standard Drupal setup, you should provide your specific customization in a .lando.yml
file and commit that to your project. If you wish to have specific config only to you, you can provide a .lando.local.yml
file.
NPM/Yarn - Package.json
NPM does not have any mechanism for base files or overrides. This package provides package.json changes as appends, to hopefully work with your existing files, but you may have to manually merge changes.
Composer
Like NPM, composer doesn't have any mechanism for base files, so the same append workflow is used.