woocommerce / woocommerce-gateway-amazon-pay

Amazon Pay Gateway
20 stars 23 forks source link

Fix/npm dependencies #265

Closed dpanta94 closed 1 year ago

dpanta94 commented 1 year ago

All Submissions:

Changes proposed in this Pull Request:

Updating/Changing NPM dependencies and lock file. Updating the build process integrating wp-scripts project wide. Adding/modifing npm script commands.

Now npm run build will simply run the whole build process, while npm run package will produce a deployable zip.

A lot of scripts/stylesheets had their relevant position changed in order for the build process to work accross the project following the same logic.

Closes #12 .

How to test the changes in this Pull Request:

  1. All the scripts and stylesheets should contain to load normally.
  2. npm i should install all the dependencies without errors as long as nvm use has been executed prior to that

Other information:

Changelog entry

Fix - WooCommerce Blocks Compatibility