Using https://github.com/wp-cli/dist-archive-command to create WordPress plugin zip files.
.distignore
.DS_Store
.editorconfig
.git
.gitignore
.idea
composer.json
composer.lock
package.json
phpcs.xml.dist
README.md
node_moduleswp dist-archive the-plugin-dir