Skip to content

Support next as npm tag in --scripts-version #4348

Closed
@miraage

Description

@miraage

Not sure if it is a bug or not (might be intented behavior).
Instead of writing ... --scripts-version=2.0.0-next.66cc7a90 we would write ... -scripts-version=next.

Currently it installs zeit/next.js.

// EDIT

Possible solution might touch a single line:

- if (validSemver) {
+ if (validSemver || version === 'next') {

Not sure how "breaking" this change might be.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions