From a136f89589c3911f9c3f9ed85d2bd69fc81504e1 Mon Sep 17 00:00:00 2001 From: "Nate Hopkins (hopsoft)" Date: Sat, 7 Sep 2024 19:33:35 -0600 Subject: [PATCH] Version bump --- README.md | 5 +---- package-lock.json | 4 ++-- package.json | 5 ++--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d625298..2e7684c 100644 --- a/README.md +++ b/README.md @@ -207,16 +207,13 @@ Clone the repo and run the following. ```sh npm install -npm run format -npm run build npm run test ``` ## Releasing 1. Run `npm update` to pick up the latest dependencies -1. Update the version at `package.json` - pre-release versions use `-preN` -1. Run `npm run format` +1. Update the version at `package.json` and `src/version.js` - pre-release versions use `-preN` 1. Run `npm run build` 1. Commit and push any changes to GitHub 1. Run `npm publish --access public` diff --git a/package-lock.json b/package-lock.json index 12d2c7b..452cef3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "debounced", - "version": "1.0.0", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "debounced", - "version": "1.0.0", + "version": "1.0.2", "license": "MIT", "devDependencies": { "esbuild": "^0.23.1", diff --git a/package.json b/package.json index 0434191..54b94f8 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,13 @@ { "name": "debounced", - "version": "1.0.1", + "version": "1.0.2", "description": "Debounced versions of standard high frequency DOM events", "main": "src/index.js", "repository": "https://github.com/hopsoft/debounced", "author": "Nate Hopkins (hopsoft) ", "license": "MIT", "scripts": { - "build": "esbuild src/index.js --bundle --format=esm --target=es2020,chrome79,edge44,firefox71,opera65,safari13 --outfile=dist/debounced.js", - "check": "prettier --check ./src", + "build": "npm run format && esbuild src/index.js --bundle --format=esm --target=es2020,chrome79,edge44,firefox71,opera65,safari13 --outfile=dist/debounced.js", "format": "prettier --write ./src", "test": "npm run format && npm run build && http-server -c-1 -o test/index.html" },