Skip to content

Commit

Permalink
Merge pull request #1 from soywod/develop
Browse files Browse the repository at this point in the history
Release v1.0.3
  • Loading branch information
soywod committed May 26, 2022
2 parents 86de4d8 + 5155528 commit 9e090f5
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 8 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,14 @@ jobs:
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
- name: Send coverage data
uses: codecov/codecov-action@v2
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

[unreleased]: https://github.com/soywod/react-use-bireducer/compare/612cd4c159e3b488ec148053e64f8e951e630ff7...HEAD
## [1.0.3] - 2022-05-26

### Fix

- Microbundle export names

## [1.0.2] - 2022-05-26

## [1.0.1] - 2022-05-26

## [1.0.0] - 2022-05-26

[unreleased]: https://github.com/soywod/react-use-bireducer/compare/v1.0.3...HEAD
[1.0.3]: https://github.com/soywod/react-use-bireducer/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/soywod/react-use-bireducer/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/soywod/react-use-bireducer/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/soywod/react-use-bireducer/releases/tag/v1.0.0
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🔀 React use bireducer [![tests](https://img.shields.io/github/workflow/status/soywod/react-use-bireducer/integration?label=tests&logo=github&style=flat-square)](https://github.com/soywod/react-use-bireducer/actions/workflows/test.yaml) [![codecov](https://img.shields.io/codecov/c/github/soywod/react-use-bireducer?logo=codecov&style=flat-square)](https://app.codecov.io/gh/soywod/react-use-bireducer) [![npm](https://img.shields.io/npm/v/react-use-bireducer?logo=npm&label=npm&color=success&style=flat-square)](https://www.npmjs.com/package/react-use-bireducer)

React hook for managing effects within reducers.
React hook for managing effects from reducers.

## Installation

Expand All @@ -26,8 +26,8 @@ declare function effectReducer(effect: Effect): EffectCleanup | void;
const [state, dispatch] = useBireducer(stateReducer, effectReducer, defaultState);
```

See a complete [live example on
CodeSandbox](https://codesandbox.io/s/react-use-bireducer-example-20n30w?file=/src/App.tsx).
See a complete example on
[CodeSandbox](https://codesandbox.io/s/react-use-bireducer-example-20n30w?file=/src/App.tsx).

## Development

Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
"name": "react-use-bireducer",
"author": "soywod <[email protected]>",
"description": "React hook for managing effects from reducers.",
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",
"source": "src/index.ts",
"exports": "dist/index.mjs",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"exports": {
"require": "dist/index.cjs",
"default": "dist/index.modern.js"
},
"main": "dist/index.cjs",
"module": "dist/index.module.js",
"unpkg": "dist/index.umd.js",
"typings": "dist/index.d.ts",
"files": [
Expand Down

0 comments on commit 9e090f5

Please sign in to comment.