Files
Jonathan Miller 07ea171af9
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Blocked by required conditions
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Blocked by required conditions
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Blocked by required conditions
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Blocked by required conditions
Platform: moko-platform CI / Gate 4: Governance (push) Blocked by required conditions
Platform: moko-platform CI / Gate 5: Template Integrity (push) Blocked by required conditions
Platform: moko-platform CI / CI Summary (push) Blocked by required conditions
Generic: Repo Health / Release configuration (push) Blocked by required conditions
Generic: Repo Health / Scripts governance (push) Blocked by required conditions
Generic: Repo Health / Repository health (push) Blocked by required conditions
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Platform: moko-platform CI / Gate 1: Code Quality (push) Failing after 43s
feat: release promotion pipeline, 5 new CLI tools, workflow refactoring
New CLI tools:
- manifest_element.php — extract element/type/prefix from any platform manifest
- release_create.php — create/overwrite Gitea releases with proper naming
- release_package.php — build ZIP+tar.gz, SHA-256, upload assets
- release_promote.php — promote releases between channels (dev→RC→stable)
- version_reset_dev.php — reset platform version on dev branch after release

Updated CLI tools:
- version_bump.php — now writes to manifests, Dolibarr mod, composer.json (not just README)
- release_cascade.php — added --version for version-aware deletion of stale releases
- release_validate.php — auto-detect platform, --github-output, source dir check

Workflow changes (auto-release.yml):
- Draft PR to main → auto-promote highest pre-release to RC
- Merged PR to main → promote RC to stable (skip rebuild when RC exists)
- Removed paths filter for Go/Node/generic repo compatibility
- Fixed cascade --api-base parameter bug

Workflow changes (pre-release.yml):
- Auto-trigger development pre-release on feature branch merge to dev
- Removed paths filter

Infrastructure:
- RepositorySynchronizer: fixed template repo names, .mokogitea/workflows path,
  universal workflow cascade (Template-Generic → other templates)
- bulk_sync.php: syncs universal workflows to templates before repo sync
- PHPDoc added to 4 classes missing class-level docs
- Version bump 09.00.00 → 09.01.00

Closes #152 #153 #154 #155 #156 #157 #158 #159 #161 #162

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-26 14:29:32 -05:00

110 lines
3.3 KiB
JSON

{
"name": "mokoconsulting-tech/enterprise",
"description": "MokoStandards Enterprise API \u2014 PHP implementation",
"type": "library",
"version": "09.01.00",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Moko Consulting",
"email": "hello@mokoconsulting.tech"
}
],
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"ext-curl": "*",
"ext-json": "*",
"ext-zip": "*",
"guzzlehttp/guzzle": "^7.8",
"monolog/monolog": "^3.5",
"php": ">=8.1",
"phpseclib/phpseclib": "^3.0",
"psr/cache": "^3.0",
"psr/http-client": "^1.0",
"psr/log": "^3.0",
"symfony/cache": "^6.4",
"symfony/console": "^6.4",
"symfony/filesystem": "^6.4",
"symfony/finder": "^6.4",
"symfony/http-foundation": "^6.4",
"symfony/process": "^6.4",
"symfony/routing": "^6.4",
"symfony/yaml": "^6.4",
"twig/twig": "^3.8",
"vlucas/phpdotenv": "^5.6"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"phpstan/phpstan": "^1.10 || ^2.0",
"squizlabs/php_codesniffer": "^3.8 || ^4.0",
"vimeo/psalm": "^5.20",
"phpmd/phpmd": "^2.14"
},
"autoload": {
"psr-4": {
"MokoStandards\\": "src/",
"MokoEnterprise\\": "lib/Enterprise/",
"MokoStandards\\Plugins\\Joomla\\": "lib/plugins/Joomla/"
},
"classmap": [
"lib/Enterprise/CliFramework.php"
],
"files": [
"src/functions.php"
]
},
"archive": {
"exclude": [
"/tests",
"/wrappers",
"/logs",
"/.github"
]
},
"autoload-dev": {
"psr-4": {
"MokoStandards\\Tests\\": "tests/"
}
},
"bin": [
"bin/moko",
"bin/validate-module"
],
"scripts": {
"test": "phpunit",
"phpcs": "phpcs --standard=phpcs.xml lib/ validate/ automation/",
"phpstan": "phpstan analyse -c phpstan.neon lib/ validate/ automation/",
"psalm": "psalm --config=psalm.xml",
"check": [
"@phpcs",
"@phpstan",
"@test"
],
"moko": "php bin/moko",
"health": "php bin/moko health -- --path .",
"sync": "php bin/moko sync",
"inventory": "php bin/moko inventory -- --path .",
"validate": "php bin/moko health -- --path .",
"check:syntax": "php bin/moko check:syntax -- --path .",
"check:version": "php bin/moko check:version -- --path .",
"check:changelog": "php bin/moko check:changelog -- --path .",
"check:structure": "php bin/moko check:structure -- --path .",
"check:headers": "php bin/moko check:headers -- --path .",
"check:secrets": "php bin/moko check:secrets -- --path .",
"check:enterprise": "php bin/moko check:enterprise -- --path .",
"drift": "php bin/moko drift"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"preferred-install": "dist"
},
"repositories": [
{
"type": "composer",
"url": "https://git.mokoconsulting.tech/api/packages/MokoConsulting/composer"
}
]
}