login-with-google icon indicating copy to clipboard operation
login-with-google copied to clipboard

Improve plugin tooling and build process

Open thelovekesh opened this issue 3 years ago • 3 comments

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:

  • [x] Remove vendor and build files from version control.
  • [x] Migrate NPM and required configs to the root directory from assets.
  • [x] Update required packages with official @wordpress/* packages.
  • [x] Update plugin release workflow to add vendor and build files before publishing it.
  • [x] 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.
  • [x] Automate the task of drafting the release using GitHub Action for better changelog coverage.

thelovekesh avatar Oct 13 '22 14:10 thelovekesh

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

aviral-mittal avatar Feb 08 '23 05:02 aviral-mittal

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 avatar Feb 08 '23 05:02 hbhalodia

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

hbhalodia avatar Feb 08 '23 06:02 hbhalodia