Parsely / wp-parsely

The official WordPress plugin for Parse.ly - makes it a snap to add the required tracking code to enable Parse.ly on your WordPress site.
https://wordpress.org/plugins/wp-parsely/
GNU General Public License v2.0
64 stars 32 forks source link

Remove unneeded files from our release zip file #2936

Open acicovic opened 5 days ago

acicovic commented 5 days ago

Is your feature request related to a problem?

Our release zip file seems to contain some files that aren't useful. For example, I think that Jest and TypeScript files (among others) are unneeded when distributing to WordPress.org.

Describe the solution you'd like

Identify the unneeded files that get bundled in our release .zip file, and take care not to include them there.

vaurdan commented 5 days ago

Agreed! I think we can safely remove the tests directory, and all the ts, tsx, and scss files from the built version, since essentially those are bundled in the build/ directory.

Although, I'm not sure if it's against WordPress.org Plugin Directory TOS to not include the source files in the plugin, but we can investigate that.

Thoughts?

acicovic commented 5 days ago

Yeah, if we risk a TOS violation, we definitely should not do it. I can try to ask around about this.