Stop mutating package.json (also, "What's the status of this project?")

Open
#23 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
tooling

Research direction

Start by reviewing how optional-dev-dependency changes package.json and compare the report with duplicate issue #19. Check the README and npm deprecation status; the work is only complete when the project’s status and recommended path are documented, or a defined fix for the mutation is agreed and verified.

Written by the indexing model from the issue text.

Description

Over in uuid, we added this module years ago to deal with this issue. tl;dr: Some folks want to build uuid on Z/OS, where some of web-driver dependencies aren't supported.

However, optional-dev-dependency has a propensity for editing the package.json file unexpectedly, which is annoying and leads to regressions.

I'd elaborate on that, and plead for a fix of some sort, but I see this package is deprecated on NPM. But there's no corresponding note in the README for this repo, nor has it been archived. So what's the recommended path forward here? Is there any chance of this getting fixed (ha!) or should I plan on removing the dependency on this package at some point. (If so... is there a recommended alternative?)

[Edit: Duplicate of #19, I suspect?]

Dominant language
JavaScript
Stars
5
Forks
8
PR merge metrics
No merged PRs in 30d

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.

More from bcoe/optional-dev-dependency

All issues in bcoe/optional-dev-dependency

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.