geeklearningio / gl-vsts-tasks-yarn

Yarn Package Manager Visual Studio Team Services Build and Release Management extensions
MIT License
52 stars 18 forks source link

Add Nightly Option #44

Closed darthtrevino closed 2 years ago

darthtrevino commented 6 years ago

Are you reporting a bug or a feature request ?

Description

When specifying the version to use, "nightly" should be an option to use bleeding-edge features as they are developed.

My use case is that I need a "nohoist" workspace feature that should drop with v1.4.2. I plan on using nightly builds for a short time period until they appear in main builds.

Expected behavior

Set version to "nightly", the build downloads the latest Yarn build.

System information

VSTS or TFS:

Agent:

OS:

Yarn version: Under discussion

Node version: 8.x

sandorfr commented 6 years ago

Hi,

Thanks for the clarity of the explanation :). This is technically feasible as they provide a feed [https://nightly.yarnpkg.com/tar-builds].

A checkbox switching to nightly the nightly build seems pretty straightforward.

Maybe another approach could be to have a more powerful version constraint format something like this1.4.^1-x which would take build greater than 1.4.1-0. But that would be more work.

sandorfr commented 2 years ago

won't do