|
17 | 17 | "roave/security-advisories": "dev-latest", |
18 | 18 | "wp-cli/wp-cli-tests": "^v4.3.9" |
19 | 19 | }, |
20 | | - "repositories": [ |
21 | | - { |
22 | | - "type": "vcs", |
23 | | - "url": "https://github.com/mcp-wp/mcp-server", |
24 | | - "no-api": true |
25 | | - } |
26 | | - ], |
27 | 20 | "config": { |
28 | 21 | "process-timeout": 7200, |
29 | 22 | "sort-packages": true, |
|
61 | 54 | "minimum-stability": "dev", |
62 | 55 | "prefer-stable": true, |
63 | 56 | "scripts": { |
64 | | - "post-install-cmd": [ |
65 | | - "@prefix-dependencies" |
66 | | - ], |
67 | | - "post-update-cmd": [ |
68 | | - "@prefix-dependencies" |
69 | | - ], |
70 | 57 | "behat": "run-behat-tests", |
71 | 58 | "behat-rerun": "rerun-behat-tests", |
72 | 59 | "lint": "run-linter-tests", |
| 60 | + "format": "@phpcbf", |
73 | 61 | "phpcs": "run-phpcs-tests", |
74 | 62 | "phpcbf": "run-phpcbf-cleanup", |
75 | 63 | "phpunit": "run-php-unit-tests", |
|
79 | 67 | "@phpcs", |
80 | 68 | "@phpunit", |
81 | 69 | "@behat" |
82 | | - ], |
83 | | - "prefix-dependencies": [ |
84 | | - "php-scoper add-prefix --output-dir=./third-party --force --quiet", |
85 | | - "echo '{ \"autoload\": { \"classmap\": [\"\"] } }' > ./third-party/composer.json", |
86 | | - "@composer dump-autoload --working-dir ./third-party --no-dev --classmap-authoritative", |
87 | | - "sed -i'.bak' -e 's/Composer\\\\/AiCommand_Composer\\\\/' third-party/vendor/composer/*.php && rm -rf third-party/vendor/composer/*.php.bak", |
88 | | - "echo '{ \"autoload\": { \"classmap\": [\"\"] } }' > ./src/composer.json", |
89 | | - "@composer dump-autoload --working-dir ./src --no-dev --classmap-authoritative", |
90 | | - "sed -i'.bak' -e 's/Composer\\\\/AiCommand_Composer\\\\/' src/vendor/composer/*.php && rm -rf src/vendor/composer/*.php.bak" |
91 | | - ] |
| 70 | + ] |
92 | 71 | }, |
93 | 72 | "support": { |
94 | 73 | "issues": "https://github.com/mcp-wp/ai-command/issues" |
|
0 commit comments