Skip to content

Commit 96a6f11

Browse files
committed
fix(acorn): package as plugin not discovered
1 parent d0508e1 commit 96a6f11

File tree

2 files changed

+251
-268
lines changed

2 files changed

+251
-268
lines changed

composer.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@
3939
},
4040
"require-dev": {
4141
"itinerisltd/itineris-wp-coding-standards": "^1.0",
42-
"laravel/facade-documenter": "dev-main",
4342
"roots/acorn": "^4.3",
44-
"roots/wordpress": "^6.8",
43+
"roots/wordpress": "^6.9",
4544
"wpackagist-plugin/kirki": "^5.1"
4645
},
46+
"conflict": {
47+
"roots/acorn": ">=5.0"
48+
},
4749
"prefer-stable": true,
4850
"config": {
4951
"allow-plugins": {
@@ -55,6 +57,17 @@
5557
"preferred-install": "dist",
5658
"sort-packages": true
5759
},
60+
"extra": {
61+
"acorn": {
62+
"providers": [
63+
"Itineris\\AcornSocials\\Providers\\AcornSocialsServiceProvider",
64+
"Itineris\\AcornSocials\\Providers\\AssetsServiceProvider"
65+
],
66+
"aliases": {
67+
"AcornSocials": "Itineris\\AcornSocials\\Facades\\AcornSocials"
68+
}
69+
}
70+
},
5871
"scripts": {
5972
"style:check": "phpcs",
6073
"style:fix": "phpcbf",

0 commit comments

Comments
 (0)