diff --git a/composer.json b/composer.json index 3dcb146..4252bd1 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,7 @@ }, "require": { "composer-plugin-api": "^2.3", + "picocms/pico": "*", "topfloor/composer-cleanup-vcs-dirs": "^1.1" }, "replace": { diff --git a/src/ParentPlugin.php b/src/ParentPlugin.php new file mode 100644 index 0000000..df0598a --- /dev/null +++ b/src/ParentPlugin.php @@ -0,0 +1,52 @@ +composer = $composer; $this->io = $io; + if (!self::IS_TOP_FLOOR_PLUGIN){ + // do nothing + return ; + } $this->handler = new Handler($composer, $io); try { list('config' => $config,'path' => $path) = $this->getConfigJsonFile();