Skip to content

Change Request: Prepare infrastructure for v9 prereleases #17893

@mdjermanovic

Description

@mdjermanovic

ESLint version

main

What problem do you want to solve?

Since the last major release, there have been many changes in ESLint projects. Notably, built-in configurations have been extracted into a separate package @eslint/js, we have a new eslint.org site with underlying docs sites for different versions, some projects are using release-please, and we switched to conventional commits.

It doesn't seem that all parts of our infrastructure support prereleases.

In particular:

  • Jenkins
    • The job for @eslint/js doesn't provide a way to choose a prerelease type and publish the package with the next tag.
  • release-please
  • Conventional commits
    • It doesn't seem that eslint-release supports docs! tags, so we'll need to either update eslint-release or merge those commits as just docs.
  • eslint.org site
    • On the homepage, the "Latest Version" should probably stay at v8.56.0, and we might want to also show the latest prerelease version (the version that is next on npm).
  • docs sites
    • We should create next branch, set up Netlify, and update redirects for /docs/next/
    • Ideally, all three docs sites (head, next, latest) should have the following list in version selectors: HEAD, NEXT, v8.56.0. Most of the work for this was already done in 6669413, but we'll probably also need to manually update the latest branch, and I'm not sure if v9.0.0-alpha.0 will mistakenly appear instead of v8.56.0 on HEAD and NEXT docs sites.

What do you think is the correct solution?

Update the infrastructure for prereleases according to the points above.

Participation

  • I am willing to submit a pull request for this change.

Additional comments

Is there anything else that should be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    archived due to ageThis issue has been archived; please open a new issue for any further discussioncoreRelates to ESLint's core APIs and featuresenhancementThis change enhances an existing feature of ESLint

    Type

    No type

    Projects

    Status

    Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions