diff --git a/.github/workflows/release-composer-packages.yml b/.github/workflows/release-composer-packages.yml new file mode 100644 index 00000000..56aa0007 --- /dev/null +++ b/.github/workflows/release-composer-packages.yml @@ -0,0 +1,66 @@ +name: Monorepo Release + +on: + workflow_dispatch: + inputs: + bump: + description: 'Version bump type (patch, minor, major)' + required: true + default: 'patch' + type: choice + options: + - patch + - minor + - major + +jobs: + monorepo-release: + runs-on: ubuntu-latest + environment: composer_deploy + permissions: + contents: write + + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set up PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.0' + + - name: Install Composer dependencies + run: composer install --no-interaction --prefer-dist + + - name: Configure Git user + run: | + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + + - name: Run MonorepoBuilder release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + vendor/bin/monorepo-builder release ${{ github.event.inputs.bump }} --no-interaction --push-tags + + - name: Ensure GitHub CLI and jq are installed + run: | + if ! command -v gh >/dev/null 2>&1; then + sudo apt-get update + sudo apt-get install -y gh jq + else + gh --version + jq --version || (sudo apt-get update && sudo apt-get install -y jq) + fi + + - name: Split code into component repositories + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + PACKAGIST_USERNAME: ${{ secrets.PACKAGIST_USERNAME }} + PACKAGIST_TOKEN: ${{ secrets.PACKAGIST_TOKEN }} + GH_ORG: ${{ secrets.GH_ORG }} + DEFAULT_BRANCH: trunk + run: bash bin/split-code.sh + diff --git a/components/Blueprints/vendor-patched/log/composer.json b/components/Blueprints/vendor-patched/log/composer.json deleted file mode 100644 index ca056953..00000000 --- a/components/Blueprints/vendor-patched/log/composer.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "psr/log", - "description": "Common interface for logging libraries", - "keywords": ["psr", "psr-3", "log"], - "homepage": "https://github.com/php-fig/log", - "license": "MIT", - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "require": { - "php": ">=5.3.0" - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } - }, - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } - } -} diff --git a/components/Blueprints/vendor-patched/symfony/event-dispatcher/composer.json b/components/Blueprints/vendor-patched/symfony/event-dispatcher/composer.json deleted file mode 100644 index e6f97172..00000000 --- a/components/Blueprints/vendor-patched/symfony/event-dispatcher/composer.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "symfony/event-dispatcher", - "type": "library", - "description": "Symfony EventDispatcher Component", - "keywords": [], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "symfony/dependency-injection": "~3.3", - "symfony/expression-language": "~2.8|~3.0", - "symfony/config": "~2.8|~3.0", - "symfony/stopwatch": "~2.8|~3.0", - "psr/log": "~1.0" - }, - "conflict": { - "symfony/dependency-injection": "<3.3" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/components/Blueprints/vendor-patched/symfony/process/composer.json b/components/Blueprints/vendor-patched/symfony/process/composer.json deleted file mode 100644 index ef4efbe8..00000000 --- a/components/Blueprints/vendor-patched/symfony/process/composer.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "symfony/process", - "type": "library", - "description": "Symfony Process Component", - "keywords": [], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=5.5.9" - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Process\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/components/DataLiberation/vendor-patched/brick/math/composer.json b/components/DataLiberation/vendor-patched/brick/math/composer.json deleted file mode 100644 index 0fd12896..00000000 --- a/components/DataLiberation/vendor-patched/brick/math/composer.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "brick/math", - "description": "Arbitrary-precision arithmetic library", - "type": "library", - "keywords": [ - "Brick", - "Math", - "Mathematics", - "Arbitrary-precision", - "Arithmetic", - "BigInteger", - "BigDecimal", - "BigRational", - "BigNumber", - "Bignum", - "Decimal", - "Rational", - "Integer" - ], - "license": "MIT", - "require": { - "php": "^7.2" - }, - "require-dev": { - "phpunit/phpunit": "^10.1", - "php-coveralls/php-coveralls": "^2.2", - "vimeo/psalm": "5.25.0" - }, - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Brick\\Math\\Tests\\": "tests/" - } - } -} diff --git a/components/DataLiberation/vendor-patched/psr/event-dispatcher/composer.json b/components/DataLiberation/vendor-patched/psr/event-dispatcher/composer.json deleted file mode 100644 index 2e69905f..00000000 --- a/components/DataLiberation/vendor-patched/psr/event-dispatcher/composer.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "psr/event-dispatcher", - "description": "Standard interfaces for event handling.", - "type": "library", - "keywords": [ - "psr", - "psr-14", - "events" - ], - "license": "MIT", - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "require": { - "php": ">=7.2.0" - }, - "autoload": { - "psr-4": { - "Psr\\EventDispatcher\\": "src" - } - }, - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - } -} diff --git a/components/DataLiberation/vendor-patched/psr/log/composer.json b/components/DataLiberation/vendor-patched/psr/log/composer.json deleted file mode 100644 index 37c0ce28..00000000 --- a/components/DataLiberation/vendor-patched/psr/log/composer.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "psr/log", - "description": "Common interface for logging libraries", - "keywords": [ - "psr", - "psr-3", - "log" - ], - "homepage": "https://github.com/php-fig/log", - "license": "MIT", - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "require": { - "php": ">=8.0.0" - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - } -} diff --git a/components/DataLiberation/vendor-patched/rowbot/idna/composer.json b/components/DataLiberation/vendor-patched/rowbot/idna/composer.json deleted file mode 100755 index 35dc5dd4..00000000 --- a/components/DataLiberation/vendor-patched/rowbot/idna/composer.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "rowbot/idna", - "description": "An implementation of UTS#46 Unicode IDNA Compatibility Processing.", - "keywords": [ - "idna", - "unicode", - "tr46", - "international domain names", - "uts46", - "iri", - "idn" - ], - "type": "library", - "license": "MIT", - "authors": [ - { - "name": "Trevor Rowbotham" - } - ], - "config": { - "sort-packages": true - }, - "autoload": { - "psr-4": { - "Rowbot\\Idna\\": "src/", - "Rowbot\\Idna\\Resource\\": "resources/" - } - }, - "autoload-dev": { - "psr-4": { - "Rowbot\\Idna\\Bin\\": "bin/", - "Rowbot\\Idna\\Test\\": "tests/" - } - }, - "require": { - "php": ">=7.1", - "rowbot/punycode": "^1.0", - "symfony/polyfill-intl-normalizer": "^1.18" - }, - "require-dev": { - "guzzlehttp/guzzle": "^6.5 || ^7.0", - "phpstan/phpstan": "^1.2", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "squizlabs/php_codesniffer": "^3.5.1", - "symfony/cache": "^4.3 || ^5.0" - } -} diff --git a/components/DataLiberation/vendor-patched/rowbot/punycode/composer.json b/components/DataLiberation/vendor-patched/rowbot/punycode/composer.json deleted file mode 100755 index 33704084..00000000 --- a/components/DataLiberation/vendor-patched/rowbot/punycode/composer.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "rowbot/punycode", - "description": "A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA).", - "keywords": [ - "punycode", - "rfc3492", - "rfc-3492" - ], - "type": "library", - "license": "MIT", - "authors": [ - { - "name": "Trevor Rowbotham", - "role": "Developer", - "homepage": "https://trowbotham.com" - } - ], - "config": { - "sort-packages": true - }, - "autoload": { - "psr-4": { - "Rowbot\\Punycode\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Rowbot\\Punycode\\Test\\": "tests/" - } - }, - "require": { - "php": ">=7.1" - }, - "require-dev": { - "ext-mbstring": "*", - "phpstan/phpstan": "^1.2", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "squizlabs/php_codesniffer": "^3.5.1" - } -} diff --git a/components/DataLiberation/vendor-patched/rowbot/url/composer.json b/components/DataLiberation/vendor-patched/rowbot/url/composer.json deleted file mode 100644 index ab6974fe..00000000 --- a/components/DataLiberation/vendor-patched/rowbot/url/composer.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "rowbot/url", - "description": "A WHATWG URL spec compliant URL parser for working with URLs and their query strings.", - "keywords": [ - "url", - "url-parser", - "uri", - "querystring", - "query-string", - "url-parsing", - "whatwg" - ], - "license": "MIT", - "authors": [ - { - "name": "Trevor Rowbotham", - "homepage": "https://trowbotham.com", - "role": "Developer" - } - ], - "require": { - "php": ">=8.1", - "ext-mbstring": "*", - "brick/math": "^0.8.13 || ^0.9", - "psr/log": "^3.0", - "rowbot/idna": "^0.1.5" - }, - "require-dev": { - "guzzlehttp/guzzle": "^7.0", - "phpstan/phpstan": "^1.9", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^10.0 || ^11.0", - "slevomat/coding-standard": "^8.0", - "squizlabs/php_codesniffer": "^3.7.1", - "symfony/cache": "^5.0 || ^6.0" - }, - "autoload": { - "psr-4": { - "Rowbot\\URL\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Rowbot\\URL\\Tests\\": "tests/" - } - }, - "scripts": { - "phpunit": "phpunit --coverage-text", - "test": [ - "@phpunit" - ] - }, - "config": { - "sort-packages": true, - "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true - } - } -} diff --git a/components/DataLiberation/vendor-patched/symfony/deprecation-contracts/composer.json b/components/DataLiberation/vendor-patched/symfony/deprecation-contracts/composer.json deleted file mode 100644 index 0615c601..00000000 --- a/components/DataLiberation/vendor-patched/symfony/deprecation-contracts/composer.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "symfony/deprecation-contracts", - "type": "library", - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=8.1" - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - } -} diff --git a/components/DataLiberation/vendor-patched/symfony/polyfill-ctype/composer.json b/components/DataLiberation/vendor-patched/symfony/polyfill-ctype/composer.json deleted file mode 100644 index 76f93942..00000000 --- a/components/DataLiberation/vendor-patched/symfony/polyfill-ctype/composer.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "symfony/polyfill-ctype", - "type": "library", - "description": "Symfony polyfill for ctype functions", - "keywords": [ - "polyfill", - "compatibility", - "portable", - "ctype" - ], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "minimum-stability": "dev", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/components/DataLiberation/vendor-patched/symfony/polyfill-intl-normalizer/composer.json b/components/DataLiberation/vendor-patched/symfony/polyfill-intl-normalizer/composer.json deleted file mode 100644 index 0c325b0b..00000000 --- a/components/DataLiberation/vendor-patched/symfony/polyfill-intl-normalizer/composer.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "symfony/polyfill-intl-normalizer", - "type": "library", - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "keywords": [ - "polyfill", - "shim", - "compatibility", - "portable", - "intl", - "normalizer" - ], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.2" - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] - }, - "suggest": { - "ext-intl": "For best performance" - }, - "minimum-stability": "dev", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/components/DataLiberation/vendor-patched/symfony/polyfill-php80/composer.json b/components/DataLiberation/vendor-patched/symfony/polyfill-php80/composer.json deleted file mode 100644 index b14a1c9c..00000000 --- a/components/DataLiberation/vendor-patched/symfony/polyfill-php80/composer.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "symfony/polyfill-php80", - "type": "library", - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "keywords": [ - "polyfill", - "shim", - "compatibility", - "portable" - ], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.2" - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] - }, - "minimum-stability": "dev", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/components/Markdown/vendor-patched/dflydev/dot-access-data/composer.json b/components/Markdown/vendor-patched/dflydev/dot-access-data/composer.json deleted file mode 100644 index 12dc7427..00000000 --- a/components/Markdown/vendor-patched/dflydev/dot-access-data/composer.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "dflydev/dot-access-data", - "type": "library", - "description": "Given a deep data structure, access data by dot notation.", - "homepage": "https://github.com/dflydev/dflydev-dot-access-data", - "keywords": [ - "dot", - "access", - "data", - "notation" - ], - "license": "MIT", - "authors": [ - { - "name": "Dragonfly Development Inc.", - "email": "info@dflydev.com", - "homepage": "http://dflydev.com" - }, - { - "name": "Beau Simensen", - "email": "beau@dflydev.com", - "homepage": "http://beausimensen.com" - }, - { - "name": "Carlos Frutos", - "email": "carlos@kiwing.it", - "homepage": "https://github.com/cfrutos" - }, - { - "name": "Colin O'Dell", - "email": "colinodell@gmail.com", - "homepage": "https://www.colinodell.com" - } - ], - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^0.12.42", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", - "scrutinizer/ocular": "1.6.0", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.0.0" - }, - "autoload": { - "psr-4": { - "Dflydev\\DotAccessData\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Dflydev\\DotAccessData\\": "tests/" - } - }, - "extra": { - "branch-alias": { - "dev-main": "3.x-dev" - } - }, - "scripts": { - "phpcs": "phpcs", - "phpstan": "phpstan analyse", - "phpunit": "phpunit --no-coverage", - "psalm": "psalm", - "test": [ - "@phpcs", - "@phpstan", - "@psalm", - "@phpunit" - ] - } -} diff --git a/components/Markdown/vendor-patched/league/commonmark/composer.json b/components/Markdown/vendor-patched/league/commonmark/composer.json deleted file mode 100644 index 07681efd..00000000 --- a/components/Markdown/vendor-patched/league/commonmark/composer.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "name": "league/commonmark", - "type": "library", - "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)", - "keywords": [ - "markdown", - "parser", - "commonmark", - "gfm", - "github", - "flavored", - "github-flavored", - "md" - ], - "homepage": "https://commonmark.thephpleague.com", - "license": "BSD-3-Clause", - "authors": [ - { - "name": "Colin O'Dell", - "email": "colinodell@gmail.com", - "homepage": "https://www.colinodell.com", - "role": "Lead Developer" - } - ], - "support": { - "docs": "https://commonmark.thephpleague.com/", - "forum": "https://github.com/thephpleague/commonmark/discussions", - "issues": "https://github.com/thephpleague/commonmark/issues", - "rss": "https://github.com/thephpleague/commonmark/releases.atom", - "source": "https://github.com/thephpleague/commonmark" - }, - "require": { - "php": "^7.4 || ^8.0", - "ext-mbstring": "*", - "league/config": "^1.1.1", - "psr/event-dispatcher": "^1.0", - "symfony/deprecation-contracts": "^2.1 || ^3.0", - "symfony/polyfill-php80": "^1.16" - }, - "require-dev": { - "ext-json": "*", - "cebe/markdown": "^1.0", - "commonmark/cmark": "0.31.1", - "commonmark/commonmark.js": "0.31.1", - "composer/package-versions-deprecated": "^1.8", - "embed/embed": "^4.4", - "erusev/parsedown": "^1.0", - "github/gfm": "0.29.0", - "michelf/php-markdown": "^1.4 || ^2.0", - "nyholm/psr7": "^1.5", - "phpstan/phpstan": "^1.8.2", - "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", - "scrutinizer/ocular": "^1.8.1", - "symfony/finder": "^5.3 | ^6.0 | ^7.0", - "symfony/process": "^5.4 | ^6.0 | ^7.0", - "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0", - "unleashedtech/php-coding-standard": "^3.1.1", - "vimeo/psalm": "^4.24.0 || ^5.0.0" - }, - "minimum-stability": "beta", - "suggest": { - "symfony/yaml": "v2.3+ required if using the Front Matter extension" - }, - "repositories": [ - { - "type": "package", - "package": { - "name": "commonmark/commonmark.js", - "version": "0.31.1", - "dist": { - "url": "https://github.com/commonmark/commonmark.js/archive/0.31.1.zip", - "type": "zip" - } - } - }, - { - "type": "package", - "package": { - "name": "commonmark/cmark", - "version": "0.31.1", - "dist": { - "url": "https://github.com/commonmark/cmark/archive/0.31.1.zip", - "type": "zip" - } - } - }, - { - "type": "package", - "package": { - "name": "github/gfm", - "version": "0.29.0", - "dist": { - "url": "https://github.com/github/cmark-gfm/archive/0.29.0.gfm.13.zip", - "type": "zip" - } - } - } - ], - "autoload": { - "psr-4": { - "League\\CommonMark\\": "src" - } - }, - "autoload-dev": { - "psr-4": { - "League\\CommonMark\\Tests\\Unit\\": "tests/unit", - "League\\CommonMark\\Tests\\Functional\\": "tests/functional", - "League\\CommonMark\\Tests\\PHPStan\\": "tests/phpstan" - } - }, - "scripts": { - "phpcs": "phpcs", - "phpstan": "phpstan analyse", - "phpunit": "phpunit --no-coverage", - "psalm": "psalm --stats", - "pathological": "tests/pathological/test.php", - "test": [ - "@phpcs", - "@phpstan", - "@psalm", - "@phpunit", - "@pathological" - ] - }, - "extra": { - "branch-alias": { - "dev-main": "2.7-dev" - } - }, - "config": { - "allow-plugins": { - "composer/package-versions-deprecated": true, - "dealerdirect/phpcodesniffer-composer-installer": true - }, - "sort-packages": true - } -} diff --git a/components/Markdown/vendor-patched/league/config/composer.json b/components/Markdown/vendor-patched/league/config/composer.json deleted file mode 100644 index cee06a3b..00000000 --- a/components/Markdown/vendor-patched/league/config/composer.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "name": "league/config", - "type": "library", - "description": "Define configuration arrays with strict schemas and access values with dot notation", - "keywords": [ - "configuration", - "config", - "schema", - "array", - "nested", - "dot", - "dot-access" - ], - "homepage": "https://config.thephpleague.com", - "license": "BSD-3-Clause", - "authors": [ - { - "name": "Colin O'Dell", - "email": "colinodell@gmail.com", - "homepage": "https://www.colinodell.com", - "role": "Lead Developer" - } - ], - "support": { - "docs": "https://config.thephpleague.com/", - "issues": "https://github.com/thephpleague/config/issues", - "rss": "https://github.com/thephpleague/config/releases.atom", - "source": "https://github.com/thephpleague/config" - }, - "require": { - "php": "^7.4 || ^8.0", - "dflydev/dot-access-data": "^3.0.1", - "nette/schema": "^1.2" - }, - "require-dev": { - "phpstan/phpstan": "^1.8.2", - "phpunit/phpunit": "^9.5.5", - "scrutinizer/ocular": "^1.8.1", - "unleashedtech/php-coding-standard": "^3.1", - "vimeo/psalm": "^4.7.3" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "autoload": { - "psr-4": { - "League\\Config\\": "src" - } - }, - "autoload-dev": { - "psr-4": { - "League\\Config\\Tests\\": "tests" - } - }, - "scripts": { - "phpcs": "phpcs", - "phpstan": "phpstan analyse", - "phpunit": "phpunit --no-coverage", - "psalm": "psalm", - "test": [ - "@phpcs", - "@phpstan", - "@psalm", - "@phpunit" - ] - }, - "extra": { - "branch-alias": { - "dev-main": "1.2-dev" - } - }, - "config": { - "sort-packages": true, - "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true - } - } -} diff --git a/components/Markdown/vendor-patched/nette/schema/composer.json b/components/Markdown/vendor-patched/nette/schema/composer.json deleted file mode 100644 index d5647f9a..00000000 --- a/components/Markdown/vendor-patched/nette/schema/composer.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "nette/schema", - "description": "📐 Nette Schema: validating data structures against a given Schema.", - "keywords": [ - "nette", - "config" - ], - "homepage": "https://nette.org", - "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "require": { - "php": "8.1 - 8.4", - "nette/utils": "^4.0" - }, - "require-dev": { - "nette/tester": "^2.5.2", - "tracy/tracy": "^2.8", - "phpstan/phpstan-nette": "^1.0" - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "minimum-stability": "dev", - "scripts": { - "phpstan": "phpstan analyse", - "tester": "tester tests -s" - }, - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - } -} diff --git a/components/Markdown/vendor-patched/nette/utils/composer.json b/components/Markdown/vendor-patched/nette/utils/composer.json deleted file mode 100644 index ba308b80..00000000 --- a/components/Markdown/vendor-patched/nette/utils/composer.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "nette/utils", - "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", - "keywords": [ - "nette", - "images", - "json", - "password", - "validation", - "utility", - "string", - "array", - "core", - "slugify", - "utf-8", - "unicode", - "paginator", - "datetime" - ], - "homepage": "https://nette.org", - "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "require": { - "php": "8.0 - 8.4" - }, - "require-dev": { - "nette/tester": "^2.5", - "tracy/tracy": "^2.9", - "phpstan/phpstan": "^1.0", - "jetbrains/phpstorm-attributes": "dev-master" - }, - "conflict": { - "nette/finder": "<3", - "nette/schema": "<1.2.2" - }, - "suggest": { - "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", - "ext-json": "to use Nette\\Utils\\Json", - "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", - "ext-mbstring": "to use Strings::lower() etc...", - "ext-gd": "to use Image", - "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "minimum-stability": "dev", - "scripts": { - "phpstan": "phpstan analyse", - "tester": "tester tests -s" - }, - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - } -} diff --git a/components/Markdown/vendor-patched/psr/event-dispatcher/composer.json b/components/Markdown/vendor-patched/psr/event-dispatcher/composer.json deleted file mode 100644 index b33be3e7..00000000 --- a/components/Markdown/vendor-patched/psr/event-dispatcher/composer.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "psr/event-dispatcher", - "description": "Standard interfaces for event handling.", - "type": "library", - "keywords": [ - "psr", - "psr-14", - "events" - ], - "license": "MIT", - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "require": { - "php": ">=7.2.0" - }, - "autoload": { - "psr-4": { - "Psr\\EventDispatcher\\": "src/" - } - }, - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - } -} diff --git a/components/Markdown/vendor-patched/symfony/deprecation-contracts/composer.json b/components/Markdown/vendor-patched/symfony/deprecation-contracts/composer.json deleted file mode 100644 index 0615c601..00000000 --- a/components/Markdown/vendor-patched/symfony/deprecation-contracts/composer.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "symfony/deprecation-contracts", - "type": "library", - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=8.1" - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - } -} diff --git a/components/Markdown/vendor-patched/symfony/polyfill-ctype/composer.json b/components/Markdown/vendor-patched/symfony/polyfill-ctype/composer.json deleted file mode 100644 index 76f93942..00000000 --- a/components/Markdown/vendor-patched/symfony/polyfill-ctype/composer.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "symfony/polyfill-ctype", - "type": "library", - "description": "Symfony polyfill for ctype functions", - "keywords": [ - "polyfill", - "compatibility", - "portable", - "ctype" - ], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "minimum-stability": "dev", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/components/Markdown/vendor-patched/symfony/polyfill-php80/composer.json b/components/Markdown/vendor-patched/symfony/polyfill-php80/composer.json deleted file mode 100644 index b14a1c9c..00000000 --- a/components/Markdown/vendor-patched/symfony/polyfill-php80/composer.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "symfony/polyfill-php80", - "type": "library", - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "keywords": [ - "polyfill", - "shim", - "compatibility", - "portable" - ], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.2" - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] - }, - "minimum-stability": "dev", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/components/Markdown/vendor-patched/symfony/yaml/composer.json b/components/Markdown/vendor-patched/symfony/yaml/composer.json deleted file mode 100644 index 6543b401..00000000 --- a/components/Markdown/vendor-patched/symfony/yaml/composer.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "symfony/yaml", - "type": "library", - "description": "Loads and dumps YAML files", - "keywords": [], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "^1.8" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0" - }, - "conflict": { - "symfony/console": "<6.4" - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "bin": [ - "Resources/bin/yaml-lint" - ], - "minimum-stability": "dev" -} diff --git a/components/Markdown/vendor-patched/webuni/front-matter/composer.json b/components/Markdown/vendor-patched/webuni/front-matter/composer.json deleted file mode 100644 index ea18e431..00000000 --- a/components/Markdown/vendor-patched/webuni/front-matter/composer.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "name": "webuni/front-matter", - "type": "library", - "description": "Front matter parser and dumper for PHP", - "keywords": [ - "front-matter", - "yaml", - "json", - "toml", - "neon", - "commonmark" - ], - "homepage": "https://github.com/webuni/front-matter", - "license": "MIT", - "authors": [ - { - "name": "Martin Hasoň", - "email": "martin.hason@gmail.com", - "homepage": "https://www.martinhason.cz" - }, - { - "name": "Webuni s.r.o.", - "homepage": "https://www.webuni.cz" - } - ], - "require": { - "php": "^7.4 || ^8.0", - "symfony/yaml": "^3.4.31 || ^4.3.4 || ^5.0 || ^6.0 || ^7.0" - }, - "require-dev": { - "ext-json": "*", - "friendsofphp/php-cs-fixer": "^3.41", - "league/commonmark": "^2.0", - "mthaml/mthaml": "^1.3", - "nette/neon": "^2.2 || ^3.0", - "phpunit/phpunit": "^9.6", - "phpstan/phpstan": "^1.10", - "twig/twig": "^3.0", - "yosymfony/toml": "^1.0" - }, - "suggest": { - "nette/neon": "If you want to use NEON as front matter", - "yosymfony/toml": "If you want to use TOML as front matter" - }, - "config": { - "sort-packages": true - }, - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "psr-4": { - "Webuni\\FrontMatter\\": "src" - } - }, - "autoload-dev": { - "psr-4": { - "Webuni\\FrontMatter\\Tests\\": "tests" - } - }, - "scripts": { - "analyse": "./run analyse", - "cs": "./run cs", - "tests": "./run tests" - } -} diff --git a/components/Merge/vendor-patched/yetanotherape/diff-match-patch/composer.json b/components/Merge/vendor-patched/yetanotherape/diff-match-patch/composer.json deleted file mode 100644 index 53a2adf0..00000000 --- a/components/Merge/vendor-patched/yetanotherape/diff-match-patch/composer.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "yetanotherape/diff-match-patch", - "description": "Port of the google-diff-match-patch (https://github.com/google/diff-match-patch) lib to PHP", - "type": "library", - "keywords": ["Diff", "Match", "Patch", "Fuzzy search"], - "homepage": "https://github.com/yetanotherape/diff-match-patch", - "license": "Apache-2.0", - "authors": [ - { - "name": "Daniil Skrobov", - "email": "yetanotherape@gmail.com" - }, - { - "name": "Neil Fraser", - "email": "fraser@google.com", - "homepage": "http://neil.fraser.name/" - } - ], - "require": { - "php": ">=7.3", - "ext-iconv": "*", - "ext-json": "*", - "ext-mbstring": "*" - }, - "require-dev": { - "phpunit/phpunit": "9.*" - }, - "autoload": { - "psr-4": { - "DiffMatchPatch\\": "src" - } - } -} diff --git a/composer.json b/composer.json index aababcad..ba5ce8a6 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "wordpress/php-toolkit", + "name": "wp-php-toolkit/php-toolkit", "type": "library", "description": "WordPress Components", "keywords": [ diff --git a/monorepo-builder.php b/monorepo-builder.php new file mode 100644 index 00000000..6e136b55 --- /dev/null +++ b/monorepo-builder.php @@ -0,0 +1,36 @@ +packageDirectories( + array( + __DIR__ . '/components', + ) + ); + $config->defaultBranch( 'trunk' ); + // Release workers - in order to execute. + $config->workers( + array( + UpdateReplaceReleaseWorker::class, + SetCurrentMutualDependenciesReleaseWorker::class, + AddTagToChangelogReleaseWorker::class, + TagVersionReleaseWorker::class, + PushTagReleaseWorker::class, + SetNextMutualDependenciesReleaseWorker::class, + UpdateBranchAliasReleaseWorker::class, + PushNextDevReleaseWorker::class, + ) + ); +};