QOL: Add out-of-the-box support for `wp-scripts plugin-zip` and `package.json:files`

Open
#176 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, shell
Domain
ci-cd, release

Research direction

No file or test is named. Start by tracing the action's existing plugin archive and input handling, then compare it with the documented wp-scripts plugin-zip behavior and package.json:files support; done means users can deploy plugins using that setup without manually unzipping to a special directory.

Written by the indexing model from the issue text.

Description

help wanted

@wordpress/scripts plugin-zip command is an official, first-party way to build plugins using a package.json:files property instead of a dist-ignore.

Would be nice to be able to support that out of the box, instead of needing to zip with that unzip to special dir, and then feed that dir to the action.

Dominant language
Shell
Stars
665
Forks
115
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 10up/action-wordpress-plugin-deploy

All issues in 10up/action-wordpress-plugin-deploy

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.