adobe / adobe/sizewatcher

If package-lock.json is present, don't want to run npm ci

Open
#91 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
18
Forks
5
Avg merge
2d 6h
Merged PRs (30d)
8

Description

### Expected Behaviour
I want to run `npm install` instead of `npm ci` as my `package-lock.json` and `package.json` are not always in sync. Moreover, it would be better if we could provide a script option in `node_modules` comparator too just like custom comparator.
### Actual Behaviour
Run `npm install` or my custom script if `package-lock.json` is present.

I'm using node version 14.

Contributor guide

Open the contributing guide

Research direction

Start by finding the node_modules comparator and the existing custom comparator option, then inspect how package.json and package-lock.json trigger npm commands. Reproduce the case where the lockfile and package manifest are out of sync, and verify that the selected npm install or custom script runs instead of npm ci.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.