You've already forked wc-tier-and-package-prices
- Move submodule from vendor/magdev/ to lib/ to avoid Composer conflicts - Use relative submodule URL (../wc-licensed-product-client.git) - Pin submodule to v0.2.2 tag - Update composer.json with ^0.2 version constraint - Simplify .gitignore (no vendor exceptions needed) - Update workflow to exclude lib/.git instead of vendor/.git Based on working wp-fedistream implementation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
904 B
JSON
38 lines
904 B
JSON
{
|
|
"name": "magdev/wc-tier-package-prices",
|
|
"description": "WooCommerce plugin for tier pricing and package prices with Twig templates",
|
|
"version": "1.4.0",
|
|
"type": "wordpress-plugin",
|
|
"license": "GPL-2.0-or-later",
|
|
"authors": [
|
|
{
|
|
"name": "Marco Graetsch",
|
|
"homepage": "https://src.bundespruefstelle.ch/magdev"
|
|
}
|
|
],
|
|
"repositories": [
|
|
{
|
|
"type": "path",
|
|
"url": "lib/wc-licensed-product-client"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=8.3",
|
|
"twig/twig": "^3.0",
|
|
"magdev/wc-licensed-product-client": "^0.2"
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"includes/"
|
|
]
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"platform": {
|
|
"php": "8.3.0"
|
|
}
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true
|
|
}
|