
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
generator-outrigger-drupal
Advanced tools
Yeoman generator that weaves together Outrigger with other best-in-class tools for your Drupal project.
This project is mostly generic, but has some remaining pieces related to Phase2-specific development environment hosting.
This is an umbrella Yeoman generator that asks questions, then passes the answers to multiple "child" generators that handle their own aspect of project scaffolding. As the name implies, this generator focuses on Outrigger practices, where some of the other generators in use are focused on broader industry best practices.
Docker-based usage is available as of v3.0.0. It is the recommended approach as updates tend to be less prone to complication.
git clone git@github.com:phase2/generator-outrigger-drupal.git
cd generator-outrigger-drupal
git checkout v3.3.1
docker-compose run --rm cli npm install
mkdir ~/path/to/empty/directory
YO_PROJECT_DIRECTORY=~/path/to/empty/directory docker-compose run --rm yo outrigger-drupal
npm install -g generator-outrigger-drupal
mkdir ~/path/to/empty/directory
cd ~/path/to/empty/directory
yo outrigger-drupal
--replay: Re-run the generator against an existing project, using previously
entered answers.--use-master: Will make a point of leveraging the master version of
grunt-drupal-tasks.--skip-install: Will skip running npm install at the end of the
generation process. (Applied by default when you opt-in for the
Docker-based Outrigger Environment.)Once Yeoman has been started, you will be prompted to answer six to a dozen questions about your project. These questions are used by the generator to select templates, create variables for use in the templates, and further execute any code or customizations on top of the templated scaffolding.
Please read the output at the end of the generator run, it has instructions on next steps.
When you use this to generate a project, all your answers are recorded by Yeoman
in a .yo-rc.json file at the root of your repository. As long as you commit this
to the codebase, from then if you run the generator targeting that directory it
will use the previous answers as the defaults to every prompt. For even faster
usage, you can run yo outrigger-drupal --replay and it will automatically run
the generator without stopping to ask old questions.
If you run the generator, it will overwrite files. That's the idea in this case,
as your goal is to cherrypick good new stuff the generator provides into your
project. Run git add -p . to view each change one chunk at a time, and decide
if it makes sense to discard or keep. Feel free to ask for help.
The extensive CHANGELOG notes are intended to help guide this process.
If you have an existing project and want to retrofit it to use the scaffolding and tools this generator provides, there is no magical solution.
Read the generated TODOS.md file. Remove things as you work through mastering and running your vanilla Drupal system for the first time.
If you are not using the Docker-based development environment, you can get your
codebase built by running grunt. From there you are on your own.
If you are using the Docker-based development environment, run ./bin/start.sh
and your site will be built and a new site installed.
Grunt Drupal Tasks manages backend development, continuous integration, and overall project tooling for the Drupal application.
A best practice setup of GDT with a few extra goodies are provided by Yo Outrigger Drupal's use of Generator Gadget to produce the top-level Drupal application scaffolding.
[Pattern Lab Starter](Pattern Lab Starter) is used to provide an optional Drupal theme with Pattern Lab for collaborative, design-driven development.
This is set up by Generator PLS.
Grunt Drupal Tasks manages theme compilation via the Theme Scripts of GDT
so a full site compile can happen by running the project's default build task: grunt.
We integrate with Outrigger (now http://outrigger.sh) to provide a quick, consistent, container-based, local development environment that can also be used on Phase2's centralized Outrigger hosting to provide integration, testing, and other environments.
This uses a sub-generator of generator-outrigger-drupal which can be separately executed as yo outrigger-drupal:environment.
docker-compose.yml which provides Docker configuration for the "operational"
services needed to run your Drupal site locally.
build.yml which provides tailored use of the Outrigger Build container.
If you liked the Docker-based environments, you can also use our Docker-based Jenkins instance to manage your central test environments, complete with default jobs so you can start continuous integration with zero further configuration.
This uses a sub-generator of generator-outrigger-drupal which can be separately executed as yo outrigger-drupal:jenkins.
v3.3.1 (June 23, 2017)
FAQs
Yeoman Generator for Outrigger-based Drupal projects.
We found that generator-outrigger-drupal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.