Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed Sep 8, 2024
1 parent 1f1a42b commit a136f89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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) <natehop@gmail.com>",
"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"
},
Expand Down

0 comments on commit a136f89

Please sign in to comment.