rescript-lang / rescript-lang/create-rescript-app

Upgrade mode

Open
#91 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
ReScript
Stars
77
Forks
15
Avg merge
17h 54m
Merged PRs (30d)
1

Description

Would be cool if we had some mechanism like
npm create rescript-app --upgrade
that guides users through the process of upgrading rescript. We already read the package.json here, why not do the same with the rescript.json and determine if even a fully automated upgrade is possible? At least it could be semi-automated and return the user a link to the correct migration guide(s).

This probably makes more sense to implement when the migration guides are done: https://github.com/rescript-lang/rescript-lang.org/issues/945

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing handling of package.json in the create-rescript-app CLI, then inspect rescript.json to determine what upgrade information is available. Review the linked migration-guide issue before defining the automated or semi-automated flow. Done means the command can guide an upgrade or provide the relevant migration-guide links.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.