Skip to content

Commit

Permalink
fix: add kirby composer installer
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Oct 30, 2024
1 parent f6e7580 commit e8fd3fd
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 9 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
}
},
"require": {
"php": ">=8.2.0"
"php": ">=8.2.0",
"getkirby/composer-installer": "^1.2"
},
"scripts": {
"test": "vendor/bin/phpunit --testdox --colors=always",
Expand All @@ -36,4 +37,4 @@
"composer install --no-dev --optimize-autoloader"
]
}
}
}
52 changes: 50 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vendor/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@

return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'Kirby\\ComposerInstaller\\CmsInstaller' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/CmsInstaller.php',
'Kirby\\ComposerInstaller\\Installer' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/Installer.php',
'Kirby\\ComposerInstaller\\Plugin' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/Plugin.php',
'Kirby\\ComposerInstaller\\PluginInstaller' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/PluginInstaller.php',
);
1 change: 1 addition & 0 deletions vendor/composer/autoload_psr4.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@

return array(
'mauricerenck\\OgImage\\' => array($baseDir . '/lib'),
'Kirby\\' => array($vendorDir . '/getkirby/composer-installer/src'),
);
12 changes: 12 additions & 0 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,29 @@ class ComposerStaticInit43e4bf87f07fe85c472d97f0aae0c9b8
array (
'mauricerenck\\OgImage\\' => 21,
),
'K' =>
array (
'Kirby\\' => 6,
),
);

public static $prefixDirsPsr4 = array (
'mauricerenck\\OgImage\\' =>
array (
0 => __DIR__ . '/../..' . '/lib',
),
'Kirby\\' =>
array (
0 => __DIR__ . '/..' . '/getkirby/composer-installer/src',
),
);

public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'Kirby\\ComposerInstaller\\CmsInstaller' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/CmsInstaller.php',
'Kirby\\ComposerInstaller\\Installer' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/Installer.php',
'Kirby\\ComposerInstaller\\Plugin' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/Plugin.php',
'Kirby\\ComposerInstaller\\PluginInstaller' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/PluginInstaller.php',
);

public static function getInitializer(ClassLoader $loader)
Expand Down
19 changes: 14 additions & 5 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
<?php return array(
'root' => array(
'name' => 'mauricerenck/ogimage',
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'pretty_version' => '1.1.0',
'version' => '1.1.0.0',
'reference' => NULL,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev' => false,
'dev' => true,
),
'versions' => array(
'getkirby/composer-installer' => array(
'pretty_version' => '1.2.1',
'version' => '1.2.1.0',
'reference' => 'c98ece30bfba45be7ce457e1102d1b169d922f3d',
'type' => 'composer-plugin',
'install_path' => __DIR__ . '/../getkirby/composer-installer',
'aliases' => array(),
'dev_requirement' => false,
),
'mauricerenck/ogimage' => array(
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'pretty_version' => '1.1.0',
'version' => '1.1.0.0',
'reference' => NULL,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
Expand Down

0 comments on commit e8fd3fd

Please sign in to comment.