From 637dd927665dbd01848e893c51cff9f7f042df95 Mon Sep 17 00:00:00 2001 From: Sacha Weatherstone Date: Tue, 26 Dec 2023 22:07:59 +1000 Subject: [PATCH] rename package --- README.md | 8 ++++---- package.json | 9 +++------ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5ad777e..4c2bfbf 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Meshtastic.js -[![NPM](https://badgen.net/npm/v/@meshtastic/meshtasticjs)](https://www.npmjs.com/package/@meshtastic/meshtasticjs) -[![Downloads](https://badgen.net/npm/dt/@meshtastic/meshtasticjs)](https://www.npmjs.com/package/@meshtastic/meshtasticjs) +[![NPM](https://badgen.net/npm/v/@meshtastic/js)](https://www.npmjs.com/package/@meshtastic/js) +[![Downloads](https://badgen.net/npm/dt/@meshtastic/js)](https://www.npmjs.com/package/@meshtastic/js) [![CI](https://img.shields.io/github/actions/workflow/status/meshtastic/js/ci.yml?branch=master&label=actions&logo=github&color=yellow)](https://github.com/meshtastic/js/actions/workflows/ci.yml) [![CLA assistant](https://cla-assistant.io/readme/badge/meshtastic/meshtastic.js)](https://cla-assistant.io/meshtastic/meshtastic.js) [![Fiscal Contributors](https://opencollective.com/meshtastic/tiers/badge.svg?label=Fiscal%20Contributors&color=deeppink)](https://opencollective.com/meshtastic/) @@ -21,7 +21,7 @@ Meshtastic.js is a JavaScript library that provides an interface to [Meshtastic] ## Installation & Usage -The library is available from [NPM](https://www.npmjs.com/package/@meshtastic/meshtasticjs) and can be installed with: +The library is available from [NPM](https://www.npmjs.com/package/@meshtastic/js) and can be installed with: ```bash pnpm config set @buf:registry https://buf.build/gen/npm/v1 @@ -36,7 +36,7 @@ Alternatevly, create a `.npmrc` file with the following contents: Finally, install the package: ```bash -pnpm add @meshtastic/meshtasticjs +pnpm add @meshtastic/js ``` diff --git a/package.json b/package.json index 082fffc..bba4825 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@meshtastic/meshtasticjs", + "name": "@meshtastic/js", "version": "2.2.16-0", "description": "Browser library for interfacing with meshtastic devices", "license": "GPL-3.0-only", @@ -9,7 +9,7 @@ "generate:docs": "typedoc src/index.ts" }, "keywords": [ - "meshtastic bluetooth serial webserial webbluetooth ble http library meshtasticjs" + "meshtastic bluetooth serial webserial webbluetooth ble http library typescript javascript" ], "publishConfig": { "provenance": true @@ -23,10 +23,7 @@ "types": "./types/index.d.ts" } }, - "files": [ - "dist", - ".npmrc" - ], + "files": ["dist", ".npmrc"], "types": "dist/index.d.ts", "bugs": { "url": "https://github.com/meshtastic/js/issues"