Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## 1.0.0 (2022-12-28)


### :package: Build

* **deps-dev:** Bump esbuild from 0.16.10 to 0.16.12 ([#1](https://github.com/flex-development/errnode/issues/1)) ([87b3a7f](https://github.com/flex-development/errnode/commit/87b3a7f199e25b643595b33831cef0acd1d8a294))


### :robot: Continuous Integration

* fix [@dependabot](https://github.com/dependabot) npm package-ecosystem x yarn integration ([552f7c6](https://github.com/flex-development/errnode/commit/552f7c67dd9d323ed06d299dca52200555581292))
* **workflows:** [`ci`] upload coverage report to codecov ([fae69dc](https://github.com/flex-development/errnode/commit/fae69dc1fe42df954adfe950ded7863a4c4e74e2))


### :pencil: Documentation

* "when should i use this?" ([c1341c1](https://github.com/flex-development/errnode/commit/c1341c14dd9c2443f17bf68a817b897aa5cad0e4))
* add "differences between node.js" to toc ([635587f](https://github.com/flex-development/errnode/commit/635587fc9af17d6f4e8566fb44ed728a1f167291))
* api ([8320cf1](https://github.com/flex-development/errnode/commit/8320cf1430e90961d5523be96a02ed392a2b625b))
* types ([a5e0903](https://github.com/flex-development/errnode/commit/a5e09031f41267d715968aacf275a555bc47c650))
* use ([e80e1c3](https://github.com/flex-development/errnode/commit/e80e1c3a188c54a54cdf142526b5c203e6902a70))


### :sparkles: Features

* `createNodeError` ([d82b2bf](https://github.com/flex-development/errnode/commit/d82b2bfa798c0e40f75e750c1dad9e36f1967b55))
* `determineSpecificType` ([8c83b4e](https://github.com/flex-development/errnode/commit/8c83b4ef19664d2be9daa2968921642088bd281f))
* **enums:** `ErrorCode` ([b3f705a](https://github.com/flex-development/errnode/commit/b3f705a817214494ac501999bf1af14d1517f4d7))
* **internal:** `formatMessage` ([9494c4c](https://github.com/flex-development/errnode/commit/9494c4cd6862f967e033fd90139736c9fa0351d1))
* **internal:** `kIsNodeError` ([18825fd](https://github.com/flex-development/errnode/commit/18825fdd1cfe15fa26fb239b8ffcbae2c27965a5))
* **internal:** `prepareStackTrace` ([e2ac0f9](https://github.com/flex-development/errnode/commit/e2ac0f93bf59df820c9e8bbc5bd1535e13131e9e))
* **types:** `MessageFn` ([139c893](https://github.com/flex-development/errnode/commit/139c893cea93aaf4c6f52df5d2fe3a631903c828))
* **types:** `NodeError` ([4926126](https://github.com/flex-development/errnode/commit/49261264b266cf1f67f18aded358ad616e22e8b7))
* **types:** `NodeErrorConstructor` ([de221cd](https://github.com/flex-development/errnode/commit/de221cdffdcddc49616f34aea05fe5934a4a3911))


### :house_with_garden: Housekeeping

* project qa ([5a96558](https://github.com/flex-development/errnode/commit/5a96558f0bfc78176173bc94ba08dd2dd8bca4e6))
* rename project ([a35292c](https://github.com/flex-development/errnode/commit/a35292ca22ce720b0751f346399565165a8e3d08))
* **github:** add commit scope `enums` ([b1b66e4](https://github.com/flex-development/errnode/commit/b1b66e46e66c5c8133dc60541b2d5e693ec4e97a))
* **github:** add label `scope:lib` ([1e78899](https://github.com/flex-development/errnode/commit/1e78899060e11ab339624952f63e8686d7c56b32))
* **pkg:** add keyword `nodejs` ([c66e156](https://github.com/flex-development/errnode/commit/c66e156a37b859897cc4ae0fb1b32b54daa31eab))
* **tests:** codecov integration ([3e52ba5](https://github.com/flex-development/errnode/commit/3e52ba59843d086d67d389f76686f68ceec31a7e))
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@flex-development/errnode",
"description": "Utilities for creating Node.js errors",
"version": "0.0.0",
"version": "1.0.0",
"keywords": [
"error",
"node",
Expand Down
16 changes: 7 additions & 9 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@

# 1. run tests
# 2. pack project
# 3. build docs
# 4. get new package version
# 5. get release branch name
# 6. switch to release branch
# 7. stage changes
# 8. commit changes
# 9. push release branch to origin
# 10. cleanup
# 3. get new package version
# 4. get release branch name
# 5. switch to release branch
# 6. stage changes
# 7. commit changes
# 8. push release branch to origin
# 9. cleanup

yarn test:cov
yarn pack -o %s-%v.tgz
yarn docs:build
VERSION=$(jq .version package.json -r)
RELEASE_BRANCH=release/$VERSION
git switch -c $RELEASE_BRANCH
Expand Down