Skip to content

Commit 1f5cf9d

Browse files
authored
Merge pull request #58 from frontsideair/no-no-optional
No --no-optional
2 parents f8b36dc + 4f80ed9 commit 1f5cf9d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/yarnhook/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,35 +25,35 @@ const lockfileSpecs = [
2525
lockfile: "yarn.lock",
2626
command: "yarn",
2727
version: "1",
28-
arguments: ["install", "--prefer-offline", "--pure-lockfile", "--ignore-optional"]
28+
arguments: ["install", "--prefer-offline", "--pure-lockfile"]
2929
},
3030
{
3131
checkfile: "package-lock.json",
3232
lockfile: "package-lock.json",
3333
command: "npm",
3434
version: ">=5",
35-
arguments: ["install", "--prefer-offline", "--no-audit", "--no-save", "--no-optional"]
35+
arguments: ["install", "--prefer-offline", "--no-audit", "--no-save"]
3636
},
3737
{
3838
checkfile: "npm-shrinkwrap.json",
3939
lockfile: "npm-shrinkwrap.json",
4040
command: "npm",
4141
version: "<5",
42-
arguments: ["install", "--prefer-offline", "--no-audit", "--no-save", "--no-optional"]
42+
arguments: ["install", "--prefer-offline", "--no-audit", "--no-save"]
4343
},
4444
{
4545
checkfile: "pnpm-lock.yaml",
4646
lockfile: "pnpm-lock.yaml",
4747
command: "pnpm",
4848
version: ">=3",
49-
arguments: ["install", "--prefer-offline", "--prefer-frozen-lockfile", "--no-optional"]
49+
arguments: ["install", "--prefer-offline", "--prefer-frozen-lockfile"]
5050
},
5151
{
5252
checkfile: "shrinkwrap.yaml",
5353
lockfile: "shrinkwrap.yaml",
5454
command: "pnpm",
5555
version: "<3",
56-
arguments: ["install", "--prefer-offline", "--prefer-frozen-shrinkwrap", "--no-optional"]
56+
arguments: ["install", "--prefer-offline", "--prefer-frozen-shrinkwrap"]
5757
}
5858
];
5959

packages/yarnhook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yarnhook",
3-
"version": "0.5.3",
3+
"version": "0.6.0",
44
"description": "Run `yarn install`, `npm install` or `pnpm install` on git hooks automatically",
55
"keywords": [
66
"npm",

0 commit comments

Comments
 (0)