Skip to content

Commit

Permalink
Version Packages (#22)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @tnezdev/actions@0.3.1

### Patch Changes

-   b17bfb8: Add license (`Apache 2.0`)
-   f48413d: Re-enable edge-environment for unit tests in CI (closes #6)
-   9a7833e: fix: add missing type exports (closes #24)

    The documentation gives an example of doing something like this:

    ```ts
    import { createAction } from "@tnezdev/actions";
    import type { ActionHandler } from "@tnezdev/actions";

    type Conetxt = {};
    type Input = {};
    type Output = {};

    const handler: ActionHandler<Context, Input, Output> = () => {};
    ```

However, the `ActionHandler` type was not being exported before this
fix.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Jun 30, 2023
1 parent 9a7833e commit f266f72
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 31 deletions.
5 changes: 0 additions & 5 deletions .changeset/early-fans-play.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nasty-clouds-sort.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/polite-impalas-jam.md

This file was deleted.

23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @tnezdev/actions

## 0.3.1

### Patch Changes

- b17bfb8: Add license (`Apache 2.0`)
- f48413d: Re-enable edge-environment for unit tests in CI (closes #6)
- 9a7833e: fix: add missing type exports (closes #24)

The documentation gives an example of doing something like this:

```ts
import { createAction } from "@tnezdev/actions";
import type { ActionHandler } from "@tnezdev/actions";

type Conetxt = {};
type Input = {};
type Output = {};

const handler: ActionHandler<Context, Input, Output> = () => {};
```

However, the `ActionHandler` type was not being exported before this fix.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tnezdev/actions",
"version": "0.3.0",
"version": "0.3.1",
"description": "Patterns to express business logic using dependency injection for side-effects",
"repository": {
"type": "git",
Expand Down

0 comments on commit f266f72

Please sign in to comment.