From c4e64da6d4f6fe18cc0b259300c6dd8e4135d4ea Mon Sep 17 00:00:00 2001 From: Yousif Al-Raheem Date: Sat, 2 Nov 2024 12:55:38 +0100 Subject: [PATCH] chore: update husky and readme files --- .husky/commit-msg | 2 ++ .husky/pre-commit | 3 ++- README.md | 7 +++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 70bd3dd..71d43d3 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1 +1,3 @@ +#!/bin/bash + npx --no-install commitlint --edit "$1" diff --git a/.husky/pre-commit b/.husky/pre-commit index 4ec0be2..e215b5d 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,7 @@ +#!/bin/bash + npx eslint --fix . && npm run lint && echo "✅ eslint finished successfully" && npx prettier --write --ignore-unknown . && -npx prettier --check . && echo "✅ Prettier finished successfully" diff --git a/README.md b/README.md index 1e78612..c358522 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ [![Release](https://github.com/yousifalraheem/rollup-plugin-summary/actions/workflows/release.yml/badge.svg)](https://github.com/yousifalraheem/rollup-plugin-summary/actions/workflows/release.yml) # rollup-plugin-summary + A rollup plugin that summarizes the output of the build. Sample output @@ -27,6 +28,12 @@ npm i -D rollup-plugin-summary yarn add -D rollup-plugin-summary ``` +### pnpm + +```terminal +pnpm add -D rollup-plugin-summary +``` +
## Usage