imgix / gatsby

A simple yet powerful integration between Gatsby and imgix
BSD 2-Clause "Simplified" License
30 stars 6 forks source link

ci(deploy): add prepare step #237

Closed atlawrie closed 2 years ago

atlawrie commented 2 years ago

Adds additional script to ensure properly updated dist prior to release.

Before

Library is not guaranteed to execute a build step to properly update dist directory prior to deployment; as a result, some libraries include the prior release in their dist folder.

After

We include both a prepare and a prepublishOnly step to ensure that the library executes a build prior to deploying a release.