@@ -3,7 +3,9 @@ deploy/
twentynineteen/
theme-dev-utils/
theme-dev-utils
-# vendor/
+vendor/
+# Don't ignore blockbase/vendor, which has package code needed by the theme
+!blockbase/vendor
*.DS_Store
*.zip
*.rej
@@ -1,6 +1,6 @@
{
"name": "automattic/blockbase",
- "description": "WordPress theme",
+ "description": "A universal WordPress theme that bridges classic and block-based themes",
"type": "project",
"require": {
"automattic/jetpack-google-fonts-provider": "^0.3.0"
@@ -1,6 +1,7 @@
<?php
// Load Jetpack packages included with theme (Jetpack plugin is not required).
+// Run `composer update --no-dev` to update packages and commit the changes.
require_once 'vendor/autoload.php';
if ( ! function_exists( 'blockbase_support' ) ) :