-
Notifications
You must be signed in to change notification settings - Fork 95
Plugin Foundation #1
Copy link
Copy link
Closed
Labels
InfrastructureIssues for the overall plugin infrastructureIssues for the overall plugin infrastructure[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing feature
Milestone
Metadata
Metadata
Assignees
Labels
InfrastructureIssues for the overall plugin infrastructureIssues for the overall plugin infrastructure[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
The initial plugin foundation will use package.json to make use of
wp-scripts,wp-env, preparing husky and common infrastructure commands to format codes, run tests, etc, using the Performance Lab plugin as an example.Composer packages will be installed like
squizlabs/php_codesnifferandwp-coding-standards/wpcs. Composer will require PHP to be>=5.6and autload classes withpsr-4:Directory structure of the plugin
Acceptance Criteria
plugin-check.phpexistscomposer.jsonfile exists with the following"name":" wordpress/plugin-check""type": "wordpress-plugin""license": "GPL-2.0-or-later""description": "WordPress Plugin Checker Plugin.""require": { "php": ">=5.6" }/includesfolder/includesfolder exists/testsdirectory existsREADME.md,readme.txtandCONTRIBUTING.mdfiles exist.editorconfigfile exists to match WP Coding Standardspackage.jsonfile exists with the following"name": "plugin-check""license": "GPL-2.0-or-later""repository": "git+https://github.com/10up/plugin-check.git".nvmrcfile with the node version to use on the project