|
12 | 12 | "authors": [ |
13 | 13 | { |
14 | 14 | "name": "Nicolas Lemoine", |
15 | | - "email": "dev@niconico.fr", |
16 | | - "homepage": "https://github.com/nlemoine" |
| 15 | + "email": "nico@n5s.dev", |
| 16 | + "homepage": "https://n5s.dev/" |
17 | 17 | } |
18 | 18 | ], |
19 | 19 | "homepage": "https://github.com/nlemoine/page-for-custom-post-type", |
20 | 20 | "support": { |
21 | | - "issues": "https://github.com/nlemoine/page-for-post-type/issues", |
22 | | - "source": "https://github.com/nlemoine/page-for-post-type" |
| 21 | + "issues": "https://github.com/nlemoine/page-for-custom-post-type/issues", |
| 22 | + "source": "https://github.com/nlemoine/page-for-custom-post-type" |
23 | 23 | }, |
24 | 24 | "require": { |
25 | | - "composer/installers": "^1.0 || ^2.0" |
| 25 | + "composer/installers": "^1.0 || ^2.0", |
| 26 | + "php": "^8.2" |
26 | 27 | }, |
27 | 28 | "require-dev": { |
28 | | - "brain/hierarchy": "^3.2", |
29 | | - "ergebnis/composer-normalize": "^2.28", |
30 | | - "mantle-framework/testkit": "*", |
31 | | - "php-stubs/acf-pro-stubs": "^6.0", |
32 | | - "php-stubs/wordpress-seo-stubs": "^20.5", |
33 | | - "phpstan/extension-installer": "^1.3", |
34 | | - "phpstan/phpstan": "^1.10", |
35 | | - "roots/wordpress": "^6.2", |
36 | | - "symplify/easy-coding-standard": "^11.0", |
37 | | - "szepeviktor/phpstan-wordpress": "^1.3", |
38 | | - "wpackagist-plugin/polylang": "^3.4", |
39 | | - "wpackagist-plugin/wordpress-seo": "^20.9", |
40 | | - "wpsyntex/polylang-stubs": "^3.4" |
| 29 | + "ergebnis/composer-normalize": "^2.48", |
| 30 | + "mantle-framework/testkit": "^1.17", |
| 31 | + "wp-plugin/advanced-custom-fields": "^6", |
| 32 | + "wp-plugin/polylang": "^3.4", |
| 33 | + "wp-plugin/wordpress-seo": "^26 || ^27", |
| 34 | + "wp-plugin/autodescription": "^5.1", |
| 35 | + "szepeviktor/phpstan-wordpress": "^2.0", |
| 36 | + "phpstan/extension-installer": "^1.4", |
| 37 | + "phpstan/phpstan": "^2.1" |
41 | 38 | }, |
42 | 39 | "repositories": [ |
43 | 40 | { |
| 41 | + "name": "wp-packages", |
44 | 42 | "type": "composer", |
45 | | - "url": "https://wpackagist.org" |
| 43 | + "url": "https://repo.wp-packages.org", |
| 44 | + "only": [ |
| 45 | + "wp-plugin/*", |
| 46 | + "wp-theme/*" |
| 47 | + ] |
46 | 48 | } |
47 | 49 | ], |
| 50 | + "minimum-stability": "dev", |
| 51 | + "prefer-stable": true, |
| 52 | + "autoload": { |
| 53 | + "psr-4": { |
| 54 | + "n5s\\PageForCustomPostType\\": "src/" |
| 55 | + }, |
| 56 | + "files": [ |
| 57 | + "src/functions.php" |
| 58 | + ] |
| 59 | + }, |
| 60 | + "autoload-dev": { |
| 61 | + "psr-4": { |
| 62 | + "n5s\\PageForCustomPostType\\Tests\\": "tests/" |
| 63 | + } |
| 64 | + }, |
48 | 65 | "config": { |
49 | 66 | "allow-plugins": { |
| 67 | + "alleyinteractive/composer-wordpress-autoloader": true, |
50 | 68 | "composer/installers": true, |
51 | | - "roots/wordpress-core-installer": true, |
| 69 | + "dealerdirect/phpcodesniffer-composer-installer": true, |
52 | 70 | "ergebnis/composer-normalize": true, |
53 | | - "alleyinteractive/composer-wordpress-autoloader": true, |
| 71 | + "pestphp/pest-plugin": true, |
54 | 72 | "phpstan/extension-installer": true, |
55 | | - "pestphp/pest-plugin": true |
| 73 | + "roots/wordpress-core-installer": true |
56 | 74 | } |
57 | 75 | }, |
58 | 76 | "scripts": { |
|
62 | 80 | "cs": "ecs check", |
63 | 81 | "cs:fix": "ecs check --fix", |
64 | 82 | "test": [ |
65 | | - "PLUGINS=wordpress-seo phpunit --testdox" |
66 | | - ] |
| 83 | + "@test:core", |
| 84 | + "@test:wordpress-seo", |
| 85 | + "@test:polylang", |
| 86 | + "@test:autodescription" |
| 87 | + ], |
| 88 | + "test:autodescription": "PLUGINS=autodescription phpunit", |
| 89 | + "test:core": "phpunit", |
| 90 | + "test:polylang": "PLUGINS=polylang phpunit", |
| 91 | + "test:wordpress-seo": "PLUGINS=wordpress-seo phpunit" |
67 | 92 | } |
68 | 93 | } |
0 commit comments