cloverfield-tools / cloverfield-tools/cf-package

Detect existing package.json

Open
#23 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
96
Forks
14
PR merge metrics
No merged PRs in 30d

Description

It would be great if our generators could detect an already existing `package.json` file and grab default values from it, and then merge the scaffold changes into the existing file.

We don't want to replace a `package.json` if it already exists -- users may lose things they want in there.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the generators that create package.json and the existing package.json handling they use. Verify behavior with an existing package.json containing user values: generator defaults are read, scaffold fields are merged, and existing values are preserved rather than the file being replaced.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
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.