Skip to content

Commit

Permalink
Merge pull request #148 from nrabinowitz/fail-publish
Browse files Browse the repository at this point in the history
Fix: Fail pre-publish script if there are uncommitted changes
  • Loading branch information
nrabinowitz authored Aug 11, 2022
2 parents 5adbab6 + 7ad8d16 commit 5b656e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
All notable changes to this project will be documented in this file. This library adheres to a versioning policy described in [the README](./README.md#versioning). The public API of this library consists of the functions exported in [h3core.js](./lib/h3core.js).

## [Unreleased]
### Fixed
- Fail package publish if there are library changes

## [4.0.0-rc2] - 2022-08-10
## [4.0.0-rc2] - 2022-08-11
### Added
- Added legacy API wrapper with Typescript types (#146)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"cover-view": "yarn rollup-test && nyc --clean --reporter=html node dist/test.js && open coverage/index.html",
"benchmark-node": "yarn rollup-benchmark-node && node dist/benchmark.node.js",
"benchmark-browser": "yarn rollup-benchmark-browser && budo dist/benchmark.browser.js --open --title 'h3-js benchmarks'",
"prepublishOnly": "yarn dist",
"prepublishOnly": "yarn dist && git diff --exit-code",
"prettier": "prettier --write --config .prettierrc 'lib/**/*.js' 'build/**/*.js' 'test/**/*.js'"
},
"browser": {
Expand Down

0 comments on commit 5b656e7

Please sign in to comment.