Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 9e090f5

Browse files
authored
Merge pull request #1 from soywod/develop
Release v1.0.3
2 parents 86de4d8 + 5155528 commit 9e090f5

File tree

4 files changed

+36
-8
lines changed

4 files changed

+36
-8
lines changed

.github/workflows/delivery.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,14 @@ jobs:
2727
run: yarn publish --access public
2828
env:
2929
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
- name: Create release
31+
uses: actions/create-release@v1
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
with:
35+
tag_name: ${{ github.ref }}
36+
release_name: ${{ github.ref }}
37+
draft: false
38+
prerelease: false
3039
- name: Send coverage data
3140
uses: codecov/codecov-action@v2

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
[unreleased]: https://github.com/soywod/react-use-bireducer/compare/612cd4c159e3b488ec148053e64f8e951e630ff7...HEAD
10+
## [1.0.3] - 2022-05-26
11+
12+
### Fix
13+
14+
- Microbundle export names
15+
16+
## [1.0.2] - 2022-05-26
17+
18+
## [1.0.1] - 2022-05-26
19+
20+
## [1.0.0] - 2022-05-26
21+
22+
[unreleased]: https://github.com/soywod/react-use-bireducer/compare/v1.0.3...HEAD
23+
[1.0.3]: https://github.com/soywod/react-use-bireducer/compare/v1.0.2...v1.0.3
24+
[1.0.2]: https://github.com/soywod/react-use-bireducer/compare/v1.0.1...v1.0.2
25+
[1.0.1]: https://github.com/soywod/react-use-bireducer/compare/v1.0.0...v1.0.1
26+
[1.0.0]: https://github.com/soywod/react-use-bireducer/releases/tag/v1.0.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🔀 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)
22

3-
React hook for managing effects within reducers.
3+
React hook for managing effects from reducers.
44

55
## Installation
66

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

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

3232
## Development
3333

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
"name": "react-use-bireducer",
33
"author": "soywod <clement.douin@posteo.net>",
44
"description": "React hook for managing effects from reducers.",
5-
"version": "1.0.2",
5+
"version": "1.0.3",
66
"license": "MIT",
77
"source": "src/index.ts",
8-
"exports": "dist/index.mjs",
9-
"main": "dist/index.js",
10-
"module": "dist/index.esm.js",
8+
"exports": {
9+
"require": "dist/index.cjs",
10+
"default": "dist/index.modern.js"
11+
},
12+
"main": "dist/index.cjs",
13+
"module": "dist/index.module.js",
1114
"unpkg": "dist/index.umd.js",
1215
"typings": "dist/index.d.ts",
1316
"files": [

0 commit comments

Comments
 (0)