From 87d92c78f17d473ca0b7d504594df48ccc75cde5 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 29 Aug 2023 10:21:56 +0200 Subject: [PATCH] chore: update badges --- README.md | 29 ++++++++++++++++++++++++++--- package.json | 10 +++++----- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e618be5..64294f4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ -# pkg-name +# pkg-placeholder -[![NPM version](https://img.shields.io/npm/v/pkg-name?color=a1b858&label=)](https://www.npmjs.com/package/pkg-name) +[![npm version][npm-version-src]][npm-version-href] +[![npm downloads][npm-downloads-src]][npm-downloads-href] +[![bundle][bundle-src]][bundle-href] +[![JSDocs][jsdocs-src]][jsdocs-href] +[![License][license-src]][license-href] + +_description_ + +> **Note**: +> Replace `pkg-placeholder`, `_description_` and `antfu` globally to use this template. ## Sponsors @@ -12,4 +21,18 @@ ## License -[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu) +[MIT](./LICENSE) License © 2023-PRESENT [Anthony Fu](https://github.com/antfu) + + + + +[npm-version-src]: https://img.shields.io/npm/v/pkg-placeholder?style=flat&colorA=080f12&colorB=1fa669 +[npm-version-href]: https://npmjs.com/package/pkg-placeholder +[npm-downloads-src]: https://img.shields.io/npm/dm/pkg-placeholder?style=flat&colorA=080f12&colorB=1fa669 +[npm-downloads-href]: https://npmjs.com/package/pkg-placeholder +[bundle-src]: https://img.shields.io/bundlephobia/minzip/pkg-placeholder?style=flat&colorA=080f12&colorB=1fa669&label=minzip +[bundle-href]: https://bundlephobia.com/result?p=pkg-placeholder +[license-src]: https://img.shields.io/github/license/antfu/pkg-placeholder.svg?style=flat&colorA=080f12&colorB=1fa669 +[license-href]: https://github.com/antfu/pkg-placeholder/blob/main/LICENSE +[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669 +[jsdocs-href]: https://www.jsdocs.io/package/pkg-placeholder diff --git a/package.json b/package.json index 0870a91..70329cc 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,18 @@ { - "name": "pkg-name", + "name": "pkg-placeholder", "type": "module", "version": "0.0.0", "packageManager": "pnpm@8.6.12", - "description": "", + "description": "_description_", "author": "Anthony Fu ", "license": "MIT", "funding": "https://github.com/sponsors/antfu", - "homepage": "https://github.com/antfu/pkg-name#readme", + "homepage": "https://github.com/antfu/pkg-placeholder#readme", "repository": { "type": "git", - "url": "git+https://github.com/antfu/pkg-name.git" + "url": "git+https://github.com/antfu/pkg-placeholder.git" }, - "bugs": "https://github.com/antfu/pkg-name/issues", + "bugs": "https://github.com/antfu/pkg-placeholder/issues", "keywords": [], "sideEffects": false, "exports": {