henryruhs / handpick

Handpick conditional dependencies like a boss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning if lockfiles are ignored

henryruhs opened this issue · comments

There should be a warning if a package-lock.json, yarn.lockor pnpm-lock.yaml are found and the related managerObject contains a --no-lockfile command.

Potential version 2 for option file:

{
	"version": 2,
	"managerObject":
	{
		"npm":
		{
			"commandArray"
		  	[
				"install",
				"--no-package-lock"
			],
			lockFile: "package-lock.json"
		}
		...
	}
}

I drop the idea...