kana icon indicating copy to clipboard operation
kana copied to clipboard

Add Setting for Local Plugin Path

Open coderaaron opened this issue 2 years ago • 2 comments

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.

coderaaron avatar Oct 11 '22 16:10 coderaaron

example kana.json

{
  "local": false,
  "localplugins": [],
  "localpluginspath": "/Users/aaron.graham/Developer/wp-content/plugins",
  "php": "8.1",
  "plugins": [],
  "type": "theme",
  "xdebug": true
}

coderaaron avatar Oct 11 '22 16:10 coderaaron

Thank you, Aaron! I will be reviewing this today or tomorrow! My apologies for being so late on it!

ChrisWiegman avatar Oct 30 '22 16:10 ChrisWiegman

I think we're a bit stale on this @coderaaron. Do we want to revisit or should we close the PR?

ChrisWiegman avatar Jan 06 '24 17:01 ChrisWiegman