Skip to content

Commit

Permalink
Merge pull request #4 from sor4chi/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
sor4chi authored Oct 13, 2023
2 parents 3bcfdce + 2c1096f commit 7e3f4ad
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 28 deletions.
26 changes: 0 additions & 26 deletions .changeset/honest-tools-shop.md

This file was deleted.

7 changes: 7 additions & 0 deletions examples/nodejs-disk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @hono-storage/node-disk-example

## 0.0.2

### Patch Changes

- Updated dependencies [[`da24913`](https://github.com/sor4chi/hono-storage/commit/da249130275d6a2c2827f17cdd1778bfb2fe34f9)]:
- @hono-storage/node-disk@0.0.2

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/nodejs-disk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hono-storage/node-disk-example",
"private": true,
"version": "0.0.1",
"version": "0.0.2",
"scripts": {
"start": "tsx src/index.ts"
},
Expand Down
27 changes: 27 additions & 0 deletions packages/node-disk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @hono-storage/node-disk

## 0.0.2

### Patch Changes

- [#3](https://github.com/sor4chi/hono-storage/pull/3) [`da24913`](https://github.com/sor4chi/hono-storage/commit/da249130275d6a2c2827f17cdd1778bfb2fe34f9) Thanks [@sor4chi](https://github.com/sor4chi)! - Support more dynamic dest path.
You can decide the dest path by the context and file.

## Before

```ts
const storage = new NodeDiskStorage({
dest: "/path/to/dest",
});
```

## After

Also support function.

```ts
const storage = new NodeDiskStorage({
dest: (c, file) => {
return "/path/to/dest";
},
});
```

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/node-disk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hono-storage/node-disk",
"version": "0.0.1",
"version": "0.0.2",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down

0 comments on commit 7e3f4ad

Please sign in to comment.