Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve plugin tooling and build process #129

Open
7 tasks
thelovekesh opened this issue Oct 13, 2022 · 3 comments
Open
7 tasks

Improve plugin tooling and build process #129

thelovekesh opened this issue Oct 13, 2022 · 3 comments
Assignees

Comments

@thelovekesh
Copy link
Member

Currently, the plugin includes vendor and build files in the version control, which increases the size of the repository to checkout and somewhat impacts the developer experience.

Additionally, when the plugin is published, it includes several files that add nothing besides bulking up the plugin; therefore, preferable to remove such files beforehand.

Here are several chores that could be considered:

  • Remove vendor and build files from version control.
  • Migrate NPM and required configs to the root directory from assets.
  • Update required packages with official @wordpress/* packages.
  • Update plugin release workflow to add vendor and build files before publishing it.
  • Remove unused files with pattern composer.*, vendor/*/*/.editorconfig, vendor/*/*/phpunit. etc. from vendor files as they are not required in production release.
  • Automate tasks like generating readme.txt from README.md instead of maintaining two different filed in VCS.
  • Automate the task of drafting the release using GitHub Action for better changelog coverage.
@aviral-mittal
Copy link

@hbhalodia Can you please provide a time estimation for this?

@hbhalodia
Copy link

Hi @aviral-mittal, I need to go through the process that lovekesh mentioned. I do not have any prior experience with automation. So it can need some time to review, learn and apply the same. I would connect with lovekesh for this findings and would give a proper estimation after that. Thanks.

@hbhalodia
Copy link

Hi @thelovekesh, Let me know can when we connect to discuss above workflow. Need to discuss in detail. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants