vercel / vercel/hyper

Feature Request: config via separate file, merged in

Open
#6,151 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

The config file acknowledges the issue.

// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.

Could we perhaps avoid that issue by having a separate file which is merged in to override the defaults?

For example, I only want to change the background colour, so I would have a simple file:

module.exports = {
    config: {
        backgroundColor: '#333',
	}
}

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

No file, test, or entry point is named. Start by locating Hyper’s configuration loading and default-merging logic, then inspect any existing configuration tests. Done means a separate configuration file can override selected defaults without requiring users to copy the full configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
cli, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.