MITLibraries / MITlibraries-parent

The parent theme for MIT Libraries on WordPress
https://libraries.mit.edu
GNU General Public License v3.0
1 stars 3 forks source link

Add Composer #315

Closed matt-bernhardt closed 4 years ago

matt-bernhardt commented 4 years ago

Status

Use labels (review needed, in progress, or paused) to declare status

What does this PR do?

This adds a blank composer.json file to the parent theme, which accomplishes a few goals:

This also ignores the vendor/ directory, into which Composer will load any required libraries.

Helpful background context (if appropriate)

This is part of the work to make our theme's able to be used on Pantheon, and generally more in line with PHP development practices beyond the WordPress community.

How can a reviewer manually see the effects of these changes?

At this point, this PR doesn't have any visible changes, except for the ability to include the theme under a Pantheon-managed site.

What are the relevant tickets?

Todo:

Requires new or updated plugins, themes, or libraries?

NO - not yet.

Requires change to deploy process?

NO - not yet.