From e051d8171e50109483ab22b0472814022b104500 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Fri, 19 Mar 2021 17:13:16 -0400 Subject: [PATCH 1/2] build: unused dep, add prepack --- package.json | 4 ++-- yarn.lock | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ecabcef..ab55f51 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "url": "https://github.com/mcataford/packwatch.git" }, "scripts": { - "prebuild": "rimraf dist", + "prepack": "yarn build", + "prebuild": "rm -rf dist", "build": "babel src/index.ts src/cli.ts -d dist --extensions .ts", "lint": "eslint src/**/*.ts", "lint:fix": "yarn lint --fix", @@ -55,7 +56,6 @@ "eslint-plugin-prettier": "^3.1.2", "jest": "^26.0.1", "prettier": "^2.0.5", - "rimraf": "^3.0.2", "typescript": "^4.1.3" } } diff --git a/yarn.lock b/yarn.lock index eb964ae..65cc5b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5592,7 +5592,6 @@ __metadata: eslint-plugin-prettier: ^3.1.2 jest: ^26.0.1 prettier: ^2.0.5 - rimraf: ^3.0.2 typescript: ^4.1.3 bin: packwatch: ./dist/cli.js -- 2.45.2 From f6ea746d2c61b39b43c2e801eb817ad3b12bbe91 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Fri, 19 Mar 2021 17:13:23 -0400 Subject: [PATCH 2/2] docs: unused badge --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 4fce90d..1661d74 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ [![codecov](https://codecov.io/gh/mcataford/packwatch/branch/master/graph/badge.svg)](https://codecov.io/gh/mcataford/packwatch) ![packwatch CI](https://github.com/mcataford/packwatch/workflows/packwatch%20CI/badge.svg) -[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) ## Overview -- 2.45.2