Grunt Drupal Tasks Versions Save

Grunt-based build and testing tasks for Drupal

v1.1.0

6 years ago

Thanks to @markdboyd, @jhedstrom, @csegarra, @scottalan, and @spacepants for contributing.

Changes

  • Drush 9 Compatibility: Only pass dbUrl to Drush if set. (#342)
  • For Drupal 8 packaging, loading composer.json from repo root. (#331)
  • Fixed githook configuration. (#321, #344)
  • Fix Behat failures: Add conflict with behat >= v3.4 (#343)
  • Fix eslint error in test regex. (#317)
  • Correct path of the config.serve.concurrent configuration (#334)
  • Use absolute path to HTML build directory. (#325)
  • expose eslint/phpcs report format option (#310)

Project Plumbing

  • Added Greenkeeper for automated dependency update management.
  • Added Docker-based local development & testing environment.
  • Add mailmap for contributor aliasing.
  • Ignore build byproducts in examples directory.
  • Ignore the .idea directory for phpstorm (#329)
  • Minor tweaks to Travis testing.
  • Re-sequenced README badges

v1.0.0

7 years ago

Since v1.0.0-rc1

  • No changes since the v1.0.0-rc1 pre-release.

Since v1.0.0-alpha4

  • Adding scaffold step to ensure the profiles, modules, and libraries directories are created within the build output.
  • By default, exclude bower_components and node_modules paths from phpmd.
  • Fixed task error if phpcsConfig and eslintConfig are not defined.
  • Setting up generated documentation site, and documentation updates.
  • Removing Travis test coverage for Node.js v5.

Since v1.0.0-alpha3

  • Adding support to configure the packaging task's output location of the docroot and vendor directories for Drupal 8 projects using Composer.

Since v1.0.0-alpha2

  • Fixed missing composer:drupal-scaffold command error.
  • Fixed eslint installation issue.

Since v1.0.0-alpha1

  • Fixed regression issue for projects using Composer but not drupal-scaffold.
  • For Composer installs, rebuild package output to exclude dev dependencies.
  • Extended default PHPCS configuration to validate YAML files.
  • Removed deprecated code and documentation.
  • Updated dependencies.

Since v0.11.1

  • Dropped support for Node.js v0.12 and earlier and PHP v5.4 and earlier.
  • Added support for a Composer build process for Drupal 8.
  • Removed built-in support for Compass theme compilation and Ruby bundle installation.
  • Added configuration for the Behat binary path. Add default configuration for the paths of the phpcs, phpmd, and Drush binaries. Changed configuration key from drush.cmd to drush.path for consistency.
  • Minor code refactoring and adopting code style standard.
  • Updated dependencies.

Upgrade Notes

  • Node.js v4 or later is required. Grunt Drupal Tasks is now compatible with Node.js v4 and v6.
  • PHP v5.5 or later is required.
  • Use of the built-in Compass theme compilation steps must be replaced by custom handling at the project- or theme-level.
  • Change the Gruntconfig.json configuration key cmd under drush to path, or if using the default path of vendor/bin/drush, remove the setting entirely.

v1.0.0-rc1

7 years ago

Since v1.0.0-alpha4

  • Adding scaffold step to ensure the profiles, modules, and libraries directories are created within the build output.
  • By default, exclude bower_components and node_modules paths from phpmd.
  • Fixed task error if phpcsConfig and eslintConfig are not defined.
  • Setting up generated documentation site, and documentation updates.
  • Removing Travis test coverage for Node.js v5.

Since v1.0.0-alpha3

  • Adding support to configure the packaging task's output location of the docroot and vendor directories for Drupal 8 projects using Composer.

Since v1.0.0-alpha2

  • Fixed missing composer:drupal-scaffold command error.
  • Fixed eslint installation issue.

Since v1.0.0-alpha1

  • Fixed regression issue for projects using Composer but not drupal-scaffold.
  • For Composer installs, rebuild package output to exclude dev dependencies.
  • Extended default PHPCS configuration to validate YAML files.
  • Removed deprecated code and documentation.
  • Updated dependencies.

Since v0.11.1

  • Dropped support for Node.js v0.12 and earlier and PHP v5.4 and earlier.
  • Added support for a Composer build process for Drupal 8.
  • Removed built-in support for Compass theme compilation and Ruby bundle installation.
  • Added configuration for the Behat binary path. Add default configuration for the paths of the phpcs, phpmd, and Drush binaries. Changed configuration key from drush.cmd to drush.path for consistency.
  • Minor code refactoring and adopting code style standard.
  • Updated dependencies.

Upgrade Notes

  • Node.js v4 or later is required. Grunt Drupal Tasks is now compatible with Node.js v4 and v6.
  • PHP v5.5 or later is required.
  • Use of the built-in Compass theme compilation steps must be replaced by custom handling at the project- or theme-level.
  • Change the Gruntconfig.json configuration key cmd under drush to path, or if using the default path of vendor/bin/drush, remove the setting entirely.

v1.0.0-alpha4

7 years ago

Since v1.0.0-alpha3

  • Adding support to configure the packaging task's output location of the docroot and vendor directories for Drupal 8 projects using Composer.

Since v1.0.0-alpha2

  • Fixed missing composer:drupal-scaffold command error.
  • Fixed eslint installation issue.

Since v1.0.0-alpha1

  • Fixed regression issue for projects using Composer but not drupal-scaffold.
  • For Composer installs, rebuild package output to exclude dev dependencies.
  • Extended default PHPCS configuration to validate YAML files.
  • Removed deprecated code and documentation.
  • Updated dependencies.

Since v0.11.1

  • Dropped support for Node.js v0.12 and earlier and PHP v5.4 and earlier.
  • Added support for a Composer build process for Drupal 8.
  • Removed built-in support for Compass theme compilation and Ruby bundle installation.
  • Added configuration for the Behat binary path. Add default configuration for the paths of the phpcs, phpmd, and Drush binaries. Changed configuration key from drush.cmd to drush.path for consistency.
  • Minor code refactoring and adopting code style standard.
  • Updated dependencies.

Upgrade Notes

  • Node.js v4 or later is required. Grunt Drupal Tasks is now compatible with Node.js v5.
  • PHP v5.5 or later is required.
  • Use of the built-in Compass theme compilation steps must be replaced by custom handling at the project- or theme-level.
  • Change the Gruntconfig.json configuration key cmd under drush to path, or if using the default path of vendor/bin/drush, remove the setting entirely.

v1.0.0-alpha3

7 years ago

Since v1.0.0-alpha2

  • Fixed missing composer:drupal-scaffold command error.
  • Fixed eslint installation issue.

Since v1.0.0-alpha1

  • Fixed regression issue for projects using Composer but not drupal-scaffold.
  • For Composer installs, rebuild package output to exclude dev dependencies.
  • Extended default PHPCS configuration to validate YAML files.
  • Removed deprecated code and documentation.
  • Updated dependencies.

Since v0.11.1

  • Dropped support for Node.js v0.12 and earlier and PHP v5.4 and earlier.
  • Added support for a Composer build process for Drupal 8.
  • Removed built-in support for Compass theme compilation and Ruby bundle installation.
  • Added configuration for the Behat binary path. Add default configuration for the paths of the phpcs, phpmd, and Drush binaries. Changed configuration key from drush.cmd to drush.path for consistency.
  • Minor code refactoring and adopting code style standard.
  • Updated dependencies.

Upgrade Notes

  • Node.js v4 or later is required. Grunt Drupal Tasks is now compatible with Node.js v5.
  • PHP v5.5 or later is required.
  • Use of the built-in Compass theme compilation steps must be replaced by custom handling at the project- or theme-level.
  • Change the Gruntconfig.json configuration key cmd under drush to path, or if using the default path of vendor/bin/drush, remove the setting entirely.

v1.0.0-alpha2

7 years ago

Since v1.0.0-alpha1

  • Fixed regression issue for projects using Composer but not drupal-scaffold.
  • For Composer installs, rebuild package output to exclude dev dependencies.
  • Extended default PHPCS configuration to validate YAML files.
  • Removed deprecated code and documentation.
  • Updated dependencies.

Since v0.11.1

  • Dropped support for Node.js v0.12 and earlier and PHP v5.4 and earlier.
  • Added support for a Composer build process for Drupal 8.
  • Removed built-in support for Compass theme compilation and Ruby bundle installation.
  • Added configuration for the Behat binary path. Add default configuration for the paths of the phpcs, phpmd, and Drush binaries. Changed configuration key from drush.cmd to drush.path for consistency.
  • Minor code refactoring and adopting code style standard.
  • Updated dependencies.

Upgrade Notes

  • Node.js v4 or later is required. Grunt Drupal Tasks is now compatible with Node.js v5.
  • PHP v5.5 or later is required.
  • Use of the built-in Compass theme compilation steps must be replaced by custom handling at the project- or theme-level.
  • Change the Gruntconfig.json configuration key cmd under drush to path, or if using the default path of vendor/bin/drush, remove the setting entirely.

v1.0.0-alpha1

7 years ago
  • Dropped support for Node.js v0.12 and earlier and PHP v5.4 and earlier.
  • Added support for a Composer build process for Drupal 8. WARNING: Requires specially configured composer.json as seen in https://github.com/phase2/generator-gadget/pull/66
  • Removed built-in support for Compass theme compilation and Ruby bundle installation.
  • Added configuration for the Behat binary path. Add default configuration for the paths of the phpcs, phpmd, and Drush binaries. Changed configuration key from drush.cmd to drush.path for consistency.
  • Minor code refactoring and adopting code style standard.
  • Updated dependencies.

Upgrade Notes

  • Node.js v4 or later is required. Grunt Drupal Tasks is now compatible with Node.js v5.
  • PHP v5.5 or later is required.
  • Use of the built-in Compass theme compilation steps must be replaced by custom handling at the project- or theme-level.
  • Change the Gruntconfig.json configuration key cmd under drush to path, or if using the default path of vendor/bin/drush, remove the setting entirely.

v0.11.1

8 years ago
  • Fixed grunt package regression that excluded custom code from the packaged outputs.

v0.11.0

8 years ago
  • Updated example to use Grunt v1.x. Resolved peer dependency compatibility issues with dependencies.
  • Adding default options to use with composer install to improve performance and cacheability.
  • Added support for processing *.make.yml as Drush make files.
  • Fixed issue on Windows where copy:tempbuild was never called.
  • Updated dependencies in example project and for the plugin itself.

Upgrade Notes

  • Grunt should be a dependency in the package.json file of projects that use Grunt Drupal Tasks. It is recommended to update this to use Grunt ^1.0.0. If projects include any dependency that specifies Grunt as a peer dependency and is limited to version < 0.5, then you may encounter an incompatible peer dependency error when running npm install. The recommended solution is to upgrade dependencies to versions that are compatible with Grunt v1.x.

v0.5.0

8 years ago
  • Moving main Grunt Drupal Tasks library code from Gruntfile.js to bootstrap.js
  • Adding integration with OS notification features with grunt-notify
  • Adding documentation for use with a continuous integration system
  • Wrapping behat task in a test alias and moving Behat-related files into
  • top-level test/ directory to allow for multiple testing methods
  • Adding Zombie.js and Behat support for JavaScript testing
  • Replacing grunt-parallel with grunt-concurrent
  • Many dependency updates
  • Other minor improvements

Upgrade Notes

  • Change your project's Gruntfile.js to include grunt-drupal-tasks using require('grunt-drupal-tasks')(grunt); instead of require('grunt-drupal-tasks/Gruntfile')(grunt);
  • By default, Behat expects test features and the behat.yml inside a top-level test/ directory. You can either update your project structure by moving behat.yml and the features directory under test/, or you may continue to use the old structure by providing a config and src option for any configured sites. For example:
  "behat": {
    "default": {
      "config": "./behat.yml",
      "src": "./features/**/*.feature"
    }
  }
  • Custom tasks that execute steps in parallel should be updated to use the grunt-concurrent plugin. See grunt-drupal-tasks/tasks/behat.js for an example.
  • See the example composer.json for updated dependency versions, which you can manually apply to your project.