Skip to content

Commit 0a2d858

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

File tree

2 files changed

+225
-200
lines changed

2 files changed

+225
-200
lines changed

composer.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,12 @@
4141
"itinerisltd/itineris-wp-coding-standards": "^1.0",
4242
"laravel/facade-documenter": "dev-main",
4343
"roots/acorn": "^4.3",
44-
"roots/wordpress": "^6.8",
44+
"roots/wordpress": "^6.9",
4545
"wpackagist-plugin/kirki": "^5.1"
4646
},
47+
"conflict": {
48+
"roots/acorn": ">=5.0"
49+
},
4750
"prefer-stable": true,
4851
"config": {
4952
"allow-plugins": {
@@ -55,6 +58,17 @@
5558
"preferred-install": "dist",
5659
"sort-packages": true
5760
},
61+
"extra": {
62+
"acorn": {
63+
"providers": [
64+
"Itineris\\AcornSocials\\Providers\\AcornSocialsServiceProvider",
65+
"Itineris\\AcornSocials\\Providers\\AssetsServiceProvider"
66+
],
67+
"aliases": {
68+
"AcornSocials": "Itineris\\AcornSocials\\Facades\\AcornSocials"
69+
}
70+
}
71+
},
5872
"scripts": {
5973
"style:check": "phpcs",
6074
"style:fix": "phpcbf",

0 commit comments

Comments
 (0)