Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drupalwxt/site-wxt

An example composer project for the Drupal WxT distribution used for integration testing.
https://github.com/drupalwxt/site-wxt

composer-project drupal drupal-project wxt

Last synced: 4 days ago
JSON representation

An example composer project for the Drupal WxT distribution used for integration testing.

Awesome Lists containing this project

README

        

# Composer Project template for Drupal WxT

[![Build Status][githubci-badge]][githubci]

An example composer project for the [Drupal WxT][wxt] distribution.

> **Note**: You should consult the [README.md][wxt] file in the WxT repository for up-to-date information.

## Requirements

- [Composer][composer]
- [Node][node]

## Setup

Normally you can simply run a `composer install` but at the moment you might need to run the following:

```sh
export COMPOSER_MEMORY_LIMIT=-1 && composer install
```

## Dependencies

The `composer.json` file calls the following dependencies:

- [WxT][wxt]

The [Drupal WxT][wxt] distribution is a web content management system which assists in building and maintaining innovative Web sites that are accessible, usable, and interoperable.

This distribution is open source software and free for use by departments and external Web communities. This distribution integrates extensively with the WET-BOEW jQuery Framework for improved accessible markup.

## Project

This composer-project was initially created by our Composer Project Template for Drupal:

- [Composer Project Template][wxt-project]

The following is the command that was used for initial generation:

```sh
composer create-project drupalwxt/site-wxt:5.2.x-dev site-wxt
```

> **Note**: Normally you might want to use a stable tag such as `drupalwxt/site-wxt:5.2.x-dev`.

## Maintenance

List of common commands are as follows:

| Task | Composer |
| ------------------------------------------- | ------------------------------------------------ |
| Latest version of a contributed project | `composer require drupal/PROJECT_NAME:1.*` |
| Specific version of a contributed project | `composer require drupal/PROJECT_NAME:1.0-beta5` |
| Updating all projects including Drupal Core | `composer update` |
| Updating a single contributed project | `composer update drupal/PROJECT_NAME` |
| Updating Drupal Core exclusively | `composer update drupal/core` |

## Acknowledgements

Extended with code and lessons learned by the [Acquia Team](https://acquia.com) over at [Lightning](https://github.com/acquia/lightning) and [BLT](https://github.com/acquia/blt).

[composer]: https://getcomposer.org
[docker-scaffold]: https://github.com/drupalwxt/docker-scaffold.git
[githubci]: https://github.com/drupalwxt/site-wxt/actions
[githubci-badge]: https://github.com/drupalwxt/site-wxt/workflows/build/badge.svg
[node]: https://nodejs.org
[wxt]: https://github.com/drupalwxt/wxt
[wxt-project]: https://github.com/drupalwxt/wxt-project