Skip to content

Commit

Permalink
Add arm.php
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Jul 17, 2024
1 parent 0d5927a commit 6eed1dd
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions arm.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php

declare(strict_types=1);

use Ghostwriter\Arm\Configuration;
use Ghostwriter\Arm\Task\AddToGitIgnore;
use Ghostwriter\Arm\Task\RemoveDirectory;
use Ghostwriter\Arm\Task\RemoveFile;
use Ghostwriter\Arm\Task\ReplaceInFile;
use Ghostwriter\Arm\Task\UpdateComposerDevPackageVersion;
use Ghostwriter\Arm\Task\UpdateComposerPackageVersion;
use Ghostwriter\Arm\Task\UpdateNpmPackageVersion;

return Configuration::new()
->owners('ActionableSteps', 'BMHVillage', 'codepoet', 'ghostwriter', 'laminas', 'mezzio', 'mockery', 'nathane')
->repositories('CollectiveUnconscious/gist-blog')
->skip('ghostwriter/compliance', 'mockery/mockery')
->skipTopics('security-only', 'security-updates-only')
->tasks([
AddToGitIgnore::class => ['!.gitkeep', '.cache/', '.env', 'node_modules/', 'vendor/'],
RemoveFile::class => ['file.txt'],
RemoveDirectory::class => ['directory'],
ReplaceInFile::class => [
'.gitignore' => [
'search' => 'replace',
'#regex-search#' => 'regex-replace',
],
'LICENSE' => [
'#Copyright \(c\) (.*?), Nathanael Esayeas#' => 'Copyright (c) 2014-2024, Nathanael Esayeas',
],
],
UpdateComposerPackageVersion::class => [
'php' => '>=8.3',
'ghostwriter/event-dispatcher' => '^5.0.1',
'ghostwriter/container' => '^4.0.1',
],
UpdateComposerDevPackageVersion::class => [
'ghostwriter/coding-standard' => 'dev-main',
],
UpdateNpmPackageVersion::class => [
'axios' => '1.7.2',
],
]);

0 comments on commit 6eed1dd

Please sign in to comment.