diff --git a/packages/yarnhook/index.js b/packages/yarnhook/index.js index 1219b52..4345943 100755 --- a/packages/yarnhook/index.js +++ b/packages/yarnhook/index.js @@ -25,35 +25,35 @@ const lockfileSpecs = [ lockfile: "yarn.lock", command: "yarn", version: "1", - arguments: ["install", "--prefer-offline", "--pure-lockfile", "--ignore-optional"] + arguments: ["install", "--prefer-offline", "--pure-lockfile"] }, { checkfile: "package-lock.json", lockfile: "package-lock.json", command: "npm", version: ">=5", - arguments: ["install", "--prefer-offline", "--no-audit", "--no-save", "--no-optional"] + arguments: ["install", "--prefer-offline", "--no-audit", "--no-save"] }, { checkfile: "npm-shrinkwrap.json", lockfile: "npm-shrinkwrap.json", command: "npm", version: "<5", - arguments: ["install", "--prefer-offline", "--no-audit", "--no-save", "--no-optional"] + arguments: ["install", "--prefer-offline", "--no-audit", "--no-save"] }, { checkfile: "pnpm-lock.yaml", lockfile: "pnpm-lock.yaml", command: "pnpm", version: ">=3", - arguments: ["install", "--prefer-offline", "--prefer-frozen-lockfile", "--no-optional"] + arguments: ["install", "--prefer-offline", "--prefer-frozen-lockfile"] }, { checkfile: "shrinkwrap.yaml", lockfile: "shrinkwrap.yaml", command: "pnpm", version: "<3", - arguments: ["install", "--prefer-offline", "--prefer-frozen-shrinkwrap", "--no-optional"] + arguments: ["install", "--prefer-offline", "--prefer-frozen-shrinkwrap"] } ]; diff --git a/packages/yarnhook/package.json b/packages/yarnhook/package.json index d42a8b2..b9b805d 100644 --- a/packages/yarnhook/package.json +++ b/packages/yarnhook/package.json @@ -1,6 +1,6 @@ { "name": "yarnhook", - "version": "0.5.3", + "version": "0.6.0", "description": "Run `yarn install`, `npm install` or `pnpm install` on git hooks automatically", "keywords": [ "npm",