From f98fd10c0dae763835bc95ecd81774e6ad2e3589 Mon Sep 17 00:00:00 2001 From: nhartner Date: Wed, 19 Aug 2020 11:45:36 -0600 Subject: [PATCH] bump version to 1.0.1 fix issue with out resolutions are done for auditing don't run as a preinstall script because that messes up npm install --- lefthook.yml | 2 +- package-lock.json | 2 +- package.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index 9e0bbf3..5f06b4b 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -6,7 +6,7 @@ pre-push: commands: packages-audit: tags: security - run: npm audit + run: npm run resolve-audit eslint: tags: style run: npm run lintNoFix diff --git a/package-lock.json b/package-lock.json index f4c8651..0e4c0cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@payid-org/payid-cli", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 51bc554..206189c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@payid-org/payid-cli", - "version": "1.0.0", + "version": "1.0.1", "description": "CLI for PayID", "homepage": "https://github.com/payid-org/payid-cli#readme", "bugs": { @@ -21,10 +21,10 @@ "dist/*" ], "scripts": { - "preinstall": "npx npm-force-resolutions", "build": "rm -rf dist && tsc --project .", "lint": "eslint . --ext .ts --fix --max-warnings 0 && prettier --write '**/*.{md,json}'", "lintNoFix": "eslint . --ext .ts --max-warnings 0 && prettier --check '**/*.{md,json}'", + "resolve-audit": "npx npm-force-resolutions && npm audit", "test": "nyc mocha 'test/**/*.test.ts'" }, "dependencies": { @@ -71,6 +71,6 @@ "yarn": "please use npm" }, "resolutions": { - "lodash": "^4.17.19" + "lodash": "^4.17.20" } }