Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control over caching pre-release, stable release or latest #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

safinn
Copy link
Contributor

@safinn safinn commented Jul 29, 2018

Fixes #20

  • Adds ONLY_PRE environment variable. When set, the latest pre-release is cached.
  • If the PRE environment variable is set, pre-releases are considered to be cached depending on if it is the latest. If not set, only stable releases are cached.
  • Updated lint-staged to 7.2.0 to work with Node.JS 10+.
  • Had to add testURL in the Jest config due to a JSDom bug described here.

@dpgraham
Copy link

+1 for this. This would be very useful for the project I work on.

@timneutkens timneutkens requested a review from leo December 3, 2018 12:27
Copy link
Contributor

@leo leo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thanks!

@dpgraham
Copy link

dpgraham commented Jan 4, 2019

Is this going to be merged in?

@vercel
Copy link

vercel bot commented Dec 23, 2021

@safinn is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deliver stable releases if newer than latest prerelease
3 participants