strapi / sdk-plugin

CLI toolkit for developing a Strapi plugin
Other
4 stars 4 forks source link

[feat]: Detect when running command inside of project and ask to use plugins directory #22

Closed derrickmehaffy closed 3 weeks ago

derrickmehaffy commented 3 months ago

A clear and concise description of what the feature is

When running the command inside of a Strapi project (npx @strapi/sdk-plugin@latest init test) it will create the plugin at the base directory instead of ./src/plugins.

Likewise it does not provide the user the information to set within the ./config/plugins.js|.ts file

Why should this feature be included?

Make it easier for new users to start developing plugins by providing contextual help to place the plugin in the proper directory and provide hints to enable the plugin making it easier to start testing the plugin

Please provide an example for how this would work

Just some thoughts but look for the following information:

innerdvations commented 3 weeks ago

Implemented in #36