kana
kana copied to clipboard
Add Setting for Local Plugin Path
This adds a setting (that can only be set in kana.json
for now) called localPluginsPath
that if type
is set to theme
will map the directory specified to the plugins directory, allowing you to set the plugins you want/need installed for development of the theme.
It also adds the stub of a setting called localPlugins
that will be used like the plugins
setting but to install the plugin(s) in the path specified in the localPluginsPath
but the setting does nothing currently.
example kana.json
{
"local": false,
"localplugins": [],
"localpluginspath": "/Users/aaron.graham/Developer/wp-content/plugins",
"php": "8.1",
"plugins": [],
"type": "theme",
"xdebug": true
}
Thank you, Aaron! I will be reviewing this today or tomorrow! My apologies for being so late on it!
I think we're a bit stale on this @coderaaron. Do we want to revisit or should we close the PR?