From f0026722c0c8a08c04873d6845b1727bb28e2eb6 Mon Sep 17 00:00:00 2001 From: Subin Siby Date: Mon, 11 Sep 2023 18:21:38 +0530 Subject: [PATCH] Bump version, update README --- js/README.md | 21 +++++++++++---------- js/package.json | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/js/README.md b/js/README.md index 3854c09..add7213 100644 --- a/js/README.md +++ b/js/README.md @@ -46,29 +46,30 @@ new NeetoTimezoneSelector(document.getElementById("elementId"), { ``` ### ianaTimezoneToHumanReadble + ```js import { ianaTimezoneToHumanReadable } from "@neetohq/timezones"; ianaTimezoneToHumanReadable("Asia/Calcutta") // => Indian Standard Time ianaTimezoneToHumanReadable("America/New_York") // => Eastern Standard Time + +ianaTimezoneToHumanReadable("Europe/Berlin") // => Central Standard Time ``` ## Development ### Clone the repo -``` + +```bash git clone git@github.com:neetohq/neeto-timezones.git cd neeto-timezones/js +pnpm install +pnpm dev ``` -### Install the dependencies -```bash -pnpm i -``` +### Publishing to npm -### Run -Run the package using pnpm -```bash -pnpm run dev -``` +1. Bump `package.json` version +2. Commit and push +3. `pnpm build && pnpm publish` diff --git a/js/package.json b/js/package.json index 938c707..91a30ca 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "@neetohq/timezones", - "version": "0.2.0", + "version": "0.2.2", "license": "MIT", "exports": { ".": {