Skip to content

Scripts: Add new command which generates zip file for the plugin #19237

@gziolo

Description

@gziolo

Plugin developers could benefit from having one command to run to output the zip file with all assets that should be included for the plugin to work in WordPress.

I discussed it with @bph and she raised the concern that having big folders like the node_modules one included might be not the best experience. She shared her workaround:

I worked ‘around’ it to upload it to GitHub which is probably where it all ends up in the end. But it would be great for local testing without the need to use the GitHub repository and have the zip file easy to produce.

Metadata

Metadata

Assignees

Labels

Needs DevReady for, and needs developer efforts[Status] In ProgressTracking issues with work in progress[Tool] WP Scripts/packages/scripts[Type] TaskIssues or PRs that have been broken down into an individual action to take

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions